Skip to content

Factors Affecting CPU Performance

1.1.1 Structure and function of the processor · Paper 1 · 3 flashcards · 4 questions

Clock Speed

Definition
The number of cycles the CPU can perform per second, measured in Hertz (Hz). Modern CPUs are measured in GHz (billions of cycles per second).
Example
A 3.5 GHz processor can perform 3.5 billion cycles per second.
AdvantageDisadvantage
More instructions executed per secondGenerates more heat
Faster program executionHigher power consumption
Diminishing returns at very high speeds

Number of Cores

Definition
A CPU containing multiple independent processing units (cores), each capable of executing instructions independently.
AdvantageDisadvantage
Parallel processing - multiple tasks simultaneouslySoftware must be written to utilise multiple cores
Better multitasking performanceNot all tasks can be parallelised
More efficient than increasing clock speedIncreased complexity and cost
Key Point
Doubling the cores does NOT double performance. Performance gain depends on how well software can split tasks across cores.

Cache Memory

Definition
Small, extremely fast volatile memory located on or near the CPU that stores frequently accessed data and instructions.
LevelSizeSpeedLocation
L1Smallest (32-64KB)FastestOn CPU core
L2Medium (256KB-1MB)FastOn CPU (per core or shared)
L3Largest (2-32MB)Slower than L1/L2Shared between all cores
Key Point
Cache reduces the time spent waiting for data from RAM. A cache hit (data found in cache) is much faster than a cache miss (data must be fetched from RAM).