Sub topic 2
Cooling, RAM, Expansion, and Storage
Assume you know basic PC parts, units such as GB and MB/s, and ESD safety. This chapter focuses on selecting compatible cooling, memory, expansion cards, and storage.
Cooling the CPU
A heat sink is a metal block with fins that absorbs heat from the CPU. Thermal paste fills microscopic gaps between the CPU heat spreader and the heat sink. Without it, air gaps reduce heat transfer.
A fan moves air through the fins and out of the case. Check that the cooler supports the CPU socket and has a suitable thermal design power (TDP) rating. Liquid cooling uses a pump, water block, tubing, radiator, and fans. It can move heat efficiently, but it costs more and adds pump and leak failure points.
RAM Types and Form Factors
DDR means double data rate. DDR3, DDR4, and DDR5 are different generations with different electrical requirements and key positions. They are not interchangeable. A desktop DIMM is longer than a laptop SODIMM.
| Memory | Typical use | Important point |
|---|---|---|
| DDR3 | Older systems | Cannot operate in a DDR4 or DDR5 slot |
| DDR4 | Many current and older systems | Common desktop and laptop standard |
| DDR5 | Newer systems | Requires a DDR5-compatible board and CPU |
RAM Features
ECC memory detects and can correct some memory errors. It is common in servers and workstations, but the motherboard and CPU must support it. Dual channel uses two matched modules to increase memory bandwidth.
A rating such as DDR4-3200 means 3,200 million transfers per second. Timings, such as CL16, describe latency. Lower timings can reduce delay, but compare timings at the same speed.
def peak_bandwidth_mb_s(transfer_rate_mt_s, channels=1, bus_width_bytes=8):
return transfer_rate_mt_s * bus_width_bytes * channels
print(peak_bandwidth_mb_s(3200, channels=2)) # 51200 MB/sExpansion and Storage Connections
PCI Express (PCIe) connects graphics cards, network cards, and storage devices. A slot may use one, four, eight, or sixteen lanes: x1, x4, x8, or x16. More lanes provide more bandwidth, but the device and slot must support compatible generations. Legacy PCI is a shared parallel bus and is largely obsolete.
SATA connects hard drives, 2.5-inch SSDs, and optical drives. M.2 describes a small card form factor, not a protocol. An M.2 device may use SATA or NVMe. NVMe is a high-speed storage protocol that uses PCIe lanes.
Exercise
A laptop needs new memory and storage. What must you verify first?
Show answer
Verify that the memory is the correct DDR generation and SODIMM type, then verify that the M.2 drive uses a protocol and key supported by the laptop.