1.1.3
Factors Affecting CPU Performance
Factors Affecting CPU Performance
Factors Affecting CPU Performance
Not all Central Processing Units (CPUs) will execute code at the same speed. Some processors will be faster than others depending on the following factors:
Clock speed
Clock speed
- The CPU's clock sends a pulse at fixed intervals to trigger the next stage of the fetch, decode, execute (FDE) cycle.
- The higher the clock speed, the more pulses are sent per second, so more instructions can be executed in the same amount of time.
Cores
Cores
- Each core of a CPU is capable of processing instructions independently.
- Each core has its own Control Unit (CU), and Arithmetic and Logic Unit (ALU), but the cores share access to cache and main memory.
- Multiple cores allows a CPU to process multiple instructions at the same time.
Cache memory
Cache memory
- Cache memory is a small amount of very fast memory inside the CPU.
- In comparison to the cache, accessing the Random Access Memory (RAM) is a very slow operation.
- By storing frequently accessed data and instructions in cache memory we can avoid the process of accessing the RAM.
Pipelining
Pipelining
Pipelining is a feature which allows more processor operations to take place in less time.
Idle processor
Idle processor
- Processors typically complete one instruction before moving on to the next.
- This means parts of the processor are idle while the instruction is completed.
- This is an inefficient process.
Effect of pipelining
Effect of pipelining
- Pipelines ensure as much of the processor is in use all at one time and increase efficiency of the computer system.
- Pipelining is usually split into two pipelines:
- Instruction Pipeline.
- Arithmetic Pipeline.
Instruction pipeline
Instruction pipeline
- The instruction pipeline will pre-fetch the next instruction and data and store it in a register.
- As one instruction leaves the current instruction register (CIR), the next one is ready to be loaded and decoded.
- At any given point, there are instructions being fetched, decoded and executed.
Arithmetic pipeline
Arithmetic pipeline
- The arithmetic pipeline divides up an arithmetic operation into its individual steps.
- Each step is performed overlapping the next step.
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Jump to other topics
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Unlock your full potential with GoStudent tutoring
Affordable 1:1 tutoring from the comfort of your home
Tutors are matched to your specific learning needs
30+ school subjects covered