CPU Performance and Caches Flashcards

1
Q

What are the most common factors that affect CPU performance?

A

Clock speed, Processor cores and Cache

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

Why might a 4-core CPU perform the same as a 1-core CPU while running a program?

A

The program may not have been designed to take full advantage of all 4 cores.

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

Why is the cache more useful for frequently used data than the RAM?

A

The cache is closer, and faster, reducing wait times for data to be fetched and stored.

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

What is a level 1 cache?

A

A level 1 cache is the faster type, each CPU core has its own but its storage size is around 2-256KB

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

What is a level 2 cache?

A

A level 2 cache is very fast, slower than a level 1 and each core has its own. The size is around 256KB - 8MB

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

What is a level 3 cache?

A

Level 3 cache is the slowest type of cache but still faster than RAM. There is one per CPU (all the cores share it) and it stores 4 - 50MB

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

Which cache is the main decider in the performance of the CPU?

A

The level 2 cache, it is accessed 90 percent of the time and can greatly reduce the amount of time that the CPU has to wait for data.

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

What is an embedded computer?

A

An embedded computer is something used to control a device with simple outputs. It is a single microprocessor that includes RAM, ROM, and a CPU

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

What embedded functions might a car use?

A

Cruise control, engine cooling fan, interior fans and temperature, interior lighting, rear cameras and remote parking, infotainment systems (emtertainment, information, satnav), engine control unit (ECU)

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

Where is a program stored in an embedded system?

A

The ROM, this makes them very reliable as the software cannot be changed and cannot afford to have bugs.

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

What is an embedded system (def)

A

A computer that is an integral part in a mechanical or electrical system.

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