1.1.4

Factors Affecting CPU Performance

Test yourself

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:

Illustrative background for Clock speedIllustrative background for Clock speed ?? "content

Clock speed

  • The CPU's clock sends a pulse at fixed intervals to trigger the next stage of the fetch, decode, execute (FDE) cycle.
  • The higher the clock speed, the more pulses are sent 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. They perform billions of FDE cycles per seconds.
Illustrative background for CoresIllustrative background for Cores ?? "content

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), but the cores share access to cache and main memory.
  • Multiple cores allow a CPU to process multiple FDE cycles at the same time.
Illustrative background for Cache memoryIllustrative background for Cache memory ?? "content

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.
Illustrative background for NegativesIllustrative background for Negatives ?? "content

Negatives

  • These components can lead to negative consequences:
    • Clock speed: overclocking & generating too much heat.
    • Cores: specific software may need to be created.
    • Cache: if it is too big, it can spend just as much time accessing the correct data/instruction as if those were in main memory.

Jump to other topics

1Computer Systems

1.1Systems Architecture

1.2Memory & Storage

1.3Computer Networks, Connections & Protocols

1.4Network Security

1.5Systems Software

1.6Ethical, Legal, Cultural & Environmental Concern

2Computational Thinking, Algorithms & Programming

2.1Algorithms

2.2Programming Fundamentals

2.3Producing Robust Programs

2.4Boolean Logic

2.5Programming Languages & IDEs

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium