1.1.2 CPU performance

5.0(2)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/8

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

What is clock speed?

  • everything in the CPU is coordinated by the pulse of an internal clock

  • The number of FDE cycles run per given

    time/second

  • measure of how quickly a cpu can process instructions

  • the default clock speed is 3.5GHz meaning it can process 3.5 billion instructions per second

2
New cards

How does clock speed affect CPU performance?

  • the faster the clock speed, the more FDE cycles are completed so more instructions are processed per second and a better performance

  • overclocking - increasing the clock speed higher than the recommended rate. leads to faster performance but also overheating and damage to the machine

  • underclocking - decreasing the clock speed lower than the recommended rate. leads to slower performance but will increase the lifespan of the machine.

3
New cards

What is a core?

  • a processing unit within CPU and each can execute instructions independently

  • multicore CPU can process multiple instructions simultaneously

4
New cards

How does the number of cores affect CPU performance?

  • one cycle per second = 1Hz = 1 instruction per second

  • CPU can only execute 1 instruction at a time

  • in theory, a dual core processor has the potential to execute 2 instructions at a time and a quad can do 4

  • however this is only under ideal conditions such as a program that has been designed to work with multi core processors

  • if one core is waiting for another core to finish processing or the software used is not written to make use of multi cores, the performance may not increase

5
New cards

What is cache memory?

  • small amounts off very fast memory in the CPU

  • used for frequently and recently accessed data

6
New cards

How does cache memory affect CPU performance?

  • is closer to the CPU than RAM so data transferred faster between CPU and cache than between CPU and RAM

  • useful if there is a while loop in a program - storing all the instructions in cache speeds up execution

  • computer with more cache has a faster performance - repeatedly used instructions can be accessed quicker

  • costly so most computers only have a small amount

  • in most systems, level 1 is used 50% of the time and level 2 is used 90% of the time - reduces the time the CPU has to wait

7
New cards

What are the features of level 1 cache?

  • extremely fast but small

  • 2-256KB

  • located on the CPU

  • each core will have its own level 1 cache

8
New cards

What are the features of level 2 cache?

  • very fast but slower and bigger than level 1

  • 256KB-8MB

  • located on the CPU

  • usually also given to each core

9
New cards

What are the features of level 3 cache?

  • slowest and biggest cache but still faster and smaller than RAM

  • 4MB-50MB

  • located on CPU and shared between all cores on the processor.