Chapter 1.2 (Processor performance) Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What factors affect processor performance?

A
  • Clock speed
  • The number of cores
  • The amount and type of cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is clock speed measured in?

A

Hertz/ Giga hertz

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

What is 1 Hertz equivalent to?

A

One clock cycle per second

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

Why does clock speed affect the speed of the CPU?

A

The system clock generates a series of signals, each operation starts as the clock changes from 0 to 1.
The CPU can’t perform instructions faster than the clock speed.
So the higher the clock speed the faster the CPU performance.

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

How do traditional computers (Von Neumann architecture) process data?

A

Instructions are fetched and executed one at a time in a serial manner

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

What is a dual-core processor?

A

A processor with 2 processors linked together

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

Why does a dual core processor not always performs twice as fast as a single core processor?

A

Not all software are optimised to take full advantage of both processors, so the work may not be split equally between the two

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

What is cache?

A

Cache is a small amount of expensive, very fast memory inside the CPU

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

What is stored in the cache?

A

When an instruction is fetched from main memory it is copied into the cache, so if it is needed again soon after, it can be fetched from cache quicker than main memory

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

What are the different levels of cache?

A

LVL 1 - Small capacity, very fast
LVL 2 - Medium capacity, medium speed
LVL 3 - Largest capacity, slowest speed

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

Why is pipelining used?

A

Pipelining is a technique used by some processors to improve the performance, due to it’s ability to speed up the fetch-decode-execute cycle

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

What is pipelining?

A

Whilst the Fetch-decode-execute cycle is being carried out, the next instruction can be fetched and held in a buffer ready to be carried out

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

What is a GPU?

A

A graphical processor unit is a co-processor on a graphics card that perform simple instructions on a large data set

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

What are GPU’s used for?

A

Data mining (Bitcoin mining)

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

What is a co-processor?

A

A processor invented to increase speed of the computer and execute tasks concurrently

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

What is parallel processing?

A

Parallel computing is where we run multiple processes at one time

17
Q

How can we use parallel processing?

A
  • Multiple cores on the CPU

* Switching between instructions

18
Q

How does parallel processing work?

A

Each core on the CPU can perform a fetch, decode, execute cycle independent of other cores.
Therefore if we have 2 cores, 2 processes can run at one time

19
Q

How do you use multi-cores for parallel processing?

A
  • Have software that takes advantage of multiple cores

* Have an operating system capable of using multiple cores.