1.1.1c/d - Performance & Pipelining Flashcards

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

What is cache memory?

A

Temporary storage for frequently accessed data. Quick to access because it is closer to the CPU than RAM

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

What are the three levels of cache memory?

A

Level 1 is the smallest (less than a megabyte) but also the fastest
Level 2 is larger (up to 8 megabytes) but slightly slower
Level 3 is located outside of the CPU core which makes it slower than the first two, but is the largest (up to 50 megabytes)

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

What is a ‘cache hit’ and ‘cache miss’?

A

A ‘cache hit’ is when the CPU is searching for data and successfully finds it within cache.
A ‘cache miss’ is when data is not found in the cache and the CPU has to search in RAM (takes longer).

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

How does cache memory improve performance? (3 points)

A
  • Cache memory is closer to the CPU than RAM - provides data and instructions quicker
  • More cache memory should lead to higher performance as repeatedly used instructions can be stored and accessed faster
  • Larger Level 1 and 2 cache will allow for data to be accessed extremely quickly.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the limitation of cache memory?

A
  • Cache memory is costly so computers only have a small amount
  • Multiple ‘cache misses’ will result in data latency as information is being accessed from the RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is clock speed?

A

Clock speed is the measure of how quickly a CPU can process instructions.

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

How does clock speed improve performance

A

The faster the clock speed, the faster the computer can perform the FDE cycle resulting in better performance because more instructions can be processed every second.

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

What is overclocking?

A

Overclocking is when the computer’s clock speed is increased higher than the recommended rate. This will make the computer perform faster but could lead to overheating or could damage the machine.

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

What is underclocking?

A

Underclocking is when the computer’s clock speed is decreased lower than the recommended rate. This will make the computer perform slower but will increase the lifespan of the machine.

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

What is a core?

A

A core is a complete set of CPU components (CU, ALU and registers). Each core is able to complete it’s own FDE cycle.

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

How does the number of cores improve performance?

A
  • In theory, a single-core processor can execute one instruction at a time, a dual-core processor can execute two instructions and so on.
  • Therefore a computer with more cores will have higher performance because it can process more instructions at once.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the limitations of having more cores? ( 2 points)

A
  • If one core is waiting for another to finish processing, performance might not increase at all.
  • Some software is not written to make use of multiple cores, so it will not run any quicker on a multi-core computer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is pipelining?

A

Pipelining efficiently uses multiple cores or processors to perform multiple stages of the FDE cycle at the same time. This increases the amount of instructions that can be fetched, decoded and executed per second.

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

What is the limitation of pipelining?

A

Certain instructions may not be able to be executed until other instructions have been fetched and decoded. This wait for other instructions may impact performance.

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