Most motherboards only have one or two PCIe slots for graphics cards, but an AI computer may need four. PCIe bifurcation is a way to split a single x16 slot into several smaller lanes, allowing you to connect multiple graphics cards. Here we explain how it works, how to check that your motherboard supports it, and how to set it up step by step.
PCIe bifurcation splits a PCIe slot into several smaller lanes, for example, a x16 slot into four x4 lanes. With a bifurcation card, you can then connect up to four graphics cards via OCuLink in a single slot. This requires the motherboard to support bifurcation, which you enable in the BIOS.
What is PCIe bifurcation?
A PCIe slot consists of a number of lanes, for example 16 for a x16 slot. Bifurcation means that you split those lanes into several separate links. A x16 slot can, for example, be split as x8/x8, x8/x4/x4, or x4/x4/x4/x4. Each part can then be connected to its own device, for example a graphics card via OCuLink.
The split is done in the motherboard's BIOS. It is not done in the card itself, so the motherboard and processor must support it.
Why use bifurcation for multiple graphics cards?
A standard motherboard has few slots, and thick graphics cards take up several slots each. With bifurcation, a single slot can be enough for four graphics cards. Four cards with 24 GB of VRAM each provide 96 GB in total, which is enough for large language models. When you run models for local AI, performance is often less affected by bandwidth than by the amount of memory, so an x4 link per card often works well. Read more in our guide to local AI at home.
How do I know if my motherboard supports PCIe bifurcation?
- The manual: search for "bifurcation", "PCIe slot configuration", or "x4x4x4x4". The manufacturer's specification page sometimes mentions it.
- BIOS: look for a setting for the PCIe slot where you can choose the split. The names vary between manufacturers.
- Which slot: bifurcation normally applies to the slot that is connected directly to the processor, usually the top x16 slot. Slots that depend on the chipset rarely offer it.
- BIOS version: sometimes support comes in a newer version, so check for updates.
Support varies greatly between motherboards. Many motherboards handle x8/x8, but the x4/x4/x4/x4 split is not as common, so check before you buy.
Bifurcation cards and PCIe switch cards
A bifurcation card is a simple adapter that distributes the lanes from the slot to several ports. It only works if the motherboard does the split. A PCIe switch card has its own chip that distributes the traffic and works even when the motherboard lacks bifurcation, but they are more expensive. Our cards are bifurcation cards and therefore require support on the motherboard.
- PCIe x16 to 4 OCuLink ports: up to four devices via a x16 slot.
- PCIe x8 to 2 OCuLink ports: two devices via a x8 slot.
- Kit with four riser cards and 500 mm cables: splits a x16 slot into four connections with riser cards.
You can find them in the OCuLink & eGPU category.
How to set up multiple graphics cards with bifurcation
- Check the motherboard according to the points above.
- Turn off the computer, disconnect the power, and insert the bifurcation card into the slot that can be split.
- Set the split in the BIOS, for example x4/x4/x4/x4 for a card with four ports. Also enable "Above 4G Decoding" in the BIOS.
- Connect OCuLink cables from each port on the card to a riser card, and mount a graphics card on each riser card.
- Connect power to the graphics cards and riser cards. Plan the power supply unit's power for all cards together.
- Start the power supply units before the computer and then start the computer.
-
Check that all cards are visible. On Linux,
lspci | grep -i nvidiashows the card list, andnvidia-smishows the link speed and memory for each card.
Do you need help choosing parts? Use our cable guide.
How much performance do you lose with x4 per card?
A PCIe 4.0 x4 link provides approximately 8 GB/s in each direction, and PCIe 3.0 x4 approximately half. To run language models where the model's layers are distributed across the cards, relatively little data is moved between them, so the effect is often small. Loading the model takes slightly longer. Workflows that require a lot of communication between the cards, such as training or so-called tensor parallelism, notice the lower bandwidth more. Performance also depends on the software, so test with the one you plan to use.
Power, cooling and space
- Power: sum the power for all graphics cards and the rest of the computer, and count the power outlets. If you use more than one power supply unit, it is an advanced setup. Make sure they are started together and that they share grounding, and ask someone with experience if you are unsure.
- Cooling: cards that are close together get hot. The riser cables allow you to spread them out.
- Space: measure the distances. Our OCuLink cables are 0.5 m and the riser cables 20 or 30 cm, and the kit has 500 mm cables.
Troubleshooting
- Only one or a few cards are visible: check that the split in the BIOS is set correctly, that "Above 4G Decoding" is on, and that each cable is properly seated.
- No cards are visible at all: check that the motherboard really supports bifurcation on that specific slot, and that each riser card has power.
- Instability: check the power supply unit's power and try lowering the PCIe generation in the BIOS.
Frequently asked questions about PCIe bifurcation
How many graphics cards can I connect to a PCIe slot?
With a card that splits x16 into four x4 links, you can connect up to four graphics cards. With an x8 slot split in two, you can connect two.
Does bifurcation work on all motherboards?
No. It requires support in the motherboard's BIOS, and support varies between models. Check the manual before you buy.
Can I mix different graphics cards?
Often yes, especially when the program distributes the model's layers across the cards. Check support for the combination in the program you use.
Do I need bifurcation for two graphics cards?
Not always. Two cards can often sit directly in the motherboard's slots, possibly with a PCIe riser cable if they are thick.
Are you building a computer with multiple graphics cards?
We have bifurcation cards, OCuLink cables, and riser cards for setups with multiple graphics cards.