Sub topic 10
Expansion slots: PCIe lanes and legacy PCI
This chapter assumes you know the parts of a motherboard and what a chipset does. It covers the slots you plug add-in cards into, how PCIe sizes and speeds work, and how to spot legacy PCI.
What an expansion slot does
An expansion slot is a connector on the motherboard that accepts an add-in card, such as a graphics card, network card, sound card, or storage controller. The slot links the card to the CPU or chipset over a bus.
PCI Express (PCIe)
PCIe is the current expansion bus. It uses point-to-point serial links called lanes. Each lane has one transmit pair and one receive pair of wires, so data moves in both directions at once. A slot is described by its lane count, written x1, x4, x8, or x16.
| Slot size | Lanes | Typical use |
|---|---|---|
| x1 | 1 | Sound card, Wi-Fi card, USB expansion card |
| x4 | 4 | NVMe adapter, capture card |
| x8 | 8 | RAID or server network card |
| x16 | 16 | Graphics card |
More lanes give more bandwidth. Each PCIe generation also roughly doubles the speed per lane. Approximate usable speed per lane, in each direction:
| Generation | Per lane | x16 total |
|---|---|---|
| PCIe 3.0 | about 1 GB/s | about 16 GB/s |
| PCIe 4.0 | about 2 GB/s | about 32 GB/s |
| PCIe 5.0 | about 4 GB/s | about 64 GB/s |
Cards and slots are backward and forward compatible. A x1 card fits and works in a x16 slot. A PCIe 4.0 card works in a PCIe 3.0 slot at the slower speed. Many boards also have slots that are physically x16 but wired for fewer lanes, such as x4. The wiring sets the real speed, so check the board manual.
The CPU supplies a fixed number of lanes. The chipset adds more, but they share one link back to the CPU. Filling every slot and M.2 socket can make some of them share lanes or run slower.
Legacy PCI
Conventional PCI is the older parallel bus. It is 32 bits wide and runs at 33 MHz, for a shared peak of 133 MB/s. All PCI devices share that one bus. Its slot is shorter than PCIe x16, usually white or cream, and has a single long section with a divider near one end. You mostly see it in older desktops and industrial systems.
PCI and PCIe cards are not interchangeable. The slots have different shapes and different electrical signaling.
Common errors
- Installing a card in a slot that is wired for fewer lanes than expected, then seeing lower performance.
- Forgetting the extra power cable. A slot supplies up to 75 W, and a powerful graphics card needs a 6-pin or 8-pin PCIe power connector from the power supply.
- Not seating the card fully, or leaving the slot's retention latch open.
- Trying to fit a PCI card into a PCIe slot.
Exercise
A graphics card is advertised as PCIe 4.0 x16. You install it in a PCIe 3.0 slot that is wired x8. What happens?
Show answer
The card works. The link negotiates down to PCIe 3.0 speed and x8 width, giving roughly 8 GB/s in each direction instead of 32 GB/s.