Cards (8)

  • How do we Measure CPU Performance
    • There are 3 main ways in which CPU performance can be measured: 
    • Clock speed 
    • Number of cores 
    • Cache 
  • Clock Speed #1
    • The clock in the computer controls operations within the CPU. It repeatedly changes from 0 to 1 to 0 and so on - each one of these is referred to as a state change 
    • A state change can represent one fetch-decode-execute cycle although some take more than one cycle 
    • Clock speed is a measure of how many states changes the CPU performs per second. 1 cycle per second = 1 Hz 
  • Clock Speed # 2
    • A typical computer may have a clock speed of 2.3 GHz = 2,300,000,000 Hz which is just over 2 billion cycles per second 
    • If a computer has a higher clock speed, it will be able to execute more instructions per second and therefore carry out tasks more quickly
  • Number of Cores #1
    • A core is a processing unit within the CPU 
    • A single core processor has one core but a computer can have a dual core processor, quad core processor or octa core processor up to around 76 cores 
    • Normally each core will run at the same speed 
  • Number of Cores #2
    • This means that tasks are carried out more quickly using a multicore processor than a single core processor as each core can carry out its task (this is called parallel processing) but a dual core processor isn’t twice as fast as a single core processor as there is some time spent organising tasks between the cores 
    • The speed of the CPU is also partially determined by the tasks being carried out as some tasks can’t be split between cores and therefore having more cores is no quicker than having one 
  • Cache #1
    • The cache is part of primary storage and is used to store frequently used data and instructions 
    • It is used as it’s closer to the CPU than RAM and therefore is faster to retrieve data from (some of the cache is included within each core) 
    • The more cache there is, the more data can be stored which speeds up the performance of the CPU
  • Cache size #2
    • The cache is split into different levels - each level is different in size and speed 
    • Level 1 
    • Level 2 
    • Level 3 
  • Cache Image