Hardware

PCIe 3.0 x4: Speed, Bandwidth and What Uses It

PCIe 3.0 x4 is a four-lane PCI Express connection running at 8 GT/s per lane, which gives about 3.9 GB/s of usable bandwidth in each direction. It is the link that most PCIe 3.0 NVMe SSDs use, and it is also found on many M.2 and expansion-card slots.

PCIe 3.0 x4 speed at a glance

LinkLanesUsable bandwidth, each direction
PCIe 3.0 x11about 0.98 GB/s
PCIe 3.0 x22about 1.97 GB/s
PCIe 3.0 x44about 3.94 GB/s
PCIe 3.0 x88about 7.88 GB/s
PCIe 3.0 x1616about 15.75 GB/s

These figures are calculated, not measured. The arithmetic is in the next section, so you can check it yourself. Both directions can run at once, so a PCIe 3.0 x4 link can move about 3.9 GB/s in and about 3.9 GB/s out at the same moment.

How the 3.9 GB/s figure is calculated

PCI-SIG announced the PCIe 3.0 specification on November 19, 2010. Its data rate is 8 GT/s (gigatransfers per second) per lane, which doubled the bandwidth of PCIe 2.0. PCI-SIG describes a single lane as reaching nearly 1 GB/s in one direction, and an x16 link as approaching an aggregate of 32 GB/s. The aggregate counts both directions together, which is why the table above shows about 15.75 GB/s for one direction.

The "nearly" comes from line encoding. PCIe 3.0 switched from the 8b/10b scheme of earlier versions to 128b/130b, so only 2 of every 130 bits are overhead instead of 2 of every 10. The calculation for one lane:

8 GT/s x (128 / 130) = 7.877 Gbit/s
7.877 Gbit/s / 8 bits per byte = 0.985 GB/s per lane

x4:  4 x 0.985 = 3.94 GB/s
x16: 16 x 0.985 = 15.75 GB/s

Real transfers lose a further share to packet headers and protocol traffic, so a device never sees the full figure. Treat 3.9 GB/s as the ceiling for the link, not a promise for any drive or card.

What "x4" means

A PCIe link is built from lanes. Each lane is a pair of one-way connections, one for each direction. The "x4" says the link uses four lanes, and the "3.0" says how fast each lane is. The two are independent, which is why you will see "PCIe 3.0 x4" and "PCIe 4.0 x4" described as separate things: the second has the same four lanes at twice the per-lane rate. PCI-SIG announced PCIe 4.0 on October 25, 2017, with a 16 GT/s data rate. The comparison between generations is covered in PCIe 4.0 vs 5.0.

Slot size and lane count are not always the same. A physical x16 slot can be wired with only four lanes, and a device built for x4 can sit in a larger slot. The connector tells you how big the device can be, and the motherboard manual tells you how many lanes are actually connected.

What uses a PCIe 3.0 x4 link

  • NVMe SSDs. NVMe drives normally use four lanes. A drive built for PCIe 3.0 x4 can approach the 3.9 GB/s ceiling for sequential reads and writes, and this is the interface of most first and second generation NVMe drives. Even the cheapest of them is much faster than a SATA SSD or a hard drive; SSD vs HDD vs NVMe compares the three.
  • Newer SSDs in older slots. A PCIe 4.0 or 5.0 drive in a PCIe 3.0 x4 slot works, but its sequential speed is capped by the slot.
  • Expansion cards. Network adapters, storage controllers and capture cards often use x4. A 10 Gbit/s Ethernet port needs 1.25 GB/s, which fits in a PCIe 3.0 x4 link with plenty of room. A single PCIe 3.0 x1 lane (about 0.98 GB/s) would not carry it at full rate.
  • Graphics cards in a small slot. A graphics card runs in an x4 link if that is all the slot offers, with roughly a quarter of the bandwidth of an x16 slot of the same generation. For many workloads the card mostly uses its own video memory, so the loss can be modest, but it grows when the card runs short of memory and has to fetch data across the link.

Is PCIe 3.0 x4 fast enough?

It depends on what you move. The link is a ceiling on sequential speed: copying very large files, working with large video files from the drive, or loading large datasets. For starting the operating system, opening programs and loading most games, the work is mostly many small reads, and a fast drive on a PCIe 3.0 x4 link is rarely the limit.

The ceiling matters in one common case: you buy a PCIe 4.0 or 5.0 SSD for an older board. It still works, and it is still much faster than SATA, but you pay for speed the slot cannot deliver. Check the board before buying, or choose a drive that matches the slot. If you are unsure which board you have, see how to check your motherboard model.

Compatibility between PCIe generations

PCI-SIG states that PCIe 3.0 maintains backward compatibility with earlier versions, and its 8 GT/s signalling is compatible with products that support 2.5 and 5 GT/s. The same rule carries through later generations: the link runs at the highest generation that both ends support. In practice:

  • PCIe 3.0 x4 SSD in a PCIe 4.0 or 5.0 slot: works at PCIe 3.0 speed.
  • PCIe 4.0 x4 SSD in a PCIe 3.0 slot: works at PCIe 3.0 speed.
  • x4 device in an x16 slot: works, using four of the lanes.
  • x16 device in an x4-wired slot: works only if the slot is open-ended or the card physically fits, and then runs at x4.

How to check what link a device is using

On Linux, lspci can show the link a device supports and the link it negotiated. Select the device with -s (bus:device.function, in hexadecimal) and use -vv for the verbose output:

lspci | grep -i "non-volatile"
sudo lspci -vv -s 01:00.0 | grep -E "LnkCap:|LnkSta:"

Example output for an NVMe drive on a PCIe 3.0 x4 link (your numbers will differ):

LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
LnkSta: Speed 8GT/s, Width x4

LnkCap is what the device can do, and LnkSta is what it is doing now. Speed 8GT/s means PCIe 3.0, and Width x4 means four lanes. If LnkSta shows a lower speed or width than LnkCap, the slot, the cable or the lane sharing on the board is limiting the device. Some devices lower the link speed when idle to save power, so check while the device is busy.

Windows has no single built-in command that reports the negotiated PCIe generation and width for every device. The motherboard manual lists which M.2 and PCIe slots run at which generation and width, and the SSD or card maker's own utility may report the live link.

Lane sharing on motherboards

A motherboard has a limited number of lanes, and some slots share them. Filling a second M.2 slot can drop a neighbouring PCIe slot from x4 to x2, or disable SATA ports. Slots wired through the chipset also share one uplink to the processor, so two fast devices on the chipset can compete with each other. This is why the manual matters more than the slot's physical size. If a drive that should show Width x4 reports Width x2, look for a sharing note in the manual for the slot you used.

Frequently asked questions

How fast is PCIe 3.0 x4 in GB/s?
About 3.9 GB/s in each direction, calculated from 8 GT/s per lane across four lanes with 128b/130b encoding. Real drives and cards reach somewhat less because of protocol overhead, and the figure is for one direction only, since PCIe sends and receives at the same time.
Is PCIe 3.0 x4 enough for an NVMe SSD?
Yes, in the sense that it runs the drive. A PCIe 3.0 x4 link caps sequential transfers at about 3.9 GB/s, so a PCIe 4.0 or 5.0 drive in that slot works but cannot go faster than the slot allows. For booting and loading programs, the difference is usually small.
Can I put a PCIe 4.0 device in a PCIe 3.0 x4 slot?
Yes. PCIe is backward compatible, and the link settles on the highest generation that both the slot and the device support. The device works at PCIe 3.0 speed.
What is the difference between PCIe 3.0 x4 and x16?
Lane count. An x16 link has four times as many lanes as x4, so at PCIe 3.0 it offers about 15.8 GB/s each way against about 3.9 GB/s. The slot generation sets the speed of each lane; the width sets how many lanes share the work.

Sources