1.1.1b - performance of the CPU (y12) Flashcards
What is clock speed?
Number of cycles a CPU can execute per second, measured in Hz.
How does clock speed affect performance?
Higher clock speed = more instructions executed per second.
What is a core in a CPU?
A processing unit capable of executing instructions independently.
How does multi-core processing improve performance?
Multiple instructions can be executed in parallel.
Why might multi-core not always result in linear speed increase?
Software must be optimised for multi-core usage.
What is cache memory?
Small, fast memory inside or near the CPU that stores frequently accessed data.
Why is cache important for performance?
Reduces the time needed to access data from main memory.
What happens if cache is too small?
CPU has to access slower main memory more often.
What are the levels of cache?
L1 (fastest, smallest), L2, and L3 (slowest, largest).
Why is RAM slower than cache?
RAM is further from the CPU and not optimised for speed.
What does RAM stand for?
Random Access Memory.
What is the impact of RAM size on performance?
More RAM = more programs/data held in memory = less disk swapping.
What is the purpose of virtual memory?
To use part of the hard drive as RAM when physical RAM is full.
What is the downside of virtual memory?
It is much slower than RAM.
What is pipelining?
Technique of overlapping fetch, decode, execute cycles for faster processing.
What does FDE cycle stand for?
Fetch–Decode–Execute cycle.
How can pipelining improve performance?
Increases throughput by allowing multiple instructions in different stages.
What is the control unit responsible for?
Directs operations of the processor.
What is the role of the ALU?
Performs arithmetic and logic operations.
What is the accumulator?
Register that stores intermediate arithmetic/logic results.
What does the program counter do?
Holds the address of the next instruction to execute.
What is the role of the MAR?
Memory Address Register stores memory location to access.
What does the MDR do?
Memory Data Register holds data read/written from memory.