How computers work

Server: a computer for the data center

A server is built from the same parts as a PC — processors, memory, drives, expansion cards — but it’s designed for something else: running for years without being switched off, surviving the failure of any replaceable part, and being managed remotely. Our 2U-high (8.9 cm) server sits in a data center rack and answers requests from the apartment. Let’s take it apart and follow what happens to a request inside.

Open in 3D →

How a server differs from a PC

The architecture is the same: the processor executes instructions, memory holds working data, drives hold persistent data, and everything is connected by PCIe buses. What differs are the priorities. A PC is optimized for one person: fast response, quietness, graphics. A server is optimized for thousands of clients at once: many cores, huge memory, a fast network, reliability and density.

Hence the characteristic features. There is no graphics card for a monitor (a basic video adapter is built into the BMC), no pretty case and no sound. Instead, there are two processor sockets, dozens of memory slots with error correction, hot-swappable drives and fans, two power supplies and a separate computer for remote management.

The chassis is standardized for a 19-inch rack: the width across the mounting “ears” is 48.26 cm, and the height is a multiple of the rack unit, 1U = 44.45 mm. A 1U server only fits small, noisy fans; 2U is a sensible compromise: large fans, more drives and room for accelerators.

Servers are hardly ever touched by hand. They are powered on, updated and reinstalled over the network; hands are needed only to replace failed parts — according to a ticket created by the monitoring system after receiving a signal from the server itself.

A server like this costs as much as a good car, and with four accelerators as much as several. So operators try to load it as densely as possible, most often with virtual machines and containers from many clients.

Chassis, air shroud and fans

Air flows strictly front to back. Cold air is drawn from the data center’s cold aisle through the grille in front of the drives, passes through a wall of six fans, and the air shroud guides it through the fins of the processor heatsinks and between the memory modules, then through the accelerators and power supplies, and it leaves hot into the hot aisle. The air heats up by 10–20 °C.

How much air is needed? A cubic meter of air heated by 1 °C carries away about 1.2 kJ. To remove 1 kW with a 12 °C temperature rise, about 250 m³ of air per hour must be pushed through the server. A 2 kW server needs 500 m³/h — like a kitchen range hood at full power, but through a slot 9 cm high. That’s why server fans are small but spin at 10–20 thousand revolutions per minute.

The lid and the plastic air shroud aren’t decoration. Without them the air would take the path of least resistance, bypassing the heatsinks, and a loaded server would overheat within minutes. For the same reason, empty drive bays and slots are closed with blanking panels.

The fans are installed with redundancy (N+1) and can be replaced while running: if one fails, the rest speed up and the BMC reports the fault. The BMC sets the fan speed based on temperature sensors. Fan power grows roughly as the cube of rotation speed, so excess RPM is a noticeable share of a server’s energy, and good fan control saves tens of watts per server.

The processor and accelerator heatsinks have no fans of their own: all the work is done by the airflow from the fan wall. This is more reliable — fewer moving parts — and allows larger, more efficient fans.

Board, processors and memory

A server board is designed for two processors. Server processors from 2024–2025 have 64–192 cores (AMD EPYC 9005 — up to 192 cores; Intel Xeon 6 — up to 128 performance cores or up to 288 efficiency cores), hundreds of megabytes of L3 cache, 8–12 DDR5 memory channels and about a hundred PCIe 5.0 lanes. Our model has two 96-core processors. Each consumes 300–500 W, so the heatsinks are massive: a copper base with a vapor chamber and dozens of thin fins.

Inside, a server processor is built like a PC processor, only bigger: most often it’s several chiplet dies with cores plus a separate I/O die in one package. Double-clicking the processor leads to the same levels as on the PC: CPU package → die → core → ALU → transistor.

The processors are connected to each other by several fast links (Infinity Fabric at AMD, UPI at Intel). Each one “owns” its half of the memory and reaches the neighbor’s memory over these links — roughly 50–100 ns slower. Such a system is called NUMA (non-uniform memory access), and good operating systems and programs try to keep data close to the core that processes it.

There is a lot of memory: 32 modules of 64 GB — 2 TB. That’s 2 processors × 8 channels × 2 modules per channel. One DDR5-5600 channel gives about 45 GB/s, 8 channels per processor about 360 GB/s, and 12-channel processors more than 500 GB/s. When a channel holds two modules, they share its bandwidth and the frequency has to be lowered slightly: capacity is bought at the cost of speed.

Server memory is registered (RDIMM) and has ECC. A register chip on the module repeats the address and command signals, offloading the processor’s bus — this lets more chips go on a channel. ECC stores extra check bits: 8 check bits for every 32 bits of data. The code corrects a single error on the fly and detects a double one. Advanced schemes (Chipkill, SDDC) survive even the failure of an entire memory chip.

Why this matters: bits in DRAM occasionally flip — from cosmic particles, wear, electrical noise. On a single PC this is rare, but across a fleet of tens of thousands of servers with terabytes of memory, correctable errors happen every day. Without ECC they would turn into silent data corruption.

NVMe drives

At the front are 24 2.5″ bays for NVMe drives (U.2 and U.3 form factors; E3.S in newer servers). Each is connected to the processor by four PCIe 4.0 or 5.0 lanes: 7–14 GB/s and hundreds of thousands or even millions of I/O operations per second per drive. 24 × 4 = 96 PCIe lanes — that’s why a server processor has so many of them.

A server drive holds from 4 to 30 TB, and QLC-based drives reached 61 and 122 TB in 2024–2025: 24 of them give petabytes in two rack units. Hard drives haven’t disappeared from data centers: a terabyte on them is several times cheaper, and they store cold data — archives, backups — in dedicated servers with 60–100 drives.

Any drive can be pulled out and replaced while running: the connector is designed for hot-plugging, and the bay’s LED shows exactly which one has failed. To make sure nothing is lost in the process, data is stored with redundancy: mirrored, with parity codes (RAID 5/6), or, in large cloud storage systems, with erasure codes spread across different servers and racks. For example, data is cut into 10 pieces and 4 check pieces are added: losing any 4 of the 14 is not a problem.

Server SSDs also have invisible differences from consumer ones: capacitors that, if power is lost, have enough time to write the data from the cache into flash; guaranteed endurance (how many times per day the entire capacity can be rewritten over 5 years); and stable latency under constant load, not just high peak speed. How flash memory works is covered on the “Storage” level.

Network card

An OCP NIC 3.0 network card plugs in at the back and provides two 100 Gbit/s ports to the rack switch — often to two different switches, so that the failure of one doesn’t cut the server off. The ports are connected with fiber or with direct-attach copper cables a couple of meters long.

100 Gbit/s is 12.5 GB per second, or about 8 million full-size 1500-byte packets: 120 nanoseconds for each one. If the processor handled every packet entirely by itself, that would take many cores. So the card does a lot on its own: it checks and computes checksums, cuts large blocks of data into packets when sending and merges received ones, and can encrypt traffic.

The card uses DMA to put a received packet straight into a ring buffer in RAM, without the processor’s involvement. To spread the load across cores, the card computes a hash of the packet’s addresses and ports and distributes connections across dozens of queues (RSS), each with its own core. Interrupts are coalesced: a core is signaled not about every packet but about a batch.

Clouds increasingly use “smart” cards — DPUs: they have their own processor with Arm cores that takes over the virtual network, encryption and access to remote disks. Then all the cores of the main processor can be given to clients. In clusters for training neural networks, each accelerator gets its own 400 Gbit/s network card, or even 800.

Accelerators for neural networks

At the back, on risers, are four compute accelerators of the NVIDIA H100 class in the PCIe version. Each has 80 GB of HBM memory: stacks of DRAM dies sit right next to the GPU die on a shared silicon interposer and are connected to it by thousands of lines. This gives about 2 TB/s — roughly four times more than all 12 DDR5 channels of the processor.

Inside the accelerator are more than a hundred streaming multiprocessors with tensor cores that multiply small matrices every clock cycle. In the 16-bit BF16 format, such an accelerator performs on the order of 750 trillion operations per second, and twice that in 8-bit formats. Training and running neural networks is almost entirely multiplication of huge matrices, so here the accelerator is dozens of times more efficient than a processor. How a GPU is built is covered on the “Graphics card” level.

Each accelerator consumes about 350 W; the four together use more than both processors. They are cooled passively: long heatsinks lie along the airflow, and the fan wall blows straight through them.

A server with four PCIe accelerators is the “entry” class. To train large models, servers with eight accelerators in the SXM form factor are used: 700 W each for the H100 and about 1000 W for the B200 with 192 GB of HBM3e memory and 8 TB/s. They are connected to each other by the NVLink bus (900 GB/s per accelerator on the H100), and the whole server consumes 10–14 kW. The newest systems combine 72 accelerators into a single 120 kW rack with liquid cooling.

Why memory matters so much: when generating text, every next word requires reading all the model’s weights. A 70-billion-parameter model in 16-bit format takes up 140 GB, and to produce 30 words per second for one user you need to read more than 4 TB/s. So the speed of neural networks is often limited not by computation but by memory bandwidth — and requests from many users are processed in batches, reading the weights once for all of them.

Power supplies

Two 1600–2000 W power supplies plug in at the back and can be swapped while running. Each is connected to its own data center power feed — “A” and “B” — coming from different UPSs. Each supply can power the server alone, and in normal operation they share the load half and half. The server won’t notice the failure of a supply, a cable, a feed or an entire UPS — this is 1+1 redundancy.

The supply converts 220–240 V AC into 12 V DC (in Open Compute racks, power is often delivered over a shared 48–54 V bus bar — lower current and losses). After that, just like in a PC, the VRM regulators on the board step 12 V down to about 1 V for the processor cores at currents of hundreds of amperes.

The efficiency of server power supplies is 94–96% (80 PLUS Platinum and Titanium classes). At data center scale every percent counts: with 10,000 servers at 1 kW each, one percent of losses is 100 kW of heat, which on top of that has to be removed by air conditioning.

Two supplies at half load operate in the zone of maximum efficiency. Servers with many accelerators have more supplies (2+2 or 3+1 schemes), and each one is more powerful — 3 kW and above.

BMC — remote management

The BMC (baseboard management controller) is a separate small computer right on the board: its own processor with Arm cores, its own memory and flash, its own network port and a basic video adapter. It is powered from the standby rail and runs all the time while the server is plugged into the mains — even when the server itself is off.

Through the BMC, an administrator anywhere in the world can power the server on or off or hard-reset it; see its screen and use its keyboard (KVM over the network); attach an installation disk image; read the temperature, fan speed and voltage sensors and the hardware error log; and update firmware. BMCs are managed via the IPMI and Redfish protocols, so thousands of servers are managed by programs, not by people by hand.

The BMC regulates the fan speeds, watches the power supplies and raises an alarm if a part fails. Through the monitoring system this becomes a ticket like “replace the memory module in slot B7” — with the exact rack and unit address.

The BMC is a super-privileged device: whoever controls it controls the server, regardless of the operating system. That’s why management ports are placed on a separate, isolated network and are never exposed to the internet.

A request’s path inside the server

The request packet from the apartment arrives over fiber at a network card port. The card checks the frame’s checksum, picks a queue based on the hash of addresses and ports, and writes the packet into memory via DMA. The processor core responsible for that queue receives an interrupt or, under heavy load, polls the queue itself regularly.

The OS network stack parses the IP and TCP headers, finds the connection and places the data into the socket buffer. The server program (for example, a web server) wakes up, reads the request and decrypts the TLS. If the response is already in RAM, it can be sent within tens of microseconds; if it has to be read from NVMe, about 100 µs is added; a query to a database on a neighboring server adds another tens to hundreds of microseconds.

The response goes back: the program writes data to the socket, the OS forms TCP segments, and the card cuts them into packets, computes checksums and sends them over the fiber to the rack switch. In the “Region” level model, 0.2 ms is budgeted for all of the server’s work — a typical time for a simple request to a well-tuned server.

Time scales: an L1 cache access takes about 1 ns, RAM about 100 ns, NVMe about 100 µs, a round trip to a neighboring server in the rack tens of microseconds, and to a server at the other end of the continent tens of milliseconds. The difference between the extremes is tens of millions of times, and good programs are built precisely around it.

One server, many clients: virtualization

A single website usually doesn’t need 192 cores and 2 TB of memory. So the server runs a hypervisor (for example, KVM in Linux), which divides it into dozens or hundreds of virtual machines. Each one sees “its own” computer — processors, memory, disks, a network card — although all of these are slices of shared hardware. Processors help the hypervisor in hardware: special modes for guest systems, nested memory page tables, virtual functions of network cards.

In the cloud, a “virtual processor” (vCPU) is usually one hardware thread, that is, half of a physical core with SMT. A server with 2 × 96 cores provides 384 vCPUs.

Containers are even lighter: processes with their own “view” of the file system and network but a shared OS kernel. They start in fractions of a second, and there can be hundreds of them on one server. Orchestration systems decide by themselves which server to run a container on, and restart it on another one if a server fails.

Hence the main principle of reliability in the cloud: any individual server may break at any moment, and that’s normal. Reliability comes from copies of the service on many servers in different racks and halls, not from the immortality of a single computer.

Common misconceptions

“A server is a special super-powerful computer.” It’s an ordinary computer based on the x86 or Arm architecture. A single core of a server processor is close in speed to a desktop core, and often even lags behind it in clock frequency. A server’s strength is in the number of cores, memory, I/O lanes and in reliability.

“Servers run in the cold.” The recommended inlet temperature is 18–27 °C — roughly room temperature, and air at 35–45 °C comes out the back. The warmer the air can be kept, the less energy goes into cooling, so data centers are gradually “warming up.”

“The cloud is somewhere on the internet.” The cloud is servers like this one in specific buildings, rented out in pieces. Every file in cloud storage physically lives in flash memory or on disk platters in several racks.

“If a server goes down, the site goes down.” In a well-designed service, the failure of one server goes unnoticed: within seconds the load balancer stops sending requests to it, and the data exists in other copies.

Open in 3D →

All articles

Overviews

Logic: from transistor to arithmetic

Processor

Computer

Servers and data centers

Networks and the internet

Software