Cambridge IGCSE · Topic 3.1
IGCSE Computer Science 0478 / Topic 3 / IGCSE

What makes a CPU fast?

Two laptops can have very different speeds even with the same amount of RAM. Inside the processor, three things make the difference: how many cores it has, how much cache it has and how fast its clock ticks.

The key idea

A core is a complete processing unit that can fetch, decode and execute instructions; more cores mean more instructions can be processed at the same time. Cache is a small amount of very fast memory inside or next to the CPU that stores frequently used instructions and data; a bigger cache means fewer slow trips to RAM. The clock sends regular pulses that time each FDE cycle; a higher clock speed (measured in hertz, for example 3.5 GHz) means more cycles per second.

three things that change how fast a CPU works cores cache: fast RAM: slower cache clock more cores: moreinstructions at once bigger cache: fewerslow trips to RAM faster clock: morecycles per second
Fig. 1: cores, cache and clock speed each change how many instructions a CPU can process per second
Section 01

The clock.

In the lab, change the clock speed, the cache size and the number of cores, and watch how long the same set of tasks takes.

Examiner trap

Clock speed is not a measure of memory. 3.5 GHz describes how often the CPU's clock ticks, not how much it can store.

Section 02

Cache memory.

RAM is fast compared with a hard disk, but slow compared with the CPU. Cache is a small, very fast store that the CPU checks first.

Your turn
Why is cache not simply made big enough to replace RAM?
Stage 1 · Learn

Check what the sim just showed you

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

In the lab, what happens to the time for the same tasks when the clock speed goes up?

Quick check+10 XP

What is cache?

Quick check+10 XP

A CPU has a clock speed of 2.4 GHz. What does this mean?

Quick check+10 XP

Why might doubling the number of cores not double the performance?

Section 03

More cores.

A core is a processing unit with its own control unit, ALU and registers. A quad-core CPU has four of them on one chip.

Worked example Compare two CPUs
CPU A: 4 cores, 3.0 GHz, 8 MiB cache. CPU B: 2 cores, 3.0 GHz, 4 MiB cache. Which is likely to perform better, and why?
  1. The clock speeds are the same, so compare the other two factors.
  2. A has more cores, so it can process more instructions at the same time.
  3. A has a bigger cache, so it needs fewer slower fetches from RAM.
Answer: CPU A, because of its extra cores and larger cache
Examiner trap

Always say how the factor improves performance: "more cores, so more instructions can be processed at the same time", not just "more cores make it faster".

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Paper 1 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

Which change is most likely to reduce how often the CPU must fetch data from RAM?

Exam style+20 XP

What is a core?

Exam style+20 XP

Why can increasing the clock speed cause problems?

Exam style+20 XP

Which CPU is likely to be fastest, if all else is equal?

Skill unlocked

Cores, cache and clock speed, mastered.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
What cores, cache and the clock are, and explaining how each one affects CPU performance.