Factors affecting CPU performance Flashcards
What factors can affect the CPU performance?
Clock speed
Number of cores
Cache size
Explain Clock speed
The CPU is regulated with clock signals(Cycle = time between 2)
A set number of instructions can be executed per clock cycle
The faster these cycles are (the higher rate), the more instructions can be executed per second
What is the relation between clock speed and performance?
The faster the clock speed, the faster the performance
Explain Cache Size
Cache exists to speed up the operation of the fetch stage
The larger the cache, the more instructions can be accessed faster.
What is the relation between Cache Size and performance?
The larger the cache size, the faster the performance due to increase instructions that can be processed.
What are the different cache type?
L1- embedded in the CPU chip, and is the smallest and fastest
L2 and L3- may be physically situated between the CPU and RAM, and are larger but slower, and exist to “Back up” L1 cache, where hits are the least likely.
What is cache latency and hit rate
cache latency = speed
hit rate = size
Explain the Number of cores
A CPU can effectivly have multple processors(Cores) on the same chip
when software is optimised, multipe cores allow multipe instructions to be executed simulaneously
What is the relation between number or cores and performance?
the performance of the cores are timed by the amount of cores.
2 cores = normal amount * 2
(the results will not be perfect due to other factors)