1.1.1(c) Flashcards

OCR H446 Computer Science Specification

give me an overview about the factors affecting CPU performance

- there are three factors affecting the CPU performance which are clock speed, number of cores, chache memory

1 / 24

Ready to master these flashcards?

Sign in to study with spaced repetition and track your progress.

Sign In to Track Progress

Terms in this set (24)

1

give me an overview about the factors affecting CPU performance

- there are three factors affecting the CPU performance which are clock speed, number of cores, chache memory

2

what does the performance of the CPU depend on what what is it measured in?

- it depends on how quickly the FDE cycle are completed - its measured in instructions per second

3

what does the number of cores have in it? (2 things)

- it can have a multicore processor = when multiple FDE cycles are completed in paralell - it has a core which is an independent processing unit that is in the CPU which performs it's own FDE cycle

4

how does the number of cores work? (4 things)

- each core uses separate threads - a thread is a sequence of instructions - it allows for parallel processing - parallel processing is when instructions are executed simultaneously

5

why is the number of cores used?

- because it increases CPUB throughput - throughput = the number of instructions executed per second - it also allows the CPU to have multitasking - so it can run multiple programs without slowing down

6

what are the limitations of the number of cores?

- not all programs can utilize (make effective use of) multicore - because some tasks are single threaded -communication overhead between cores - overhead is when a resource is not used to fulfill a main goal - so it decreases efficiency -parallel programs might experience synchronization delays

7

what does the Clock speed do? (4 things)

- it sends out regular pulses - to synchronize all operations - each pulse is 1 clock cycle - this is done so that one step of the FDE cycle can occur

8

what is clock speed measured in and give an example?

- it's measured in hertz - e.g. 3.5 GHz = 3.5 billion clock cycles per second

9

how does the clock speed work?

- the higher the clock speed, the more FDE cycles are completed per second - This means that more instructions are processed per second

10

do some instructions take multiple clock cycles?

- yes - so increasing the clock speed, decreases the total execution time

11

why is the clock speed used?

- because it's a key determinant of a single-core performance - and it also determines how fast each instruction can move through the FDE pipeline

12

what are the limitations of clock speed?

- higher clock speed doesn't always double the performance - this is because of bottlenecks e.g. waiting for RAM/ chache misses - higher frequency means higher heat generation and higher power consumption - there are also diminishing returns due to bottlenecks e.g. Memory latency/instruction dependency - there are also physical limits e.g. transistor switching speed

13

what does the cache memory do and what is it?

- its a small, ultra fast type if memory that located on/near the CPU chip - it also temporarily stores frequently running data + instructions - so it acts as a buffer between slow main memory (RAM) and fast CPU

14

what is level 1 of cache?

- its the fastest and the smallest - it's inside each core - so it stores current instructions/data

15

what is level 2 of cache?

- its slower than L1, and larger than L1 - its on the same chip (so it's on every core/shared) - it stores recently used instructions

16

what is level 3 of cache?

- it's the slowest an the largest - it decreases memory access delay - so it's built for large datasets

17

why is cache memory being used?

- because it improves the instruction throughput and overall responsiveness - it also increases the memory access speeds, so it's one of the CPU's biggest bottlenecks

18

what is the limitation of cache memory?

- cache memory is expensive - so it limits how much cache is needed - as a result, this causes slow performance

19

what are other factor that affect CPU performance?

- word size - bus width - instruction set complexity (CISC vs RISC) - pipelining

20

how does word size affect CPU performance?

- = the number of bits the CPU processes in one operation - so the larger the word - the more data is handled per cycle

21

how does the bus width affect CPU perfomance?

- the wider the data/address bus - the more data can move/cycle

22

how does instruction set complexity affect CPU performance?

- the simpler RISC instruction set - allows for faster execution, but it may need more instructions

23

how does pipelining affect CPU performance?

- it overlaps FDE stages for multiple instructions - so it increases instruction throughput

24

branch prediction and prefetching

- it guesses the next instruction - to keep pipeline full + decrease idle cycles

Want to Learn More?

Get personalised lessons, quizzes, and instant feedback from your AI tutor.

Start Learning