Computer Hardware
Computer Hardware: Components, Building, and Upgrading
A computer's core components are the CPU, RAM, storage (HDD or SSD), motherboard, power supply, and for most systems a GPU. The motherboard connects them all. Understanding what each component does, how to read its specifications, and how components interact is fundamental to building, upgrading, and troubleshooting physical systems.
The CPU: the processor at the core of a computer
The Central Processing Unit executes program instructions. Modern CPUs have multiple cores, each capable of running a thread independently. Hyperthreading (Intel) and SMT (AMD) allow each physical core to handle two threads simultaneously by sharing execution resources, which improves utilization when one thread is waiting for memory. Clock speed (measured in GHz) indicates how many instruction cycles the CPU completes per second, but the efficiency of each cycle (IPC, instructions per clock) varies between architectures, so higher clock speed does not always mean higher performance.
CPU sockets are platform-specific: an Intel LGA1700 processor does not fit an AMD AM5 socket and vice versa. When choosing a CPU, the socket must match the motherboard. Thermal Design Power (TDP) describes how much heat the CPU generates under load, which determines what cooling solution is needed. For servers, CPUs are often sold in dual-socket configurations and support much larger memory capacities than consumer desktop parts.
RAM, storage, and the memory hierarchy
RAM (Random Access Memory) is fast, volatile storage that the CPU uses for active data and instructions. It is volatile because its contents are lost when power is removed. DDR4 and DDR5 are the current desktop standards; server platforms use ECC (Error-Correcting Code) RAM, which detects and corrects single-bit memory errors, improving reliability for long-running workloads. More RAM allows the OS to keep more data in memory rather than swapping to disk, which significantly improves performance under load.
Storage devices hold data persistently. Traditional Hard Disk Drives (HDDs) use spinning magnetic platters; they are slow for random access but offer high capacity at a low cost per gigabyte. Solid-State Drives (SSDs) use NAND flash memory with no moving parts, offering dramatically faster random access and lower latency. NVMe SSDs connect directly to the CPU via PCIe rather than through the SATA controller, providing significantly higher throughput than SATA SSDs. For most systems today, an NVMe SSD for the OS and applications with an HDD for bulk storage is the cost-effective combination.
Motherboards, expansion, and form factors
The motherboard is the main circuit board that connects all components. It includes the CPU socket, RAM slots, chipset, PCIe slots for expansion cards, SATA and M.2 ports for storage, and connections for front-panel buttons, fans, and USB ports. The chipset determines which CPUs and memory speeds are supported and how many PCIe lanes are available. Form factors (ATX, Micro-ATX, Mini-ITX) define the physical size of the board and how many expansion slots it has.
PCIe (Peripheral Component Interconnect Express) is the standard interface for expansion cards: graphics cards use PCIe x16, NVMe SSDs use PCIe x4, and network cards and sound cards typically use x1 or x4 slots. PCIe generations (3.0, 4.0, 5.0) double bandwidth with each generation. For workstations and servers, expansion slots allow adding specialized networking (10GbE cards), storage controllers (HBAs for external arrays), and compute accelerators (GPUs for machine learning).
Power supplies and system assembly
The power supply unit (PSU) converts AC mains power to the DC voltages the system needs: typically 12V, 5V, and 3.3V rails. The wattage rating indicates how much total power the PSU can deliver. Choosing a PSU with a wattage significantly higher than the system's actual draw leaves headroom and runs the unit more efficiently. 80 Plus certifications (Bronze, Gold, Platinum, Titanium) rate conversion efficiency; a Gold-rated PSU wastes less energy as heat than a Bronze-rated one. Modular PSUs allow unused cables to be disconnected, reducing clutter and improving airflow.
When building or upgrading a PC, the assembly order typically is: install the CPU in the motherboard, seat the RAM, mount the motherboard in the case, connect the power supply, install storage, seat any expansion cards, route cables, and connect fans. Anti-static precautions (grounding yourself before handling components) prevent electrostatic discharge from damaging sensitive parts. The BIOS or UEFI firmware runs before the OS and handles hardware initialization, boot device selection, and low-level hardware configuration.
Key concepts
- + CPU cores and threads: More cores run more tasks simultaneously; hyperthreading adds virtual threads but does not double raw compute.
- + RAM: Volatile working memory; DDR5 is the current standard, ECC is required for servers needing error correction.
- + SSD vs HDD: SSDs are dramatically faster for random access; HDDs offer more capacity per dollar for bulk storage.
- + NVMe: NVMe SSDs use PCIe lanes directly to the CPU, far outperforming SATA SSDs in throughput and latency.
- + Motherboard compatibility: CPU socket, RAM generation, and chipset must all match; verify before purchasing any component.
- + PSU sizing: Choose a wattage with headroom above your system's peak draw; look for 80 Plus Gold or better efficiency.
Frequently asked questions
How do I know if RAM is compatible with my motherboard?
What is thermal throttling?
What is the difference between BIOS and UEFI?
What does 'form factor' mean for computer cases and motherboards?
Related topics
Reserved for affiliate links to recommended technical books and study guides. Not yet wired.
Reserved for affiliate links to online learning platforms. Not yet wired.
Self-hosted newsletter signup. Not yet wired to an email provider.