You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers the three main factors that affect CPU performance: clock speed, cache size, and number of cores. These are specified in OCR J277 Section 1.1.1 and are frequently tested in the exam.
The clock speed of a CPU is the number of fetch-decode-execute (FDE) cycles the CPU can complete per second. It is determined by the system clock — an electronic component that generates regular pulses to synchronise the CPU's operations.
| Unit | Cycles per second | Example |
|---|---|---|
| 1 Hz | 1 cycle | Original clocks |
| 1 MHz | 1 million cycles | Early PCs (1980s) |
| 1 GHz | 1 billion cycles | Modern CPUs |
A modern desktop CPU might have a clock speed of 3.5 GHz to 5.0 GHz, meaning it can perform 3.5 to 5 billion cycles every second.
Overclocking means increasing the clock speed beyond the manufacturer's recommended setting. This can improve performance but:
Cache memory is a small amount of very fast memory located inside or very close to the CPU. It stores copies of frequently accessed data and instructions so the CPU does not have to fetch them from the slower main memory (RAM) every time.
| Level | Speed | Size | Location |
|---|---|---|---|
| L1 cache | Fastest | Smallest (typically 32-64 KB per core) | Built into each CPU core |
| L2 cache | Fast | Medium (typically 256 KB - 1 MB per core) | Close to each CPU core |
| L3 cache | Slower than L1/L2 | Largest (typically 4-32 MB) | Shared between all cores |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.