1.2 Processor Performance Flashcards
What does the width of an address bus determine?
The maximum possible memory addresses of the system
Bi-directional data bus
Data can be sent both ways along the bus
What are the main factors that can affect CPU performance?
- Clock speed
- The number of cores in the processor
- The amount and type of cache memory
Why does clock speed affect CPU performance?
The faster the clock speed, the faster a computer can fetch, decode and execute instructions
How does the system clock?
A sequence of frequent on and off signals are used to synchronise the operations of the components (actions are carried on the rising edge of the clock, which take a fixed number of cycles to complete)
Why does the number of cores affect CPU performance?
Each core in theory can process different instructions simultaneously making its own fetch-decode-execute cycle (although some software may not be able to take full advantage of all four processors
Parrallel processing
Using several processor cores working at the same time
Why is parallel processing not always possible?
Instructions are processed sequentially
Cache
A small amount of superfast (but expensive) memory that stores data and instructions that have been recently been used by the processor
What is L1 cache split into?
Instruction cache and data cache so that data and instructions can be fetched simultaneously
Pipelining
A technique used to improve performance, by example overlapping stages in the fetch-exectue cycle, or by breaking down the stages in an arithmetic instruction
Pipeline example
- An instruction enters the pipeline, and as soon as one stage has been completed, another instruction enters the pipeline
- A third instruction then enters before either of the others is completed
What are all the factors that can affect CPU performance?
- Clock speed
- Corse
- Size and type of cache
- Size of address bus which determines maximum size of RAM
- Size of data bus determines the maximum size of an operand in an instruction
- Pipelining is used to improve efficiency