Skip to topic
    ← Back to course topics

    Factors affecting processor performance — AQA A-Level Computer Science

    Central Processing Unit (CPU) performance is governed by clock speed, core count, cache size and levels, as well as bus width and word size. While scaling these factors generally accelerates instruction execution, real-world throughput is ultimately constrained by sequential code dependencies, memory bus bottlenecks, and cache miss latencies.

    Factors affecting processor performance explained

    Processor performance is affected by several design factors, and the statement asks you to explain the effect of each one named in the full specification.

    Read the full explanation

    The specific factors are not listed in the supplied statement, so this note covers the general approach. For each factor, state what it is, then explain whether increasing it generally raises or lowers performance and why. For example, a higher clock speed means more cycles per second, so more instructions can be executed in a given time, but it also increases heat and power use. A larger cache reduces the time spent waiting for data from main memory, improving performance, while a larger number of cores allows more tasks to run in parallel, though only if the software can use them. Always link the factor to the Fetch-Execute cycle or to the speed of instruction execution, and state a trade-off where one exists.

    Your focus

    1. Explain the effect on processor performance of:

    Which command word is this?

    Set out the cause and effect clearly. Identify a specific hardware factor, describe its mechanism (e.g., cache hit), and state the direct impact on execution time or cycle efficiency.

    Factors affecting processor performance exam tips

    Topic Overview

    Processor performance depends on several interrelated hardware specifications, primarily clock speed, the number of processor cores, cache memory size and structure, and bus widths. Clock speed determines the frequency of Fetch-Decode-Execute cycles per second, while multiple cores allow concurrent or parallel processing of instructions. System buses and cache hierarchy dictate how rapidly data and instructions are supplied to the ALU and registers.

    Understanding these factors is essential for evaluating computer architectures and diagnosing performance bottlenecks. In A-Level Computer Science, students must look beyond marketing claims and critically analyze trade-offs, such as the limits of parallelization under Amdahl's Law, thermal constraints from overclocking, and latency discrepancies across the memory hierarchy.

    Key Concepts
    • →Clock Speed: The frequency of the system clock generating pulses to synchronize operations, measured in Hertz (GHz), where higher clock speeds yield more Fetch-Decode-Execute cycles per second.
    • →Processor Cores and Parallelism: Independent processing units within a single physical chip that execute separate instruction streams concurrently, subject to parallelizable software design.
    • →Cache Memory Hierarchy: High-speed on-chip SRAM categorized into L1, L2, and L3 tiers; larger caches increase hit rates, drastically reducing CPU wait states compared to accessing main memory (DRAM).
    • →Bus Width and Word Size: The data bus width matches or scales with the processor word size (typically 32 or 64 bits), dictating the volume of data fetched per bus cycle, whereas the address bus width determines maximum addressable memory.
    Marking Points
    • Names each factor and states what it is before explaining its effect
    • States whether the factor increases or decreases performance for a given change
    • Gives a reason for the effect, linked to the Fetch-Execute cycle or instruction throughput
    • Mentions a trade-off or limitation where one applies, such as heat or software support
    Examiner Tips
    • 💡Address each factor in the question separately with its own explanation
    • 💡Use the terms clock speed, cache and cores precisely where they apply
    • 💡Include one trade-off to show evaluative understanding
    • 💡Use precise technical terminology such as 'cache hit/miss rate', 'wait states', 'thread synchronization overhead', and 'instructions per cycle (IPC)' rather than vague terms like 'faster' or 'better'.
    • 💡When evaluating multi-core setups, explicitly state that performance gains depend entirely on whether the software is written to exploit parallel processing.
    • 💡Structure comparison questions around specific bottlenecks: CPU internal speed versus memory bus transfer speed.
    Common Mistakes
    • Gives a general statement that performance improves without explaining why; correct it by linking the factor to how instructions are executed
    • Confuses a higher clock speed with completing more work per cycle; correct it by noting that instructions per cycle also matters
    • Assumes more cores always double speed; correct it by noting that only parallelisable tasks benefit
    • Believing that clock speed is the sole measure of CPU performance. A processor with a lower clock speed can outperform a higher-clocked chip if it utilizes a superior architecture, higher instructions per cycle (IPC), or larger low-latency caches.
    • Assuming all software runs faster on multi-core systems. If an application is written sequentially without multithreading, it executes on only one core, leaving the remaining cores idle.
    • Confusing address bus width with processing data throughput. A 64-bit address bus addresses 2^64 memory locations; it does not mean 64 bits of data are transferred simultaneously (that is governed by the data bus).
    Revision Plan
    1. 1Day 1: Master the definitions and operational mechanics of clock speed, core count, cache levels (L1, L2, L3), and bus widths.
    2. 2Day 2: Study theoretical limits to performance, focusing on Amdahl's Law, sequential dependencies, and thermal throttling.
    3. 3Day 3: Practice 4-mark and 6-mark past paper questions analyzing architectural comparisons between different CPU specifications.
    4. 4Day 4: Test active recall using flashcards on key technical terms like cache hit rate, word size, and inter-core overhead.
    Exam Question Types
    • 📋Structured calculation and data analysis questions comparing processor benchmarks, clock frequencies, and bus transfer limits.
    • 📋Explain questions evaluating why upgrading a specific component (e.g., adding cores, increasing cache) does not yield linear performance improvements.
    • 📋Comparative essay or evaluation questions assessing system suitability for specific use cases, such as video rendering versus database hosting.
    Command Word Expectations (AQA)
    Explain

    Set out the cause and effect clearly. Identify a specific hardware factor, describe its mechanism (e.g., cache hit), and state the direct impact on execution time or cycle efficiency.

    Discuss

    Provide a balanced argument exploring both advantages and constraints (e.g., higher core counts enable parallel processing but suffer from inter-core communication overhead and sequential code limits).

    Evaluate

    Weigh up multiple hardware configurations for a specified context, concluding with a justified recommendation based on performance trade-offs.

    How Students Lose Marks (Examiner Pitfalls)
    Pitfall: Assuming that doubling the number of CPU cores automatically doubles the processing speed or halves execution time.
    ❌ Weak Answer (Loses Marks):Having four cores instead of two means the computer runs twice as fast because it can do four things at once.
    Example improved answer:Doubling the number of cores does not guarantee a proportional increase in performance. Many algorithms contain sequential tasks that cannot be parallelized, as formalized by Amdahl's Law. Furthermore, inter-core communication and thread synchronization introduce processing overhead, and shared resources such as RAM and cache create contention bottlenecks.
    Examiner Tip: Always mention sequential dependencies and inter-core communication overhead when discussing multi-core architectures in 6-mark or 9-mark evaluation questions.
    Pitfall: Confusing the functions of the address bus width and the data bus width when discussing processor data throughput.
    ❌ Weak Answer (Loses Marks):A wider address bus allows the processor to transfer more bits of data at the same time, making processing faster.
    Example improved answer:A wider data bus increases the volume of data that can be transferred between the CPU and memory in a single clock cycle, directly matching or scaling with word size. In contrast, the address bus width determines the maximum number of uniquely addressable memory locations (addressable space), rather than the rate of data transfer.
    Examiner Tip: Clearly distinguish between bus capacity (address bus = addressable locations) and bus throughput (data bus = word transfer volume per cycle).
    Step-by-Step Worked Solutions

    Question: An engineering firm updates its workstations from a dual-core 3.0 GHz processor to an octa-core 3.0 GHz processor. Explain two reasons why a complex simulation program running on the new workstations might not run four times faster.

    1. 1.Step 1: Identify the theoretical speedup versus practical constraints (4x core increase does not equal 4x throughput).
    2. 2.Step 2: Address algorithmic limitations (sequential execution). Explain that the simulation algorithm likely contains non-parallelizable code where output from one calculation is required as input for the next.
    3. 3.Step 3: Address hardware and synchronization overhead. Explain that distributing tasks across eight cores requires inter-thread coordination, operating system scheduling, and results in bus contention when accessing shared system memory.
    Final Answer: The simulation will not achieve a fourfold speedup because: (1) Algorithmic dependencies mean sequential sections of code cannot be executed concurrently (Amdahl's Law), and (2) Increased core counts incur communication and synchronization overhead across threads, alongside memory bus contention when multiple cores access shared RAM simultaneously.

    Question: A processor manufacturer increases the Level 3 (L3) cache from 8 MB to 32 MB without changing clock speed or core count. Explain the mechanism by which this architectural upgrade improves overall processor performance.

    1. 1.Step 1: Define the role of cache in relation to main memory latency. Cache uses fast SRAM, which has significantly lower access times than DRAM (main memory).
    2. 2.Step 2: Apply the concept of cache hit rate. A larger L3 cache stores more instructions and data closer to the execution units, increasing the probability of a cache hit.
    3. 3.Step 3: Relate cache hits to execution efficiency. A higher hit rate reduces the frequency of cache misses, avoiding costly CPU idle cycles (wait states) caused by fetching data over the external system bus from slower main memory.
    Final Answer: Increasing the L3 cache size increases the cache hit rate, meaning frequently used data and instructions are more likely to be retrieved rapidly from on-chip SRAM rather than slow main memory (DRAM). This minimizes CPU wait states caused by high memory latency and bus bottlenecks, maximizing execution throughput.
    Active Recall Memory Test
    What is the relationship between clock speed and the Fetch-Decode-Execute cycle?
    Key Fact: Clock speed defines the frequency of clock cycles per second; each stage of the FDE cycle takes one or more clock pulses to complete.
    Why is L1 cache faster than L3 cache, but smaller in capacity?
    Key Fact: L1 cache is built directly inside each core using ultra-fast SRAM with the shortest physical distance, making it expensive and limited in space; L3 is larger, shared across cores, and physically further away, causing higher latency.
    What limitation described by Amdahl's Law restricts multi-core scaling?
    Key Fact: The overall speedup of a system is limited by the sequential (non-parallelizable) portion of the program, regardless of how many cores are added.
    How does data bus width influence CPU performance?
    Key Fact: A wider data bus allows larger words of data or multiple words to be transferred simultaneously between registers and memory in a single cycle, reducing memory transactions.
    Frequently Asked Questions
    Does having more cores always make gaming or general computer use faster?
    No, more cores only improve performance if the software is designed to distribute tasks across multiple threads concurrently. Many video games and general productivity tasks depend heavily on single-threaded performance, where clock speed and instructions per cycle (IPC) matter far more than having eight or sixteen cores. Idle cores provide no performance benefit if an application cannot utilize them.
    What is the difference between clock speed and IPC?
    Clock speed is the raw frequency of cycles per second (measured in GHz), whereas Instructions Per Cycle (IPC) measures how many machine code instructions a processor can execute within a single cycle. A CPU with a 3.5 GHz clock speed and a high IPC can outperform an older 4.0 GHz CPU with low IPC. Overall performance is the product of clock speed and IPC.
    Why cannot CPU clock speeds increase indefinitely beyond 5 or 6 GHz?
    Increasing clock speed causes a sharp exponential increase in power consumption and thermal output (heat dissipation). When a processor gets too hot, it encounters physical degradation or undergoes thermal throttling to prevent damage. Quantum tunneling effects at microscopic semiconductor scales also cause electrical leakage at excessively high frequencies.
    How does cache hit rate affect system latency?
    When the CPU requires data, it first checks the cache; finding it is a 'cache hit', which takes only a few clock cycles. If the data is absent, a 'cache miss' occurs, forcing the processor to stall and fetch the data across the system bus from DRAM, which can take hundreds of clock cycles. A high cache hit rate keeps the processor operating close to its peak theoretical speed.
    What is the practical impact of word size on processing performance?
    Word size defines the number of bits a processor can handle in a single operation, which matches the size of its general-purpose registers and accumulator. A 64-bit architecture can manipulate larger integers, perform more precise floating-point calculations, and process 8 bytes per transfer rather than 4 bytes on a 32-bit system, significantly speeding up data-intensive calculations.