badge icon

This article was automatically translated from the original Turkish version.

PCIe (Peripheral Component Interconnect Express)

Quote
Readings

In computer architecture, data bus systems are critical infrastructures that enable communication between the processor and peripheral devices. As traditional buses became inadequate in meeting growing demands for data volume and speed, there arose a need for faster, more reliable, and scalable solutions. In response to this need, PCI Express (PCIe) has become an indispensable building block in modern computing systems.


PCI Express (Peripheral Component Interconnect Express) is a serial communication protocol that enables high-speed, low-latency data transfer between a computer’s motherboard and connected hardware components such as graphics cards, SSDs, and network cards. As an evolutionary successor to the PCI standard, PCIe differs from parallel bus architectures by establishing point-to-point connections, allowing direct communication between devices without the need to share bandwidth.

PCIe Architecture

Lane Structure

Each PCIe connection consists of bidirectional serial data lines called “lanes”:

  • Each lane contains one transmit (Tx) and one receive (Rx) channel.
  • Configurations such as PCIe x1, x4, x8, and x16 indicate the number of lanes. For example, a PCIe x16 connection has 16 transmit and 16 receive lanes.

Each lane operates independently and is scalable. This allows bandwidth to scale directly with the number of lanes.

Switch Architecture

Unlike parallel buses that rely on a shared data pathway, PCIe uses a switch-based topology. This structure prevents data paths from interfering with each other and enables multiple simultaneous data flows.

Key Features of PCIe

Feature


Description

Seriel Transmission

Uses serial communication instead of parallel to achieve high-speed data transfer.


Differential Signaling

Provides stable signal transmission with high noise immunity.


Full Duplex

Simultaneous data transmission and reception are possible.


Layered Protocol Structure

Offers flexible protocol management through physical, data link, and transaction layers.


Hot Plug and Plug and Play

Devices can be inserted or removed while the system is running.


Real-Time Transfer

Enables high-speed data transfer with low latency.


PCIe Versions and Performance Comparison

Version

Year

Speed per Lane

Total Bidirectional Bandwidth for x16 Connection

PCIe 1.0

2003

2.5 GT/s (~250 MB/s)

4 GB/s

PCIe 2.0

2007

5.0 GT/s (~500 MB/s)

8 GB/s

PCIe 3.0

2010

8.0 GT/s (~985 MB/s)

15.75 GB/s

PCIe 4.0

2017

16 GT/s (~2 GB/s)

31.5 GB/s

PCIe 5.0

2019

32 GT/s (~4 GB/s)

63 GB/s

PCIe 6.0

2022 (planned)

64 GT/s (~8 GB/s)

128 GB/s

Note: GT/s stands for GigaTransfers per second and represents the physical data transfer rate. Actual bandwidth is reduced by encoding factors such as 128b/130b.

How PCIe Works

Layered Structure

PCIe is designed with a layered structure similar to the OSI model:

  • Physical Layer: Electrical connections, signal transmission, pin layout.
  • Data Link Layer: Packet headers, CRC, error detection.
  • Transaction Layer: Packaged data transfer, routing, and error correction.

Packet-Based Data Transfer

PCIe uses packet-based communication, similar to network protocols, instead of parallel data streams. This structure provides flexibility and makes the protocol platform-independent.

Advantages of PCIe

High Performance

  • Scalable bandwidth through multi-lane support
  • Low-latency, high-speed transmission
  • Elimination of signal synchronization issues found in parallel buses

Wide Compatibility

  • Backward compatibility: A PCIe 4.0 card can operate in a PCIe 3.0 slot (at reduced speed)
  • Compatibility with a wide range of devices including SSDs, GPUs, FPGAs, and NICs

Low Power Consumption

  • Energy consumption is optimized through efficient signaling techniques.
  • Power management technologies such as Dynamic Link Equalization have been added for PCIe 5.0 and later versions.

Applications of PCIe

Application

Description

Graphics Cards (GPU)

Graphics cards requiring high bandwidth are connected via PCIe x16 slots.

NVMe SSDs

PCIe 3.0/4.0-based offer read/write speeds 5–10 times higher than SATA.

Network Interface Cards (NIC)

10G/40G adapters provide high-speed connectivity in data centers.

FPGA/GPGPU Cards

High-performance accelerator cards for HPC, AI, and data processing applications connect via PCIe.

RAID Cards / HBA

Used for high-speed data transfer in storage systems.

Audio/Video Cards

Critical for professional media applications requiring real-time processing.


Comparison of PCIe with Alternative Technologies

Technology

Bandwidth

Latency

Use Cases

PCIe

Very high (64+ GB/s with x16)

Very low

General system bus

SATA III

6 Gbps (~600 MB/s)

Medium

Storage

USB 3.2 Gen2x2

20 Gbps

High

External devices

Thunderbolt 4

40 Gbps

Medium

External expansion

Ethernet (10G)

10 Gbps

Medium–High

Network connectivity

The Future of PCIe Technology

PCIe technology continues to evolve alongside emerging applications:

  • PCIe 6.0: Aims to reach 64 GT/s using PAM-4 signaling.
  • CXL (Compute Express Link): A new technology leveraging PCIe infrastructure to enable low-latency memory and processor sharing.
  • Next-generation GPUs and AI accelerators: Optimized for PCIe 5.0 and higher versions.

Bibliographies

Hennessy, J. L., & Patterson, D. A. (2011). *Computer Architecture: A Quantitative Approach* (5th ed.). Morgan Kaufmann.

Kovacs, P., & Boronkay, P. (2019). *PCI Express System Architecture*. Addison-Wesley.