Seneca

Factors Affecting CPU Performance

Computer Science: OCR GCSE, topic 1.1.4

Factors Affecting CPU Performance

Not all Central Processing Units (CPUs) will execute code at the same speed. Some processors will be faster than others depending on the following factors:

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.
  • A higher clock speed sends more pulses per second.
  • So more FDE cycles can be completed in the same amount of time.
  • Clock speed is measured in Hertz (Hz).
  • Modern CPU's are measured in GHz.
  • Modern CPUs perform billions of FDE cycles per seconds.
Cores

Cores

  • Each core of a CPU is capable of processing one FDE cycle at a time.
  • Each core has its own Control Unit (CU), special registers, and Arithmetic and Logic Unit (ALU).
  • However, the cores share access to cache and main memory.
  • Multiple cores allow a CPU to process multiple FDE cycles at the same time.
Cache memory

Cache memory

  • Cache memory is a small amount of very fast memory inside the CPU.
  • In comparison to the cache, accessing the Random Access Memory (RAM) is a very slow operation.
  • By storing frequently accessed data and instructions in cache memory we can avoid the process of accessing the RAM.
Negatives

Negatives

  • Clock speed, cores and cache can lead to negative consequences:
  • Clock speed: overclocking & generating too much heat.
  • Cores: specific software may need to be created.
  • Cache: if the cache is too big, accessing it can take as long as accessing main memory.

Test yourself on Factors Affecting CPU Performance

  • 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.

  • A CPU is fitted with a very large cache. Why might this fail to improve its performance?

  • Why can each core of a CPU carry out a separate FDE cycle at the same time as the other cores?

Practise this topic for free