Factor 3: Cache Memory (L1, L2, L3)

Part of CPU Performance · Section 5 of 8

Key FactsUnit: 3.4 Computer SystemsGCSE

This key facts covers Factor 3: Cache Memory (L1, L2, L3) within CPU Performance for GCSE Computer Science. Revise CPU Performance in 3.4 Computer Systems for GCSE Computer Science with 15 exam-style questions and 12 flashcards. This topic appears regularly enough that it should still be part of a steady revision cycle. It is section 5 of 8 in this topic. Use this key facts to connect the idea to the wider topic before moving on to questions and flashcards.

Factor 3: Cache Memory (L1, L2, L3)

What It Is:

Cache is a small amount of very fast memory built directly into the CPU chip. It stores frequently-used data and instructions so the CPU doesn't have to wait for slower RAM.

Cache Levels:

  • L1 Cache: Smallest (32-128 KB per core), fastest, located closest to CPU cores. Separate for instructions and data.
  • L2 Cache: Medium (256 KB - 1 MB per core), slightly slower than L1, still very fast.
  • L3 Cache: Largest (4-64 MB shared across all cores), slowest cache level but still much faster than RAM.

How It Works:

  • When CPU needs data, it checks L1 first (fastest)
  • If not in L1, checks L2
  • If not in L2, checks L3
  • If not in any cache, fetches from RAM (slowest) - called a "cache miss"
  • Cache hit rate: % of time data is found in cache (higher is better)

How It Affects Performance:

  • More cache = fewer RAM accesses = faster performance
  • Cache is 50-100x faster than RAM!
  • Example: L1 cache access = ~4 clock cycles, RAM access = ~200 clock cycles
  • Larger cache means more data can be kept close to CPU

Practice questions for CPU Performance

What does clock speed measure in a CPU?

  • A. The amount of RAM installed in the computer
  • B. The number of instructions the CPU can process per second
  • C. The size of the CPU cache memory
  • D. The number of processor cores available
1 markfoundation

Describe three factors that affect CPU performance.

3 marksstandard

Quick recall flashcards

Three CPU performance factors?
Clock speed, cores, cache
What is clock speed measured in?
GHz (gigahertz) - billions of cycles per second

15 questions on CPU Performance — practise free

Instant marking, adaptive difficulty and spaced-repetition flashcards — all aligned to your exam board.

Start revising free →