1.2 CPU Performance Flashcards

1
Q

What affects the performance of the CPU?

A

Clock speed, Processor cores and cache

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is clock speed?

A

How many cycles per second (e.g 2GHz is around 2 billion instructions a second) which is measured in hz

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are cores?

A

Processing units (ALU)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is cache?

A

Memory on the CPU that is faster than RAM but is slower than registers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does clock speed affects the performance of the CPU?

A

The rate of instructions is determined by the clock meaning that if the clock is faster then there are more instructions happening per second

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Processor speed:

A

1 kHz = 1000 cycles per second
1 MHz = 1,000,000 cycles per second
1 GHz = 1,000,000,000 cycles per second

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does multi-core processing affect the performance of the CPU?

A
  • It has the potential to perform more instructions at the same time
  • However in order for this to be useful, the software has to take advantage of all the cores for the performance to be better
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does cache memory affect the performance of the CPU?

A

Cache can be accessed faster than RAM and this impacts the performance because instructions and data can be fetched faster and if they are needed again soon it is very easy to get compared to RAM and speeds up the execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the levels of cache?

A

Level 1, Level 2, Level 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is L1 cache?

A

Extremely fast cache but small(2-256KB), each core will have its own level 1 cache

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is L2 cache?

A

Very fast but a little slower than L1 cache and has around 256KB to 8MB. Most cores would have L2 cache

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is L3 cache?

A

Slowest type of cache but is still faster than RAM. Located in the CPU and stores around 4MB to 50MB and is shared amongst all of the cores on the processor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the benefits of cache?

A
  • L1 50% of the time is used and L2 is used 90% of the time.
  • The size of L2 cache is a major factor in determining the performance of the CPU
  • The data used most often is stored in L1 cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What might be better use for a low end system?

4 cores at 2GHz or 2 cores at 4GHZ

A

2 cores at 4GHz because the program the computer uses may not utilise the full 2 cores and the 2 cores run faster than than the 4 cores

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What might be better use for a gaming system and a workstation?
4 cores at 2GHz or 2 cores at 4GHz

A

4 cores at 2GHz because most modern computer programs utilise as many cores as they can use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How many cycles does 4 cores at 2GHz do?

A

8 billion cycles

17
Q

How many cycles does 2 cores at 4GHz do?

A

8 billion cycles

18
Q

Levels of cost per byte and access speed of memory

A
  1. CPU registers
  2. L1 cache, L2 cache, L3 cache
  3. Physical RAM (main memory)
  4. Disc storage (Virtual RAM, Hard Drive etc.)
19
Q

Levels of capacity

A
  1. Disc storage
  2. Physical RAM
  3. Cache
  4. CPU registers
20
Q

What is an embedded computer?

A

An embedded computer is a single microprocessor that includes RAM, ROM and a CPU and is frequently used in devices that have simple inputs

21
Q

Give an example when you would need an embedded system

A

A satnav needs to know how to communicate with a satellite

22
Q

How fast are CPUs in embedded systems?

A

Slow

23
Q

What features are in software of embedded systems?

A

Only has one purpose and cannot install new software

24
Q

What features are in storage of embedded systems?

A

Programs are stored on ROM

25
Q

How reliable are embedded systems?

A

Very reliable as they are simple operations that they are doing

26
Q

3 examples of an embedded system

A

Satnav, microwave, dishwasher