Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

PCIe · NVMe

Direct answer

PCIe is the bus that connects NVMe drives directly to the CPU. Each lane provides about 1 GB/s on Gen3 and 2 GB/s on Gen4, and NVMe SSDs normally use x4 lanes.

When to use this

Use this when PCIe lanes and generation limit NVMe speed.

First 30 seconds

1. PCIe lanes and generation set NVMe bandwidth (Gen4 x4 ≈ 7.8 GB/s).

2. Check LnkSta matches LnkCap.

3. Bifurcation for multiple drives.

4. AER errors indicate signal problems.

5. Slot placement matters.

Operational verification

CPU/chipset → PCIe lanes → device

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Physical storage media and interfaces
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformPhysical storage media and interfaces
Scope / prerequisiteUse this when PCIe lanes and generation limit NVMe speed.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checking link speed Verify boundary
lspci -vv -s 01:00.0 | grep -E 'LnkCap|LnkSta'

LnkSta: Speed 16GT/s, Width x4 means PCIe 4.0 ×4. If it shows a lower speed or width than LnkCap, the drive sits in a slower slot, shares lanes, or has a riser/cable problem.

Step 2 Common mistakes Narrow the fault
  • NVMe drives in slots with fewer lanes than expected.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Gen4 x4 ≈ 8 GB/s.
  • Shared lanes reduce bandwidth.
  • Link may train at lower speed.
Key checks
  • lspci -vv -s <bdf> | grep -E 'LnkCap|LnkSta' — link capability vs status
  • lspci -tv — topology
  • dmesg | grep -i aer — PCIe errors
ReferenceHow it works1 section · depth on demand

Bandwidth per generation

PCIe genPer lanex4 (typical NVMe)
3.0~1 GB/s~3.9 GB/s
4.0~2 GB/s~7.9 GB/s
5.0~4 GB/s~15.8 GB/s

Check the negotiated link: lspci -vv -s <addr> | grep LnkSta (Linux). A drive at "Speed 8GT/s, Width x2" in a Gen4 x4 slot is limited by the slot or a shared lane (chipset, bifurcation settings).

ReferenceImportant terms & boundaries2 sections · depth on demand

Lane sharing

Desktop CPUs have limited PCIe lanes; extra M.2 slots often hang off the chipset, sharing one uplink (e.g. PCIe 4.0 ×4 ≈ 8 GB/s for all chipset devices). Servers with many NVMe drives may use PCIe switches or retimers. Check the motherboard manual for which slots are CPU-connected.

In depth

GenerationPer lane×4 slot (NVMe drive)×16 slot
PCIe 3.0~985 MB/s~3.9 GB/s~15.8 GB/s
PCIe 4.0~1.97 GB/s~7.9 GB/s~31.5 GB/s
PCIe 5.0~3.94 GB/s~15.8 GB/s~63 GB/s

A Gen4 drive in a Gen3 slot, or a ×4 drive running at ×2, caps throughput at half. Check the negotiated link, not the drive's spec: lspci -vv shows LnkCap (supported) and LnkSta (negotiated). Lanes may also be shared through a PCH or switch, so several drives behind one uplink share its bandwidth.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docPhysical storage media and interfaces current

Authoritative/upstream documentation reviewed for bounded claims in Physical Storage Media → NVMe → PCIe. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://nvmexpress.org/specifications/ · confidence 94%
Confirmation

Confirm action

Continue?