1.1.1 - The factors affecting the performance of the CPU, Pipelining Flashcards
What are the main factors affecting processor performance?
- Clock Speed
- Number of cores or duplicate processors
- Amount and type of cache memory
What is clock speed?
The speed in which the system clock switches between 0 to 1 and back to 0.
What is clock speed measured in?
Gigahertz (GHz) which is 1 billion cycles per second.
What is an average clock speed for a PC?
Between 2 and 4 GHz. The higher the clock speed the quicker the instructions will be executed.
What is cache memory?
Very fast and expensive memory inside the CPU.
What is cache memory used for?
When an instruction is fetched from main memory it is copied into the cache incase it is needed again soon after. After the cache fills up unused instructions are replaced by more recent ones.
What are the different levels of cache and what are fastest?
- Level 1 cache. Extremely fast but small (2-64Kb)
- Level 2 cache. Fairly fast and medium sized (256Kb-2MB)
- Some CPUs also have Level 3 cache.
What is pipelining?
A technique that allows the next instructions to be fetch at the same time as the processor is performing arithmetic or logic operations.
Words and Word Sizes
.