Seneca

Factors Affecting CPU Performance

Computer Science: KS3, topic 3.1.4

Factors Affecting CPU Performance

Not all Central Processing Units (CPUs) will execute code at the same speed.

Clock speed

Clock speed

  • The CPU's clock sends a pulse at fixed intervals.
  • The pulse triggers the next stage of the fetch, decode, execute (FDE) cycle.
  • The higher the clock speed, the more pulses are sent per second.
  • So more instructions can be executed in the same amount of time.
Cores

Cores

  • Each core of a CPU is capable of processing instructions independently.
  • Each core has its own Control Unit (CU) and Arithmetic and Logic Unit (ALU).
  • However, the cores share access to cache and main memory.
  • Multiple cores allows a CPU to process multiple instructions at the same time.
Cache memory

Cache memory

  • Cache memory is a small amount of very fast memory inside the CPU.
  • Accessing the Random Access Memory (RAM) is a very slow operation.
  • The cache is faster than RAM.
  • We store frequently accessed data and instructions in cache memory.
  • So we avoid accessing the RAM.

Test yourself on Factors Affecting CPU Performance

  • Toggle until all are correct: Which are the features of cache memory?

  • Which of the following will increase CPU performance?

  • Which of its three factors is most important for a high performance CPU?

    Think of an answer, and then check the answer to compare it to your own.

  • CPU P and CPU Q have the same clock speed and the same number of cores. CPU P has cache memory. CPU Q has no cache memory. Which CPU will need to access RAM more often?

Practise this topic for free