Question Question about PCIe versions and slots and lanes - please spoonfeed me.

boed

Senior member
Nov 19, 2009
532
11
81
Hello,

I still after years don't really understand pcie lanes and slots. I'm curious about how cards work when they need to share and there is a limit to how many lanes are available. While I know this will work, I'm curious about latency, lane switching, PCIe 3.0 in 5.0 slots - does it use less lanes etc.

if I build a new system and canablize some existing parts -
CPU I might go with the 9900x3D - 28 PCIe 5.0 lanes, with 24 usable lanes
Motherboard - ASUS ProArt X870E-CREATOR WiFi AMD two PCIe 5.0 x16 expansion slots and one PCIe 4.0 x16 expansion slot
GPU - RTX 3080 - 4.0 x16 perhaps going to a 5080 ti PCI-Express 5.0 x16 a year from now.
Boot Drive - Samsung nvme (not sure about pcie lanes for that)
Storage MegaRAID 9560-16i PCIe 4.0 x8
Intel X710 quad - PCIe 3.0 x8

I could pay more for a server type motherboard or I could go truenas and build a seperate box or get a amd gpu etc. etc. - this isn't really about switching out parts, OS, taste in music or anything political. I'd really like to learn about PCIe lanes.


THanks for your help, I'm sure I should understand this by now but I still haven't learned it yet.
 

Tech Junky

Diamond Member
Jan 27, 2022
3,825
1,342
106
So, the CPU and MOBO chipset dictate how many devices you'll be able to use. As it sits today you get 16x for the top slot + 4x for the first NVME. 20 lanes chews up quite a bit already and then you also have x4 going to the chipset devices. Now you're down to 4x.

It's now a game of planning on which card goes where and how high of a priority you place on its bandwidth. Most of he 870 boards now give us 3 slots to play with and should be sufficient for most of us. I just picked up a board with the intent of killing off a TBT card in the process by moving the ports to the USB4 on the IO backplate. Leaves me 3 slots.. GPU/X550/OTA card. If I need an extra slot I can pull the OTA card and use the external tuner instead.

It's all just a matter of math. The chipset is how you get around the cap but sacrifice full bandwidth for the additional devices.
 

kschendel

Senior member
Aug 1, 2018
289
222
116
I still after years don't really understand pcie lanes and slots. I'm curious about how cards work when they need to share and there is a limit to how many lanes are available. While I know this will work, I'm curious about latency, lane switching, PCIe 3.0 in 5.0 slots - does it use less lanes etc.
The answer to the last question is no. The maximum number of lanes that a PCIe card (or m.2 slot) actually uses is hardwired. Any PCIe card can run at a slower speed (PCIe version) than what the slots supply, but they can't go faster. Also, any card should be able to use fewer lanes than the card's hardwired maximum, but it can't use more. (So if you put an x16 GPU into a slot that's physically x16 but electrically x4, the card will work and use 4 lanes. If you put a card like an RX6400 that electrically uses 4 lanes into a slot wired for x16, the card still only uses 4 lanes.)

On the slot side of things, there are a couple ways that the mobo designer can go. The easiest is that the number of electrical lanes for each slot is fixed and hardwired. (As noted above, a slot can be larger physically than it is electrically.) A common variation is that if you have more devices attached than total lanes available, some slot(s) are disabled; an example would be slot #x is disabled if you put an NVMe drive into m.2 slot #y. (The choice of which slots are disabled by what is chosen by the motherboard designer and is hardwired in.) The second option is called bifurcation, whereby the board decides to share some lanes across slots instead of connecting them all to one slot. The usual setup is an x16 slot being reduced to x8 when another slot is populated, with the second slot also getting x8. The lane redistribution is fixed, in the sense that your options are x16+x0 or x8+x8, and nothing else; you generally can't ask for x8+x4+x2+x1 or some other arbitrary lane distribution.

There's actually a third option which I've never seen built in, which is a PCIe switch. A switch works sort of like the chipset (more precisely, the chipset will incorporate a PCIe switch as part of its capability). It generates new PCIe lanes out of thin air, with the caveat of course being that ultimately the total bandwidth available across all the new lanes isn't any more than the bandwidth going into the switch. You'll see switches on some multiple drive m.2 cards. A switch is a relatively expensive chip, so it's rarely or never seen on the motherboard itself outside of the one built into the chipset.

Does that help any?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |