Use this when PCIe bandwidth matters for storage devices and HBAs.
PCIe · Storage Interfaces
PCIe as a storage interface is the CPU-attached serial bus used by NVMe SSDs and HBAs. Bandwidth depends on generation and lane count, such as about 8 GB/s for a Gen4 x4 drive.
1. PCIe connects NVMe drives, HBAs and NICs.
2. Gen3 ≈ 1 GB/s per lane, Gen4 ≈ 2, Gen5 ≈ 4.
3. Check width/speed downgrade.
4. Avoid oversubscribed switches for many NVMe.
5. AER errors indicate hardware issues.
root complex → switches → endpoints
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
lspci -vv -s 01:00.0 | grep -E 'LnkCap|LnkSta'
LnkSta lower than LnkCap means the device runs below its capability (slot, riser or BIOS setting).
Step 2 Common mistakes Narrow the fault
- Cards in slots wired to the chipset, sharing lanes.
- Risers/cables limiting the link to Gen3.
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.
- Bandwidth depends on generation and lanes.
- Gen4 x4 gives about 8 GB/s.
- Shared or downgraded links limit throughput.
lspci -vv | grep -E 'LnkCap|LnkSta'— linkslspci -tv— treedmesg | grep -i -e aer -e pcie— errors
ReferenceHow it works1 section · depth on demand
How it works
PCIe connects devices to the CPU or chipset over lanes (×1, ×4, ×8, ×16). Each lane is a full-duplex serial link, and bandwidth roughly doubles with each generation. Link width and speed are negotiated at boot: a ×4 NVMe drive in a slot wired ×2, or a Gen4 drive behind a Gen3 riser, runs at the lower rate without any error.
ReferenceImportant terms & boundaries1 section · depth on demand
Bandwidth per lane
| Gen | Per lane | ×4 |
|---|---|---|
| 3.0 | ~1 GB/s | ~4 GB/s |
| 4.0 | ~2 GB/s | ~8 GB/s |
| 5.0 | ~4 GB/s | ~16 GB/s |
Check negotiated link with lspci -vv | grep LnkSta.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Interfaces → PCIe. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.t10.org/ · confidence 94%