Factors affecting CPU performance
Even though today's CPU/processorCentral processing unit - the brain of the computer that processes program instructions. are tremendously fast, their performance can be affected by several factors, such as:
- clock speedThe speed of a computer's CPU, measured in hertz. This indicates the number of fetch-decode-execute cycles that can run per second.
- cache memoryA piece of temporary memory. It can refer to a part of the RAM, storage disk, CPU, or an area for storing web pages. size
- number of coreA processing unit within a CPU. CPUs can have multiple cores.
Clock speed
Clock speed is the number of pulses the central processing unit’s (CPU) clockA component of the CPU that sends out regular pulses. Its job is to synchronise the computer's hardware components. generates per second. It is measured in HertzThe unit of frequency, symbol 'Hz'. 1 Hz is 1 wave or cycle per second..
The faster the clock speed, the faster the computer is able to run fetch-decode-execute cycles. This means that it can process more instructionA single action that can be performed by a computer processor. in the same amount of time.
CPU clocks can sometimes be sped up by the user. This process is known as overclocking. When the number of pulses per second is increased, more fetch-decode-execute cycles can be performed and more instructions can be processed in a given time. This increases performance, but also requires more power, which results in a greater need for heat dissipation and can strain the life of the battery. Overclocking causes the CPU to work harder and produce more heat, which can lead to long-term damage to the hardwareThe physical parts of a computer system, eg a graphics card, hard disk drive or CD drive..
Cache
Cache is a small amount of high-speed RAMRandom access memory. This is volatile memory that is constantly being written to and read from. It does not retain its contents without a constant supply of power. When a computer is turned off, everything stored in its RAM is lost. built directly within the processor. It is used to temporarily hold dataUnits of information. In computing there can be different data types, including integers, characters and Boolean. Data is often acted on by instructions. and instructionA single action that can be performed by a computer processor. that the processor is likely to reuse. This allows for faster processing as the processor does not have to wait for the data and instructions to be fetched from RAM.
The larger the cache size, the less time a processor has to wait for instructions to be fetched. This improves performance.
Levels of cache
The CPU/processorCentral processing unit - the brain of the computer that processes program instructions. uses a multi-level cache memoryA piece of temporary memory. It can refer to a part of the RAM, storage disk, CPU, or an area for storing web pages. hierarchy of Level 1 (L1), Level 2 (L2) and Level 3 (L3) caches, which improves performance by bridging the operating speed between the central processing unit (CPU) and main memory.
An analogy would be to think of:
- L1 as a pocket in which items (such as a smartphone) are kept that need to be accessed quickly and readily
- L2 as a bag where items are needed less often (for example books)
- L3 as a school locker where things could be placed that are needed later on.
Number of cores
A processing unit within a CPU is known as a coreA processing unit within a CPU. CPUs can have multiple cores.. Each core is capable of fetching, decodeInterpret an instruction. and executeCarry out an instruction. its own instructions.
A CPU with more cores can process more instructions in a given time. However, sometimes one core will have to wait for the outputData which is sent out of a system. from another before carrying out the next phase of the instruction, which can cause a delay.
Multiple cores increase the processor cost. Many modern CPUs are dual-core (two) or quad-core (four) processors. This provides vastly superior processing power.
More guides on this topic
- Primary storage - Eduqas
- Secondary storage and embedded systems - Eduqas
- Networks - Eduqas
- Internet and cybersecurity - Eduqas
- Data representation - Eduqas
- Storage and data organisation - Eduqas
- Operating systems - Eduqas
- Principles of programming - Eduqas
- Algorithms - Eduqas
- Sorting, searching and validation - Eduqas
- Software development - Eduqas
- Impacts of digital technology on wider society - Eduqas