What is Root complex?
The root of the PCI Express tree, connected to the CPU and memory, from which links fan out through switches to devices (endpoints).
Japanese name: ルートコンプレックス
The root of the PCI Express tree, connected to the CPU and memory, from which links fan out through switches to devices (endpoints).
Japanese name: ルートコンプレックス
In PCI Express, devices are connected in a tree. The root complex sits at the root and joins the CPU and memory side to the PCI Express side. When the CPU reads or writes a register in a device, the root complex turns the access into a PCI Express packet, sends it, and returns the reply to the CPU. In PCs and servers there is often one inside the CPU and another inside the chipset.
A root complex has several exits called root ports. Each root port connects directly to one endpoint, such as a graphics card or an SSD, or to a switch that provides more exits. A PCI Express link is point to point, so branching like this is how many devices are attached. At startup, software walks the tree from the root complex and assigns bus numbers and address ranges to the devices it finds.
The root complex receives interrupts (MSI) from devices in the tree and passes them to the CPU interrupt controller. It also collects reports of link errors and notifies the operating system, and it takes part in hot-plug notification and link power management. Traffic between two endpoints may go through a switch or may pass through the root complex.
Answer: C. From the root complex on the CPU side, devices (endpoints) connect directly or through switches in a tree of point-to-point links
Parallel PCI has several devices share one bus and compete for access. In PCI Express, the root complex, connected to the CPU and memory, is the root; switches branch out, and every link is a point-to-point connection between exactly two devices. Each link has its bandwidth to itself, so adding devices causes less contention, and signal quality is easier to maintain.
An endpoint is a device at a leaf of the tree, such as an SSD or a network card. A switch is a relay that fans one upstream port out into several downstream ports. The root complex is at the root of the tree and is the part that connects to the CPU side.
A device on a root port inside the CPU talks to the CPU directly. A device on the chipset side shares the link between the chipset and the CPU with other devices, so when many devices transfer at once, the bandwidth of that link becomes the limit.
As an Amazon Associate I earn from qualifying purchases.
This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.