GCSE · Computer Science · Eduqas · Spec C500QS
CPU performance: cache size and levels
Same item, two requests. One comes back almost instantly; the other leaves the processor drumming its fingers. Only where the item was stored changed.
Computer Science · Cache lookup
Where does the processor find the item?
At each step, is the item in this level? Pick an answer and follow the route to its end.
Check L1 → Check L2 → Check L3
4 possible routes.
Same request, different luck. Decide where the item is being held and watch how the search ends.
Cache size
Reason it through
Why can a larger cache make a processor perform better?
First link · your turn
Start with what a cache does. What does making it larger let it do?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
How the size of the cache and its levels change how long the processor has to wait
What you need to know
- Cache is a small amount of very fast memory on or very close to the processor.
- It holds copies of data and instructions the processor is likely to need again.
- The processor checks the cache first. If the item is there, that's a cache hit and it's fetched quickly.
- If it isn't, that's a cache miss. The item must come from main memory (RAM), which is slower to access than cache.
Have a goMaya says: "A cache miss means the data's gone forever!" Where does the processor actually get the item from?
From main memory (RAM). It's slower, but the item isn't lost.
A miss only means the item wasn't in the cache, so the cost is waiting for a slower fetch, not losing the item.
- While it waits for main memory, the processor can't carry on, so fewer instructions are processed in a given time.
- A larger cache can hold more items, so more of what the processor needs is found there: more cache hits.
- More hits mean fewer slow fetches from main memory, less waiting, and so better processor performance.
Have a goFinish the chain: bigger cache, more hits, fewer ___ from main memory, less ___.
fewer slow fetches from main memory, less waiting
Each extra hit is one fetch from main memory that doesn't happen, so the processor spends less time waiting.
- Cache comes in levels, L1, L2 and L3. They differ in speed, capacity and closeness to the processor cores.
- The search goes L1, then L2, then L3. Only if the item is in none of them does it go to main memory.
Have a goAn item isn't in L1 or in L2. What does the processor do next?
It checks L3.
Main memory is the last stop, used only after every cache level has missed.
- Levels balance speed against capacity: small, fast L1 serves the most-needed items, and larger L2 and L3 catch many of the rest.
The big picture
Cache is a small amount of very fast memory on or very close to the processor. If the item is there (a cache hit) it's fetched quickly; if not (a cache miss) it comes from slower main memory and the processor waits. A larger cache means more hits and less waiting. Cache comes in levels: L1 is smallest and fastest, L3 is largest and slowest of the three, and the search runs L1, L2, L3, then main memory.
Key points
Worked example
Problem
A program asks for three items one after another. Item A is in L1. Item B is not in L1 but is in L2. Item C is in none of the cache levels. (a) Which item makes the processor wait longest? (b) An upgraded processor has a larger cache that also holds item C, in L3. What changes for item C?
⚠ Watch out
Thinking the biggest cache level must be the fastest. L3 holds the most but is the slowest cache level, while L1 is the smallest and fastest. Also, cache doesn't replace main memory: if an item is in none of the levels, it still comes from RAM.
Memory hook
Hit means stop searching. Miss means keep looking and wait. Across the cache, size and speed run opposite ways: L1 is smallest and fastest, L3 is largest and slowest.
Check yourself
Out loud, in 30 seconds: why is a cache question really about waiting? Name one change that cuts the waiting.
Flashcards
(13)What is cache?
Where does the processor look first when it needs an item?
What is a cache hit?
What is a cache miss?
Why does a cache miss hurt performance?
How does a larger cache improve performance?
What do L1, L2 and L3 have in common, and how do they differ?
Describe L1 cache.
Describe L2 cache.
Describe L3 cache.
Which store does the processor try last, and when?
Why have several cache levels instead of one?
L3 is the largest cache level. Is it the fastest?
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 postedMore Eduqas GCSE Computer Science topics
How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)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 16 November 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.