GCSE · Computer Science · AQA · Spec 8525

CPU performance: cache size

The CPU can work faster than main memory can supply instructions and data. So what does it do while it waits? Let's follow one request.

Follow one request

Is it already in the cache?

Tap a branch to follow the request. One request takes exactly one route, so try them all.

Is it in the cache? → Is there room in the cache?

3 possible routes.

On The CPU asks for an instruction or a piece of data. 2 branches to choose from.

The CPU asks for an instruction or a piece of data. Walk each route and see where the request ends up.

Why does a CPU need cache at all?

Which idea is closest to yours?

Your computer's CPU has a cache. Someone asks you: why does it need one?

Pick the idea that's closest to what you think right now.
How sure are you?

Where cache fits

Four types of memory, one tricky label

Tick every box you think is true, then check. Watch the first column most closely.

RAM
ROM
Cache
Registers

Cache size

?

Reason it through

Why can a larger cache improve the performance of a CPU?

Link 1 of 4

First link · your turn

A larger cache has more space. What can it do with it?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

Now you write it

Explain it in your own words

Explain how increasing the size of the cache can affect the performance of the CPU. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Why a small, fast memory stops the CPU twiddling its thumbs, and why a bigger one can help.

What you need to know

  • The CPU can work faster than main memory can supply instructions and data.
  • Cache is a small, fast memory that holds frequently used instructions and data, so the CPU isn't kept waiting.
  • In the CPU, cache isn't where files or web pages are saved. That's the browser meaning of the word.
  • Have a goSam says: "Cache is where my files are saved so they open faster later." Which part of Sam's sentence is the problem, "files" or "faster"?

    "Files." The faster part is right, but CPU cache holds frequently used instructions and data.

    Sam is using the browser meaning of cache. In the CPU it isn't a place for saved files or pages.

  • Every request first asks one question: is it already in the cache?
  • If it is, the CPU reads it quickly from cache. If not, it's fetched from slower main memory and a copy is kept in cache.
  • If the cache is full, the copy replaces something already held there.
  • Have a goRequest A is found in the cache. Request B isn't. Which one makes the CPU wait longer, and why?

    B. It has to be fetched from main memory, which is slower than reading from the cache.

    The found-in-cache route never makes the trip to main memory, which is why it's the quick one.

  • The types of memory are RAM, ROM, cache and registers.
  • Main memory is RAM and ROM, so cache and registers are memory but not main memory.
  • Have a goHot take from a mate: "Registers are main memory, because they're memory." Fix the claim in one sentence.

    Registers are memory but not main memory. Main memory is RAM and ROM.

    Being a type of memory doesn't make something main memory. Cache and registers sit outside it.

  • A larger cache can hold more of what the CPU is using, so more requests are found in cache.
  • More requests found in cache means fewer waits for main memory, so the CPU spends less time waiting and performance can improve.

The big picture

Cache is a small, fast memory that holds frequently used instructions and data, so the CPU isn't kept waiting for slower main memory. Every request first asks: is it already in the cache? Cache is a type of memory, but it is not main memory. A larger cache can hold more of what the CPU is using, so more requests are found in cache, fewer wait for main memory, and CPU performance can improve.

Key points

1Cache is a small, fast memory that holds frequently used instructions and data.
2The CPU needs it because the CPU can work faster than main memory can supply instructions and data.
3Every request asks: is it already in the cache? If yes, it's read quickly. If no, it's fetched from slower main memory and a copy is kept in cache.
4Cache is a type of memory but not main memory. Main memory is RAM and ROM.
5A larger cache can hold more of what the CPU is using, so more requests are found in cache and fewer wait for main memory, which can improve performance.

Worked example

Problem

Imagine the same 10 requests are run on two CPUs that are identical except for cache size. CPU S (smaller cache) finds 6 of them in cache. CPU L (larger cache) finds 8. Which CPU has to go to main memory less often, and by how many requests? (These numbers are made up, just to show the idea.)

⚠ Watch out

Mixing up two meanings of 'cache'. In the CPU it isn't where files or web pages are saved. It's a small, fast memory for frequently used instructions and data. Also, don't call it main memory: that's RAM and ROM only.

🧠

Memory hook

Think of a desk drawer next to the CPU. The things it uses most are kept close, so it doesn't have to walk to the filing room (main memory) every time. Bigger drawer, more things close by, fewer walks.

✓

Check yourself

Say it out loud without looking: a request isn't found in the cache. Where does the data come from, what happens to a copy, and why is this route slower than the found-in-cache one?

Flashcards

(8)
Why does a CPU need cache?
The CPU can work faster than main memory can supply instructions and data. A small, faster memory holding the frequently used ones keeps it from waiting.
What does cache hold?
Frequently used instructions and data.
What question does the CPU ask first about every request?
Is it already in the cache?
A request is found in the cache. What happens?
The CPU reads it quickly from the cache.
A request is not found in the cache. What happens?
It is fetched from slower main memory and a copy is kept in the cache.
The cache is full and a copy needs adding. What happens?
The copy replaces something already held in the cache.
Which types of memory are covered here, and which of them are main memory?
RAM, ROM, cache and registers. Only RAM and ROM are main memory.
How can a larger cache affect CPU performance?
It can hold more of what the CPU is using, so more requests are found in cache, fewer wait for main memory, and performance can improve.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More AQA GCSE Computer Science topics

See the full AQA Computer Science curriculum →

How this lesson was checked. This AQA GCSE Computer Science (specification 8525)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 24 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.