2.2.1. Motherboards, CPUs, and RAM
💡 First Principle: The motherboard's form factor, chipset, and sockets dictate which CPU and RAM modules are compatible, forming the foundational triad of a computer's performance.
Scenario: A user's computer is running slow when they have multiple applications open. You open it and find an older motherboard with a dual-core CPU and only 4GB of DDR3 RAM. You determine an upgrade is needed and must select a modern motherboard, CPU, and RAM combination that are all compatible and will provide a significant performance boost for multitasking.
These three components are inextricably linked.
- Motherboard:
- Form Factors: Determine the physical size, which sets the case size you need and how many expansion slots fit (ATX up to seven, microATX up to four, Mini-ITX one). Form factor does not decide the CPU brand, socket type or RAM generation; check those separately when matching a CPU and memory to a board. Common types are ATX (standard), microATX (smaller), and ITX (very small). Typical sizes: ATX is about 12 x 9.6 in and is the usual board for a mid-tower case; microATX is up to 9.6 x 9.6 in (compact); Mini-ITX is 6.7 x 6.7 in (small); E-ATX/EATX (extended) is larger than ATX and is used in workstations and servers.
- Connector Types: PCIe (for video cards, high-speed devices; the older PCI and AGP slots are obsolete and far slower), SATA (for drives), M.2 (for SSDs), power connectors (24-pin ATX main power plus a 4/8-pin CPU power socket), and various headers: the front-panel header takes the case's power/reset buttons and power/HDD LEDs, USB headers feed the case's front USB ports, and fan headers power fans. The rear I/O panel carries USB ports, audio jacks, the RJ-45 network port and video outputs, while SATA ports, DIMM slots and headers sit on the board itself.
- BIOS/UEFI: Firmware that initializes hardware during boot. UEFI is the modern replacement for BIOS, offering features like Secure Boot. Secure Boot is UEFI-only, whereas boot-device selection, the clock and setup passwords exist in legacy BIOS as well. Other common settings: Wake-on-LAN (a power setting that lets a network "magic packet" wake the PC) and supervisor/user passwords (security; a supervisor password guards firmware setup itself).
- Firmware Updates: To update ("flash") the BIOS/UEFI safely: identify the exact board model and current firmware version, download the matching file from the manufacturer and verify its checksum, put the system on a UPS (or a charged laptop battery) so power cannot drop mid-flash, run the vendor's flash utility, and confirm the new version in setup afterward.
- Boot Order, Virtualization, Secure Boot and TPM: Boot priority/order sets which device the firmware tries to boot from first; Intel VT-x / AMD-V are the CPU virtualization switches, which must be enabled before a hypervisor can run VMs; Secure Boot blocks untrusted (unsigned) bootloaders from starting; the TPM (Trusted Platform Module) is a security chip, enabled in setup, that stores encryption keys (for example for BitLocker drive encryption).
- CMOS Battery: A CR2032 coin-cell battery on the motherboard that maintains BIOS/UEFI settings and the system clock when the computer is powered off. If a system consistently loses its date/time or BIOS settings after shutdown, the CMOS battery likely needs replacement. To replace it: shut down, unplug the system, and discharge static with an ESD strap; locate the CR2032 coin cell and note its orientation; release the retention clip, remove the old cell, and seat the new one; then power on, enter BIOS/UEFI setup, and re-enter the correct date, time, and settings.
Visual: PCIe slots on a motherboard — x16 (longest, for GPUs), x1 (shortest, for NICs and expansion cards). These slots connect directly to the CPU via the PCIe bus.
![]()
Visual: CR2032 CMOS battery seated on a motherboard — maintains BIOS/UEFI settings when power is off. Replace if the system loses time or reverts settings on each boot.
- CPU (Central Processing Unit):
- Compatibility: Must match the motherboard's socket type (e.g., Intel's LGA sockets, AMD's PGA/LGA sockets). In an LGA (Land Grid Array) socket the pins are in the socket on the motherboard and the CPU has flat contact pads; in a PGA (Pin Grid Array) design the pins are on the CPU. The CPU drops in without force and a lever locks it (zero insertion force, ZIF); a small triangle on one corner of the CPU marks pin 1 and must line up with the matching triangle on the socket.
- Architecture: x86/x64 is the standard for most desktops/laptops. ARM is common in mobile devices and some newer laptops.
- Features: Core count, clock speed, and cache size determine performance.
- RAM (Random-Access Memory):
- Form Factors: DIMM (Dual In-line Memory Module) for desktops, SODIMM for laptops (MicroDIMM is a legacy ultracompact form); servers use ECC RDIMM (registered) modules.
- Characteristics: DDR (Double Data Rate) iterations (DDR3, DDR4, DDR5; DDR5 is the newest and fastest) are not backward-compatible: each generation's key notch sits in a different position, so a module from one generation physically will not seat in another generation's slot (a DDR4 stick will not fit a DDR3 slot). The label gives the speed: DDR4-3200 runs at 3200 MT/s and is sold as PC4-25600 (PC4 = DDR4; 25600 = peak MB/s), so a higher number means a faster module, while capacity (GB) and timing/latency (CAS) are separate specifications to compare when choosing RAM. ECC (Error-Correcting Code) RAM can detect and correct memory errors, used in servers and workstations but not typically in consumer PCs.
- Channel Configurations: Installing RAM in pairs or quads enables dual-channel or quad-channel mode for increased memory bandwidth (dual-channel roughly doubles theoretical bandwidth; it adds no capacity or error correction). Use matched modules in the color-coded slots the manual specifies, which on a four-slot board is usually every other slot (commonly slots 1 and 3, or 2 and 4, depending on how the board numbers them), not two adjacent slots.
- Installing DIMMs: Power off, unplug and wear an ESD strap; open the retention clips on the correct slots; align the notch with the slot key and press straight down until both clips snap; then power on and confirm the capacity and speed in UEFI.
- Video Memory: A dedicated graphics card carries its own GDDR memory (e.g., GDDR6), separate from the system's DDR; integrated graphics share system RAM.
- ESD: Memory and other components can be damaged by electrostatic discharge of 100 V or less, far below the roughly 3,000 V a person can feel, so always use an ESD strap or mat.
![]()
Visual: Desktop DIMM (top) vs Laptop SO-DIMM (bottom) - Note the size difference and notch positions that prevent incorrect installation
⚠️ Common Pitfall: Installing RAM modules in the wrong slots on the motherboard, preventing dual-channel mode from activating and thus limiting memory performance.
Key Trade-Offs:
- ECC RAM vs. Non-ECC RAM: ECC RAM provides higher reliability at a higher cost and is only supported by specific motherboards and CPUs (typically server-grade).
Reflection Question: When planning a PC build, why must you choose the motherboard and CPU together, and how does that choice then determine the type of RAM you can use?