Unit 12.3A · Term 3

Clock Speed, Word Length & Bus Width

Three key hardware factors determine how fast a CPU can process data: clock speed (how many cycles per second), word length (how many bits processed per operation), and bus width (how many bits transferred at once). Understanding these helps you evaluate hardware specifications and answer exam questions about system performance.

Learning Objectives

  • 12.3.2.6 Explain how the clock speed, word length, and bus width affect the performance

Lesson Presentation

12.3A-computer-performance.pdf · Slides for classroom use

Clock Speed

The clock speed (or clock rate) measures how many instruction cycles the CPU can perform per second. It is measured in Hertz (Hz).

Unit Value Typical Use
1 MHz 1 million cycles/second Old 1980s computers
1 GHz 1 billion cycles/second Basic modern processors
3.5 GHz 3.5 billion cycles/second Typical modern desktop CPU
5+ GHz 5+ billion cycles/second High-end gaming / overclocked CPUs

How It Affects Performance

  • Higher clock speed → more cycles per second → more instructions processed
  • Each tick of the clock triggers one step of the FDE cycle
  • Simple instructions may take 1 clock cycle; complex ones may take multiple cycles

Clock Speed ≠ Everything

A 3 GHz CPU is NOT necessarily faster than a 2.5 GHz CPU. Other factors matter: number of cores, cache size, architecture (RISC vs CISC), pipeline depth. Clock speed is just one factor.

Word Length

The word length (or word size) is the number of bits that the CPU can process in a single operation. It determines the size of the CPU's registers and the amount of data processed per instruction.

Word Length Max Value (unsigned) Era / Example
8-bit 0 to 255 Early computers (ZX Spectrum, NES)
16-bit 0 to 65,535 Early PCs (Intel 8086, SNES)
32-bit 0 to ~4.29 billion Older desktops (until ~2010)
64-bit 0 to ~18.4 quintillion All modern PCs and smartphones

How It Affects Performance

  • Larger word → more data processed per instruction → fewer cycles needed
  • A 64-bit CPU can add two 64-bit numbers in one operation; an 8-bit CPU would need multiple operations
  • Larger word length = larger registers = can handle bigger numbers directly
  • Affects maximum addressable memory (32-bit → 4 GB max, 64-bit → 16 exabytes)

Bus Width

The bus width is the number of parallel wires in a bus, determining how many bits can be transferred simultaneously. Both address bus width and data bus width affect performance.

Bus Type Width Affects Example
Data bus width Amount of data transferred per cycle 64-bit data bus → 8 bytes per transfer
Address bus width Maximum addressable memory 32-bit → 2³² = 4 GB addresses

How It Affects Performance

  • Wider data bus → more data per transfer → fewer transfers needed → faster data movement
  • Wider address bus → can access more memory → supports larger programs and data sets
  • Think of bus width as the number of traffic lanes on a highway — more lanes = more throughput

Summary Comparison

Factor Measured In Higher Value Means Limitation
Clock speed GHz More cycles per second Heat generation, power consumption
Word length Bits (8, 16, 32, 64) More data processed per operation Software must support it
Bus width Bits More data transferred at once All components must match

Worked Example: Comparing Two Systems

System A: 2.0 GHz, 32-bit word, 32-bit data bus System B: 3.5 GHz, 64-bit word, 64-bit data bus System B is faster because: 1. Clock speed: 3.5 GHz vs 2.0 GHz → 75% more cycles per second 2. Word length: 64-bit vs 32-bit → processes twice the data per instruction 3. Bus width: 64-bit vs 32-bit → transfers twice the data per cycle 4. Memory: 64-bit addressing supports far more RAM than 32-bit (4 GB limit)

Other Performance Factors

While clock speed, word length, and bus width are the three factors in the LO, other factors also affect performance:

Factor Effect
Number of cores Multiple cores process multiple instructions simultaneously (parallelism)
Cache memory Small, ultra-fast memory inside CPU — reduces memory access time
RAM size More RAM = more programs/data held in memory (less disk swapping)
Architecture (RISC/CISC) RISC can execute more instructions per clock cycle
Pipelining Overlapping FDE stages for different instructions → improved throughput

Pitfalls & Common Errors

Assuming Clock Speed Alone Determines Speed

Students often say "faster GHz = faster computer." This is not always true. A 3 GHz RISC CPU may outperform a 4 GHz CISC CPU due to architecture differences, number of cores, and cache.

Mixing Up Word Length and Bus Width

Word length = how many bits the CPU processes per operation (inside the CPU). Bus width = how many bits travel between components per transfer (outside the CPU). They are related but not the same.

Pro-Tips for Exams

Structuring Performance Answers

  • When asked "how does X affect performance" — always state: what X is → what increasing it does → why that improves performance
  • Use specific numbers: "A 64-bit data bus transfers 8 bytes per cycle vs 4 bytes for 32-bit"
  • If asked to compare two systems — compare each factor individually, then give an overall conclusion
  • Mention trade-offs: higher clock speed → more heat → needs better cooling

Graded Tasks

Remember

Define: clock speed, word length, bus width. State the unit of measurement for each.

Understand

Explain why doubling the clock speed does not always double the computer's overall performance.

Apply

A school is choosing between two computers. System A: 3.2 GHz, 32-bit. System B: 2.8 GHz, 64-bit. Which would you recommend for video editing? Justify your answer.

Analyze

Explain how the data bus width and the word length are related. Can a system have a wider data bus than its word length? What would be the implications?

Self-Check Quiz

1. What is clock speed measured in?
Click to reveal: Hertz (Hz), typically GHz (gigahertz) for modern CPUs.
2. A 32-bit word processor needs to add two 64-bit numbers. What happens?
Click to reveal: It must split the operation into at least 2 operations, each processing 32 bits. This takes more clock cycles and is slower than a 64-bit CPU.
3. How does data bus width affect performance?
Click to reveal: A wider data bus transfers more bits per cycle, reducing the number of transfers needed and increasing speed.
4. What limits a 32-bit system to 4 GB of RAM?
Click to reveal: The 32-bit address bus can address 2³² = 4,294,967,296 bytes = 4 GB maximum.
5. Name 2 other factors (besides the 3 covered) that affect CPU performance.
Click to reveal: Number of cores, cache size, architecture (RISC/CISC), pipelining, RAM amount.