FutureLogic Blog β†’ Hardware β†’ IGCSE 0478

What makes a CPU faster?

CPU performance is affected by clock speed, the number of cores and cache size. Understanding how these factors influence processing speed is essential for Cambridge IGCSE Computer Science (0478).

Does doubling a processor's clock speed always double performance? Can more cores make every program faster? Discover what each factor actually does and how to write precise exam answers.

What affects CPU performance?

Three important factors are clock speed, number of cores and cache size. Each helps the CPU in a different way. They work together, but none guarantees a particular speed increase on its own.

Clock speed = cycles per second. Cores = processing units. Cache = fast nearby memory.

Cambridge syllabus focus

Topic 3.5 asks you to explain how clock speed, the number of cores and cache size can affect CPU performance. Link each factor to what the CPU does, rather than simply saying that a computer is β€œfaster”.

1. What is CPU clock speed?

The CPU's clock coordinates its operations by producing regular timing pulses. Clock speed is measured in hertz (Hz), usually gigahertz (GHz) for modern processors. A 3 GHz clock produces approximately 3 billion cycles per second.

Clock cycles comparisonOver the same interval, a higher clock frequency has more cycles. This does not guarantee greater performance across different CPU designs.MORE CLOCK CYCLES IN THE SAME TIMELower frequencyHigher frequencySame time interval
A higher clock frequency produces more cycles per second, but the amount of useful work per cycle also matters.

Increasing clock speed means the CPU has more clock cycles available each second. On an otherwise identical CPU, this can allow more instructions to be processed in a given time. However, different instructions can require different numbers of cycles, and different CPU designs do different amounts of work per cycle.

Worked example: 2 GHz versus 3 GHz

Imagine the same processor design operating at 2 GHz and then 3 GHz, with all other conditions equal. The 3 GHz setting provides 50% more cycles per second: 3 Γ· 2 = 1.5. That does not guarantee a 50% improvement in every program because memory delays and other bottlenecks can limit performance.

Common mistake: β€œA 4 GHz CPU is always faster than a 3 GHz CPU.”

Not necessarily. Architecture, work completed per cycle, cooling and other components also matter. Compare clock speeds most confidently when the processors are otherwise equivalent.

2. How does the number of cores affect performance?

A core is a processing unit within a CPU that can execute instructions. A multi-core CPU has two or more cores, allowing suitable tasks or threads to run concurrently.

One core compared with four coresFour independent tasks are shown queued on one core, compared with tasks distributed across four cores when the workload can be parallelised.ONE CORE vs FOUR CORESONE COREFOUR CORESCore 1ABCDTasks share one coreCore 1Core 2Core 3Core 4Task ATask BTask CTask DWhen tasks can run in parallel
More cores can process independent tasks concurrently. A program that cannot use extra cores may see little benefit.

Single-core CPU

One core carries out instruction processing, switching between tasks when needed.

Quad-core CPU

Four cores can work on separate threads at the same time when software supports it.

Extra cores are particularly useful when several programs are running or an application can split its work into independent tasks. A program that uses only one core may gain little from additional cores.

Worked example: editing and exporting a video

A video editor may divide encoding work across multiple cores, potentially completing the export sooner. In contrast, a simple single-threaded calculation may not run much faster on eight cores than on four, assuming similar per-core performance.

Exam tip: Say that more cores can process more tasks or threads simultaneously β€” not that every individual instruction becomes faster.

3. What is CPU cache and why does it matter?

Cache is a small amount of very fast memory located on or close to the CPU. It stores frequently or recently used data and instructions so the processor can access them more quickly than if it had to fetch them from main memory (RAM).

CPU cache and RAM relationshipThe CPU accesses nearby fast cache first for data or instructions. If they are not there, it may need to access slower RAM.CACHE HELPS REDUCE RAM ACCESSCPUCACHERAMProcesses dataSmall and fastLarger, slowerCache hit: data is already in cacheCache miss: fetch needed data from another memory level
Cache stores useful data and instructions close to the CPU. A cache hit avoids a slower access to another memory level.
CPU Core ⇄ Cache ⇄ RAM

When requested data is already in cache, this is called a cache hit. When it is not present, a cache miss means the CPU must obtain it from a slower level of memory, often RAM. A larger cache may hold more useful data and reduce some slower memory accesses, but its benefit depends on the program's access pattern.

Worked example: repeatedly using the same data

Suppose a program repeatedly reads values from a small array. If those values fit in cache, the CPU can often access them without repeatedly waiting for RAM. Increasing cache size may help if it allows more of the program's active data to stay in cache.

Common mistake: β€œCache is the same as RAM.”

No. Both store data and instructions temporarily, but cache is smaller and generally faster, while RAM has much greater capacity.

Compare the three factors

FactorWhat it changesWhy it can helpLimitation
Clock speedCycles per secondMore opportunities to execute operations each secondDoes not measure work per cycle
Number of coresParallel processing capacityMore suitable tasks/threads can run concurrentlySoftware must make use of the cores
Cache sizeCapacity of fast CPU-accessible memoryCan reduce slower RAM accessesBenefit depends on data access patterns

Which factor should you mention in an exam?

Read the scenario carefully. If it describes a processor with a higher GHz rating, explain the greater number of clock cycles per second. If it describes running several tasks together, discuss multiple cores. If it describes repeated access to the same data or instructions, discuss cache.

Check your understanding 1

A program uses only one processing thread. Will doubling the core count necessarily halve its running time?

Reveal answer

No. The program cannot automatically divide its work across the additional cores. Other factors may also limit its speed.

Check your understanding 2

Why can cache improve CPU performance?

Reveal answer

Cache stores frequently or recently used data and instructions close to the CPU, reducing the need for slower RAM accesses when the requested information is in cache.

Common Cambridge exam mistakes

βœ— β€œMore GHz means more instructions every cycle.”

GHz measures cycles per second, not instructions per cycle.

βœ— β€œEight cores make a single instruction eight times faster.”

Extra cores support parallel work; they do not automatically accelerate one instruction.

βœ— β€œCache permanently stores files.”

CPU cache temporarily holds useful data and instructions. It is not permanent secondary storage.

βœ— β€œA larger cache always makes every program faster.”

It may reduce memory access delays, but the improvement depends on workload and cache usage.

Original FutureLogic exam-style practice

These are original teaching questions, not official Cambridge examination questions. Suggested marks are indicative.

Question 1 β€” 2 marks

Explain how increasing clock speed may improve CPU performance.

Reveal model answer

A higher clock speed provides more clock cycles per second (1), potentially allowing an otherwise identical CPU to process more operations in a given time (1).

Question 2 β€” 3 marks

Explain why a CPU with four cores may perform better than a single-core CPU when several applications are running.

Reveal model answer

Each core can execute instructions (1). Multiple cores allow suitable tasks or threads to run at the same time (1), reducing the need for one core to switch between all the applications' work (1).

Question 3 β€” 3 marks

Explain how cache can improve the performance of a CPU.

Reveal model answer

Cache holds frequently or recently used data and instructions (1). It is faster to access than RAM (1), so cache hits reduce the time the CPU waits for information (1).

Question 4 β€” 4 marks

A student claims: β€œA CPU with twice as many cores will always finish a program in half the time.” Explain why this is not necessarily true.

Reveal model answer

The program may not support splitting its work into parallel threads (1). Some steps may have to run in sequence (1). Extra cores may therefore remain unused for part of the program (1), and other bottlenecks such as memory access can limit performance (1).

Quick quiz

  1. What unit is used to measure clock speed?
  2. What does a CPU core do?
  3. When are additional cores particularly useful?
  4. What is a cache hit?
  5. Why can a larger cache help?
  6. Does higher clock speed always mean higher performance?

Reveal quiz answers

Show all answers
  1. Hertz (Hz), often GHz.
  2. Executes instructions.
  3. When software can run multiple threads or tasks concurrently.
  4. The requested data or instruction is already in cache.
  5. It may keep more useful information near the CPU and reduce RAM accesses.
  6. No; CPU design and other bottlenecks matter.

Final summary

Clock speed

More cycles each second.

Core count

More opportunities for parallel work.

Cache

Faster access to useful data and instructions.

Exam technique

Explain the mechanism, then its possible effect.

Higher clock speed, more cores and larger cache can all help β€” but each improves performance in a different way.

Ready to master CPU performance?

Use these three factors to explain how processor performance can change β€” then test your understanding with FutureLogic revision resources.