Skip to content

1.1.2 CPU performance

GCSE · Paper 1 · Computer systems · Section 1.1 · 12 flashcards · 9 practice questions

Questions

1.1.2 CPU performance

Some computers run programs faster than others. Three features of a CPU affect how quickly it can do its work: clock speed, cache size and the number of cores.

Clock speed

Definition
Clock speed is the number of fetch-execute cycles the CPU can carry out every second. It is measured in hertz (Hz). Modern CPUs use gigahertz (GHz). 1 GHz is one billion cycles a second.

A CPU with a clock speed of 3 GHz can carry out 3 billion cycles each second. It is like the beat of a drum. The faster the beat, the more the CPU can do.

Effect of increasing it: the CPU can process more instructions each second, so programs run faster.Limit: a higher clock speed makes the CPU hotter and uses more power. If it gets too hot, it can be damaged, so it needs better cooling.

Cache size

Definition
Cache is a small amount of very fast memory in the CPU. It stores the data and instructions that the CPU uses most often.

The CPU can get data from cache much faster than from RAM. If the cache is bigger, more of the frequently used data and instructions can be kept there. The CPU has to wait for RAM less often.

Effect of increasing it: the CPU spends less time waiting for data, so the computer is faster.

Cache works because programs often use the same data and instructions again and again. Keeping those close to the CPU saves a lot of waiting.

Limit: cache is expensive, so a bigger cache makes the CPU cost more. After a certain size, adding more makes only a small difference.

Number of cores

Definition
A core is a processing unit inside the CPU. Each core can carry out its own fetch-execute cycle on its own instructions.

A dual-core CPU has two cores. A quad-core CPU has four. A CPU with more cores can work on more than one instruction at the same time.

Effect of increasing it: the computer can run several programs at once more smoothly. It can also run a program faster, if that program has been written to share its work between cores.Limit: some programs are written to use only one core. For these, extra cores do not make the program faster. Doubling the cores does not usually double the speed.
Worked Example
Two CPUs compared
CPU ACPU B
Clock speed3.0 GHz2.5 GHz
Cache4 MB8 MB
Cores24
CPU A has the higher clock speed, so it does more cycles each second. This helps programs that only use one core.

CPU B has more cache and more cores. It will probably handle many programs at once better, and wait for RAM less often.

Which is "faster" depends on what the user does. Always link your answer to the task in the question.

What "performance" means

Performance is how quickly a computer can finish its work. You can notice it when a program opens quickly, a game runs smoothly, or a computer can run many programs at once without slowing down. A CPU does not get faster just by changing one number, so exam answers must always say *why* a change helps.

Think of a kitchen. The clock speed is how fast the cook works. The cache is the ingredients kept on the worktop, so the cook does not walk to the cupboard each time. The cores are the number of cooks in the kitchen.

Changing features together

The three features work together. A fast clock speed does not help much if the CPU keeps waiting for data from RAM, so a good cache helps. More cores do not help if the clock speed is very low or the software cannot use them.

Pros & Cons
ChangeBenefitLimit
Higher clock speedMore cycles each secondHotter, uses more power
Bigger cacheLess waiting for RAMMore expensive; small gains after a point
More coresMore instructions at onceSoftware must use them; costs more
Key Point
Raising clock speed, cache size or cores usually improves performance. Using more than one together can improve it more. But no single change always doubles the speed.

Common mistakes

  • •
    Saying clock speed is how "fast the computer is". Say it is the number of cycles the CPU carries out each second.
  • •
    Saying that more cores always means a faster computer. It only helps if the software can share its work between the cores.
  • •
    Mixing up cache and RAM. Cache is smaller, faster and inside or next to the CPU. RAM is bigger and slower.

Exam technique

  • •
    State or give: name the feature and what it is, in one short fact. "Clock speed is the number of cycles the CPU does each second."
  • •
    Describe or explain: say what the change does and why it improves performance. "More cores means more instructions can be carried out at the same time, so..."
  • •
    Compare: look at both CPUs on each feature. Then use the user's task to say which suits them.
  • •
    Do not just say "faster". Say why it is faster.
  • •
    Never say that doubling a feature doubles the performance.