II. Parts: Motherboard (system board, logic boards)
- Background
- Printed circuit board (PCB) typically made of fiberglass
- Embedded copper to transmit signals (via bus) between components
- To/From CPU, memory and I/O via control bus, address bus and data bus
- Slots for CPUs, Chipsets (north and south), CMOS/battery, power, memory, PCI expansion, output
- Often sold without processor, case or power supply
- Described form factor (e.g. ATX)
- Described with CPU slot (e.g. LGA 1150) and chipset (Intel Z97) to match CPU compatibility
- Described ports (e.g. USB 3), drive interface (e.g. SATA)
- Memory types (e.g. DDR3 and speeds)
- Motherboard form-factors
- Advanced Technology Extended (ATX) - Intel, standard, full-sized case motherboard since 1995
- Micro-ATX (small form factor, 6.75" square or 9.6" square) - same components/slots as ATX, in a smaller space
- Mini-ATX (very small form factor)
- Miscellaneous parts
- System clock
- Quartz crystal oscillator sets clock cycles per second (typically 3-4 GHz or 3-4 Billion cycles/second)
- Sets the timing of CPU, devices and memory instruction processing
- https://en.wikipedia.org/wiki/Clock_rate
- System clock
- Utilities: Windows (show BIOS and UEFI settings, as well as CPU)
- CPU-Z
- Piriform Speccy
III. Parts: Chipsets
- North Bridge (or Memory Controller Hub, MCH)
- High speed bus between processor, memory and PCI-Express graphics card
- Processor connects to north bridge chipset via the front-side bus
- Modern processors (e.g. Intel i7) include much of the north bridge functionality
- Intel i7 includes memory controller and PCIe connector
- https://en.wikipedia.org/wiki/Northbridge_(computing)
- South Bridge (or IO Controller Hub, ICH)
- Lower priority devices (e.g. input-output devices)
- Integrated graphics is typically connected to processor via south bridge
- https://en.wikipedia.org/wiki/Southbridge_(computing)
IV. Parts: Central Processing Unit (CPU)
- See Motherboard (above) for CPU-Z and other utilities to examine CPU
- Processor Slot
- Zero Insertion Force (ZIF)
- Old, fragile form where numerous tiny pins projected from underside of chip (Nightmare insertion)
- Used by AMD
- AMD sockets (e.g. AM3, AM3+, FM1, FM2) all have 900-950 contacts
- https://en.wikipedia.org/wiki/Zero_insertion_force
- Land Grid Array (LGA)
- Newer form where numerous flat contacts (gold-plated copper) on the chip underside, contact the socket's pins
- CPU enclosure pushes the chip against the socket to ensure adquate contact
- Used by Intel
- Intel socket types are named for number of individual contacts (e.g. LGA 1150 has 1150 contacts)
- Intel Chips with >1150 contacts incorporated integrated Northbridge (e.g. LGA 1366)
- Some high end chips have over 2000 contacts (e.g. LGA 2011 which allows for 6 core chips)
- https://en.wikipedia.org/wiki/Land_grid_array
- Zero Insertion Force (ZIF)
- Bus
- Internal Registers of CPU connect to memory via Bus
- Data is passed via a data bus and memory locations (reference for data location) are passed via address bus
- https://en.wikipedia.org/wiki/Bus_(computing)
- Cores
- Each processor core operates independently from other processors (twice as much work is done by 2 processors than 1)
- Hyperthreading can simulate additional cores (e.g. 2 per physical core)
- Each hyperthreaded core still runs serially through the physical core, so not as fast as an extra real physical core
- https://en.wikipedia.org/wiki/Multi-core_processor
- Cache
- Processor cores have shared cache (e.g. Intel L3 cache might be 2 MB)
- Each processor core typically has its own dedicated on-chip memory cache (e.g. Intel L1 and L2 cache)
- Intel L1 cache is fastest, low latency Static RAM, but only, e.g. 64 kb
- Intel L2 cache is not as fast as L1, but larger, e.g. 512 kb
- Clock Speed
- Number of instructions performed by CPU per second (typically 3-4 GHz or 3-4 Billion cycles/second)
- https://en.wikipedia.org/wiki/Clock_rate
- Virtualization (Intel VT-X, AMD-V)
- Processor instructions allow system to create a virtual machine (e.g. VMware) in software as if it existed in hardware
- Must be enabled via UEFI
- https://en.wikipedia.org/wiki/Virtualization
- Architecture
- CPU 32 bit
- Addresses up to 4 Billion RAM addresses (4 GB = 2^32 bits)
- https://en.wikipedia.org/wiki/32-bit
- CPU 64 bit
- Addresses up to 18 Quintillion RAM addresses (16 Exbibytes = 2^64 bits)
- https://en.wikipedia.org/wiki/64-bit_computing
- CPU 32 bit
- Chip functionality
- High end chips incorporate more functionality (e.g. Intel Haswell includes 4 cores and graphics processor on the CPU)
- NX Bit (No Execute bit) or XD Bit (Intel's Execute Disable) or XN Bit (Arm's Execute Never)
- Security feature on come modern CPUs that mark certain memory areas for non-executables (e.g. storage)
- https://en.wikipedia.org/wiki/NX_bit
- Cooling
- Heat Sink and often a fan sit atop processor for cooling (may sit under a plastic shroud)
- Thermal paste applied top of CPU to allow for heat dissipation to heat sink and then fan
- Liquid-based cooling (often noisy) and controversial regarding benefit over standard sink and fan
- Should cool CPU, GPU and chipset
- CPU expose their Temperature data and can be visualized in UEFI, CPU-Z or dedicated utilities (e.g. Core Temp, SpeedFan)
- https://en.wikipedia.org/wiki/Computer_cooling#Spot_cooling
V. Parts: BIOS
- See Motherboard (above) for CPU-Z and other utilities to examine BIOS and UEFI
- Complimentary-Metal Oxide Semiconductor (CMOS)
- Electronically Erasable Programmable Read-Only Memory (EPROM) Chip
- Holds hardware settings and BIOS, and BIOS updates are flashed to this chip
- CMOS maintains a constant low power (even with system unplugged) via 2 button batteries (2032)
- When these batteries start to fail, system clock will lose time, and ultimately system settings are lost
- Basic Input/Output System (BIOS)
- Firmware installed on CMOS chip, with instructions for hardware initialization on system boot
- Includes, for example, disk boot priority and other I/O, over-clocking and virtualization
- Unified Extensible Firmware Interface (UEFI)
- Extends BIOS firmware on modern systems
- Overcomes BIOS limitations (64 bit processing, boots from disks >2 TB, GUI interfaces)
VI. Parts: Random Access Memory (RAM)
- Memory types
- Static RAM (SRAM)
- Very fast, expensive memory used as cache on processors (typically 2-6 MB)
- https://en.wikipedia.org/wiki/Static_random-access_memory
- Dynamic RAM (DRAM)
- Standard memory in modern PCs on DRAM modules that are inserted into the motherboard
- https://en.wikipedia.org/wiki/Dynamic_random-access_memory
- Static RAM (SRAM)
- DRAM Form
- Each DRAM module has multiple memory chips
- Dual inline memory module (DIMM) modules contain contacts on both sides of card to maximize pins
- DIMM is found on desktop computers, while SO-DIMM, Mini-DIMM and Micro-DIMM on smaller devices
- https://en.wikipedia.org/wiki/DIMM
- Memory may have heat spreader on back of module
- Single-sided SDRAM is one bank of memory that functions as a single unit (optimal)
- Single-sided is fastest, may actually have memory on both sides of module, and is all DIMM (dual pins)
- Double-sided SDRAM is two banks of memory and is slower than single-sided (parallel communication)
- DRAM Function
- Every BIT of memory stored on DRAM chip is physically represented by a capacitor and transistor
- Transistor acts as a gate, either allowing voltage to charge capacitor or not
- Capacitor holds either no charge (off=0) or 1.6 volts (on=1)
- https://en.wikipedia.org/wiki/Memory_cell_(binary)
- Periodically requires electrical pulse to refresh every 15 ms (charge capacitors)
- SDRAM is DRAM that has power refreshed synchronized with CPU cycles (standard memory type)
- https://en.wikipedia.org/wiki/Synchronous_dynamic_random-access_memory
- Error detection
- Parity checking has no error correction, so system may crash if error is detected
- On each memory chip, each byte (8 bits) uses one extra bit for error checking
- https://en.wikipedia.org/wiki/Parity_bit
- ECC RAM is error correcting and is used on servers (often combined with RDIMM - buffered RAM)
- Parity checking has no error correction, so system may crash if error is detected
- DDR memory makes 2 transfers of data per cycle
- DDR3 (240 pin) is the current norm as of 2016 (faster than DDR, DDR2)
- DDR4 is available on higher end systems
- https://en.wikipedia.org/wiki/Double_data_rate
- Channels
- Memory modules communicate via channels to northbridge and CPU
- Single channel configurations connect all memory modules (e.g. 4) as one unit to CPU (slower)
- Dual, Triple or Quad Channels connect memory modules via multiple channels to the CPU (faster, standard)
- DRAM module slots may be color coded to indicate which modules are on the same channel
- In a quad channel configuration, each bank of 4 memory rows, has its own channel
- https://en.wikipedia.org/wiki/Multi-channel_memory_architecture
- Buffered RAM (Registered RAM, RDIMM)
- Helps keep system stable, but more expensive, and typically limited to servers (often combined with ECC)
- https://en.wikipedia.org/wiki/Registered_memory
- Every BIT of memory stored on DRAM chip is physically represented by a capacitor and transistor
- DRAM Specifications
- Module transfer rate is data transfer rate per clock cycle (MB/s) and appears in module type (e.g. PC2700 is 2667 MB/s)
- Bus speed is transactions/sec (MT/s) and appears in chip type (e.g. DDR333 is 333 MT/s)
- Column Address Strobe (CAS) Latency is delay in cycles from CPU instruction to RAM data delivery (lower is better)
- Timing refers to 4 different RAM latencies (lower is better for each)
- https://en.wikipedia.org/wiki/DDR3_SDRAM
VII. Parts: Power Supply Unit (PSU)
- Form factors
- ATX form factor for power is standard for desktop computers
- Flex ATX form factor for power is standard for server (typically with quick release for more rapid replacement)
- Wall current (AC) and dual voltage
- Wall socket current AC 110-120 (North, Central and part of South America) or AC 220-240 (remainder of world)
- Wall current is converted to DC via power supply unit (desktop) or power brick (laptop)
- Confirm on power supply that unit can accept AC 110 or 220 (may require flipping switch on desktop)
- Most modern devices are dual voltage (110 or 220) and can use either (with converter)
- Power specifications (DC)
- Power (watts) = Volts * Amps
- Volts (v) at 3.3, 5 or 12 volts DC, is the pressure of the electricity
- Current (amps) is flow rate of electricity
- Confirm that power supply has adequate wattage to power machine
- Power calculators can determine power needed for processor, fans, graphics cards, sound cards, hard drives...
- http://outervision.com/power-supply-calculator
- Power supply unit (PSU) connectors
- Removable connector cables are ideal
- Connectors include 20/24 pin ATX cable to motherboard, SATA power cable, 6/8 pin PCIe power cable
- Some devices (e.g. fans, IO) are powered off the motherboard pin slots
- Power supply unit (PSU) rails (inside the PSU)
- Single rail has one internal bus shared among all power connectors
- If computer needs to power down a device due to a problem, it powers down entire system
- Multi rail
- Computer can isolate power to a single device (shutting down only that device, stability functionality)
- No performance benefit to Multi-rail over single-rail
- Single rail has one internal bus shared among all power connectors
- Installation, Diagnostics and Maintenance
- Power supply tester devices are available
- Failed power supply
- Do NOT open power supply (risk of Electrocution from high energy capacitors)
- Replace the entire power supply (typically straight forward if standard form factor, e.g. ATX)
- References
VIII. Parts: Peripheral Component Interconnect (PCI) Card Slots
- Serial PCI-Express or PCIe (newer, current standard)
- Colored slots (black, green, yellow..), most peripheral cards, esp. graphics cards
- Fastest slots from 250 MB at 1x (1 data lane) to 32 GB/s for 16x (16 data lanes)
- https://en.wikipedia.org/wiki/PCI_Express
- Older expansion cards
- Conventional, Parallel PCI (older)
- Older, gray slots, relatively slow, from 133 MB/s for 32 bit to 533 MB/s for 64 bit
- https://en.wikipedia.org/wiki/Conventional_PCI
- PCI-X (older, server)
- Older 64-Bit server slot transmitting at 1 GB/s, and replaced by newer PCI-Express slots
- https://en.wikipedia.org/wiki/PCI-X
- Accelerated Graphics Port or AGP (older, brown slots)
- Older graphics card slots that transmitted at up to 2 GB/s
- https://en.wikipedia.org/wiki/Accelerated_Graphics_Port
- Conventional, Parallel PCI (older)
- Riser Card
- Expansion cards that have slots for other PCI cards to be inserted in horizontal position (if vertical space is tight)
- Driver installation
- Vendor's driver is preferred over plug-and-play generic driver on the system
- May install, update drivers via device manager in windows (also available from computer management)
IX. Parts: Miscellaneous
- Storage
- Output devices
- Computer Display
- Computer Printer
- Speakers
- Input devices
- Mouse (desktop) or Trackpad (notebook)
- Keyboard
- Game pads (or joy sticks)
- Touch pads or Touch Screens
- Operate on small electrical conduction (capacitive), not pressure, via touch or stylus
- Scanners
- Bar code readers (or QR Code readers)
- Authentication devices
- Biometric devices (e.g. fingerprint readers)
- Smart code readers
- Motion Sensors
- Digital imaging (digital cameras, digital video, webcams)
- Audio (microphone, MIDI)
- GPS transmitter
- Network
- See Computer Network
- Wireless Connection Interface
- Wired Connection Interface
X. Approach: Configuration
- See Computer Network
- Manufacturers
- Original Equipment Manufacturer (OEM, e.g. HP, Dell)
- Do-It Yourself Custom built machines (White box)
- Home (or business) assembly of ala carte parts
- Special cases with unique hardware requirements
- Graphics or CAD workstations
- Audio Video Editing
- Gaming Machine
- Home theater
- Home Server
XI. Differential Diagnosis: System/Motherboard Problems
- Unexpected Shutdown
- Under-powered supply (PSU) for installed device requirements (e.g power supply overheating)
- Electrical short (consider nearby conductors such as screws)
- Disrupted power cord
- System Lockup or freeze
- Software CPU intensive activities
- RAM errors (esp. if non-compatible RAM is installed)
- Under-powered supply (PSU) for installed device requirements (e.g power supply overheating)
- Power On Self Test (POST) Errors
- If errors occur, system generates distinctive "code beeps" on start-up self-test (POST)
- Machine will halt start-up and not boot after emitting a specific number of beeps (OEM specific)
- Indicates a hardware issue based on number of beeps
- Example problems: BIOS, RAM, Motherboard, CMOS battery, Video card, CPU
- System indicator lights may also given additional information
- Repeated Re-booting before user can log-on
- Under-powered supply (PSU) for installed device requirements (e.g power supply overheating)
- Disconnected power supply unit cable to motherboard or device
- Device driver resource conflict (e.g. video card)
- No Power
- Confirm computer is plugged into a working electricity receptacle
- Power supply set to incorrect voltage (e.g. 110 instead of 220 or vice versa)
- Power only to one device (e.g. fans) but not to others
- Disconnected Molex connector to hard drives or other devices
- Disconnected motherboard power connector
- Smoke or burning smell
- Fire risk (unplug immediately)
- Power supply failure
- Capacitor failure
- Electrostatic component damage
- System overheating
- System Fan failure (check power to fans)
- Video card fan failure
- Inadequate ventilation
- Ventilation ports blocked
- Blow all dust from within computer case with compressed air
- Noisy Machine
- Noisy Mechanical Hard Drive
- Optical drive start-up (or optical disks may become stuck and prevent spinning)
- Liquid-cooled machines
- Loud, squeeky fan (consider removing from case, oiling and replacing)
- Blue Screen of Death (and other proprietary crash screens)
- Cause of failure is often dumped to screen (screen capture the error codes, e.g. take picture)
- Device driver conflict
- RAM memory incompatibility
XII. Differential Diagnosis: BIOS Problems
- BIOS Time/date falls behind, resets or prolongs Power On Self Test (POST)
- CMOS Battery Failure
- BIOS Misconfiguration (can reset to factory default)
- System Booting from incorrect device, will not boot or operating system not found
- BIOS boot order misconfigured
- Boot-up device left connected (e.g. USB or optical disk)
- Corrupted CMOS chip (requires a motherboard replacement)
- Management
- Correct UEFI/BIOS settings (or reset to factory default)
XIII. Differential Diagnosis: Peripheral Problems
- Intermittent device failure
- Unplug and re-plug the offending device into its port (e.g. USB)
- Check connected and adequate power supply
XIV. References
- Warner (2015) CompTIA A+, Pluralsight