Skip to learning content

Learning Center

2.1 PCIe lanes, slots, and generations

Lesson

Practice lab

0 / 1solved

Saved on this device. Practice is ungraded.

Build and test

Install a high-throughput card without disconnecting the archive

A lab workstation needs an x4 M.2 NVMe drive providing ≥6 GB/s while retaining its SATA archive. The supplied drive fits M2_2 directly or a documented compatible PCIe carrier in the lower slot. The supplied rate is 2 GB/s per lane per direction before overhead. The lower physical x16 slot is electrical x2; M2_2 is x4 but disables SATA_3. Use these board-specific placement and sharing records.

One-direction capability before overhead—
Disabled-port conflicts—

Change choices to compare results, then check the requirements.

  • Provide at least 6 GB/s one direction
  • Keep the archive on an enabled port
Lesson notes

PCIe generation sets the per-lane rate; electrical width sets lane count. Physical slot length may differ.

Lane width and generation

A PCIe x16 slot has up to sixteen lanes, while many devices use x4, x1, or a smaller electrical connection than the physical slot suggests. Newer generations move more data per lane, but both ends must support the mode.

  • Graphics cards usually use the main x16 slot.
  • NVMe drives commonly use PCIe x4 through M.2.
  • Some slots are physically long but electrically wired with fewer lanes.

Shared lanes and disabled ports

Motherboard manuals often list tradeoffs. Installing one M.2 drive can disable a SATA port, reduce a slot lane count, or change how chipset lanes are allocated.

Worked example

Inputs: Supplied rate 2 GB/s per lane per direction before overhead; negotiated width x4.

Task: Compute directional bound and two assumptions.

Check the reasoning

2 × 4 = 8 GB/s one direction before overhead. Both ends support the rate; negotiated width really is x4.

Do not add send/receive for a one-way estimate. Shared uplinks/traffic also matter.

OpenDesk

Choose an Ubuntu desktop for coding and coursework, with compatible CPU and RAM options and 64 GB–1 TB of storage. Resource changes keep the selected Ubuntu version. Disks can grow but cannot shrink.

This optional workspace keeps this lesson open. Windows-specific instructions and physical hardware tasks may need another device. Course progress stays in the Learning Center.

Open OpenDesk in a new tab