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鈥檚 (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.
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.
RISC and CISC
There are two main types of processor:
- reduced instruction set computer RISCReduced instruction set computing - a type of CPU found in smartphones and tablets.
- complex instruction set computer CISCComplex instruction set computing - a type of CPU found in desktop and laptop computers.
RISC processors can process a limited number of relatively simple instructions by breaking each one down into even simpler instructions that can be carried out quickly. Processing simpler instructions requires less circuitry, which consumes less power, so less heat is generated. This makes them ideal for use in smartphones. RISC processors may be used in an embedded systemA special purpose computer built into another device. where it is not necessary to process complex instructions and where the instructions are relatively simple and repetitive. They use less power so do not have a need for dedicated cooling systems.
CISC processors are physically larger and can process more complex instructions. They can understand and carry out complex tasks with only a few instructions. Processing complex instructions requires more complex circuitry which needs more power and therefore more heat is generated. Most modern computers use CISC processors.
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