Does PCIe 3.0 x4 Matter for LLM Inference?
When I added a second GPU to my local LLM rig, the only free slot on my motherboard was a PCIe 3.0 x4 slot wired through the chipset. My primary GPU (an RTX 5080) sits in a full-bandwidth slot. The second card (an RTX A4000) gets a fraction of that.
On paper, that's a big gap. In practice, for the way I run models, it barely matters. Here's why, and the numbers to back it up.
The bandwidth gap
Approximate one-direction bandwidth:
| Link | Bandwidth |
|---|---|
| PCIe 3.0 x4 | ~4 GB/s |
| PCIe 4.0 x16 | ~32 GB/s |
| PCIe 5.0 x16 | ~64 GB/s |
So the second card has something like a tenth (or less) of the bandwidth of the primary slot. If the GPU needed to constantly stream data over that link, this would be a disaster.
Why it mostly doesn't matter: layer split
I run models with a layer split. The model's layers are divided between the GPUs, and each GPU keeps its layers' weights in its own VRAM for the whole session.
During generation, the only thing that crosses the PCIe link per token is the activation passed from the last layer on GPU 0 to the first layer on GPU 1. That's a small vector (a few kilobytes to tens of kilobytes per token, depending on the model's hidden size), not gigabytes of weights.
Even 4 GB/s moves that in microseconds. The bottleneck stays where it usually is for LLM generation: each GPU's own memory bandwidth reading its weights.
Where it does matter
1. Model loading. Getting ~11 GB of weights onto the second card over a ~4 GB/s link takes longer than over x16. It's a one-time cost per load, and your disk is often the slower step anyway.
2. Prompt processing (prefill). Processing a long prompt pushes many tokens through at once, so more activation data crosses the link. Expect some penalty on very long prompts.
3. Tensor parallelism. If you split each layer across GPUs (tensor parallel, as some serving engines do), the GPUs exchange data many times per token. That's where a narrow link really hurts. For a home setup with a slow slot, stick to layer split.
4. Offloading to system RAM. If the model doesn't fit and layers run from system memory, PCIe bandwidth becomes critical. That's a reason to make sure the model fits fully in VRAM.
Qwen3.8-27B UD-Q6_K_XL benchmark
I ran llama.cpp 0.9.0-dev, build 12347 (c2cf5f983, Unsloth CUDA build) on Ubuntu 24.04.3 under WSL2. Under load, the RTX 5080 ran at PCIe 5.0 ×16 and the RTX A4000 at PCIe 3.0 ×4. The configured layer split was 45:55 in 5080/A4000 order. llama.cpp reported 66 of 66 layers offloaded to the GPUs.
| Test | Result |
|---|---|
| Model load time | 130.01 s with an empty Linux page cache, 6.19 s with the file cached |
| Prompt processing, short prompt: 128 tokens | 487.09 tok/s |
| Prompt processing, long prompt 8,192 tokens | 1,334.53 tok/s |
| Generation (tok/s) | 19.56 tok/s overall, 19.87 after the short prompt and 19.25 after the long prompt |
| Peak A4000 PCIe throughput during generation | 41 MB/s RX, 66 MB/s TX, 106 MB/s combined |
| Peak A4000 PCIe throughput during prompt processing | 81 MB/s RX, 96 MB/s TX, 177 MB/s combined |
Prompt and generation rates are averages of three trials per prompt length. Each trial generated 256 tokens with a 16,384-token context, Flash Attention, Q8_0 KV cache, and prompt caching and speculative decoding disabled. The cached load result averages two restarts. PCIe peaks come from one-second nvidia-smi dmon samples, with the combined peak taken from a single sample.
Same-model comparison with smaller Q2 weights
| Qwen3.8-27B UD-Q2_K_XL | 128-token prompt | 8,192-token prompt | Generation after short / long prompt |
|---|---|---|---|
| RTX 5080 alone | 917.62 tok/s | 1,874.23 tok/s | 66.12 / 63.27 tok/s |
| RTX 5080 + RTX A4000, 45:55 split | 499.07 tok/s | 1,291.92 tok/s | 36.75 / 34.38 tok/s |
Splitting the same Q2 model across both cards reduced generation throughput by 44–46% on these workloads.
How to measure this yourself
nvidia-smi -q | grep -A 3 "Link"shows the current and max PCIe generation and width for each card. Note the link may downclock at idle, so check under load.nvidia-smi dmon -s tshows live PCIe RX/TX throughput while generating.- Run the same prompt several times and average the results.
Conclusion
PCIe 3.0 ×4 was enough for layer-split inference on this setup. The RTX 5080 and RTX A4000 ran Qwen3.8-27B UD-Q6_K_XL at 19.56 tok/s with all 66 layers offloaded to the GPUs. The A4000’s PCIe traffic peaked at 106 MB/s during generation and 177 MB/s during prompt processing, measured in one-second samples.
A chipset ×4 slot is a practical way to add VRAM for a model that needs both cards. If the model already fits on the 5080, use that card alone for speed. The same Q2 model averaged 64.69 tok/s on the 5080 alone and 35.56 tok/s across both cards. For an ×4 slot, start with layer splitting and budget VRAM for the model and KV cache at your target context length. Treat tensor parallelism as a separate benchmark.
