1.1.2 CPU performance Flashcards

1
Q

what is the cache?

A

A cache is a high-speed memory that sits close to or can be directly on the processor; it is used to store the instructions and data most frequently used.

When running programs, a computer system is constantly swapping data in and out of cache memory and RAM. When an instruction, or set of instructions, is frequently used, it is inefficient for a processor to fetch these from RAM each time. To overcome this, cache memory is used to store the instructions that are likely to be called upon. As with RAM, cache memory is erased when power is removed

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

how does the number of cores affect processor performance?

A

Computers with more than one processing unit (core) are called ‘multicore processors’. For example:

Dual-core = two processing units
Quad-core = four processing units
Hexa-core = six processing units
Octo-core = eight processing units

Generally speaking, the more cores a computer has, the more instructions it can execute. As a result, the computer will perform more efficiently than computers with the same type of processor but fewer cores

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

Does doubling the number of cores make your computer twice as fast?

A

The benefit of having multiple cores is that they can run a program designed to run instructions in parallel at the same time. Increasing the number of cores will make a computer faster, therefore. Unfortunately, the cores have to communicate with each other and have to take their turn when accessing the cache and RAM; all of which uses up some of the potential speed that adding more cores gives you. So, although doubling the number of cores theoretically doubles the speed, in reality the computer will always run slightly slower than that

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

what is the clock speed?

A

The time taken between two sequential rising edges is called a clock cycle or a clock period. The clock speed is measured by the number of clock cycles in one second — 1 clock cycle per second is 1Hz.

Herz Measurement
1 hertz (Hz) 1 clock cycle per second
1 million Hz megahertz (MHz)
1,000 MHz gigahertz (GHz)

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

what is the cache?

A

A cache is a high-speed memory that sits close to or can be directly on the processor; it is used to store the instructions and data most frequently used.

When running programs, a computer system is constantly swapping data in and out of cache memory and RAM. When an instruction, or set of instructions, is frequently used, it is inefficient for a processor to fetch these from RAM each time. To overcome this, cache memory is used to store the instructions that are likely to be called upon. As with RAM, cache memory is erased when power is removed.

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