Factors affecting processor's performance Flashcards

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

What are the 3 main factor affecting the processor’s performance

A

number of cores
the amount and type of cache
the clock speed

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

Each CPU operations start as the clock switch from…

A

0 to 1

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

The CPU cannot perform operations faster than the..

A

the time a clock cycle takes to complete

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

A clock cycle is the time it takes to switch…

A

from 0 to 1 and back to 0

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

One clock cycle per second

A

1Hz

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

What’s the reason behind having one or multiple unsued cores when an instruction being executed

A

Some softwares may not be able to take the full advantage of both or multiple processors

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

Define cache

A

a small amount of very expensive and very fast memory inside the CPU that stores recent instructions so that the CPU can acess them from them as it is quicker if needed be. As cache fills up, unused data or instructions are replaced with more recent ones.

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

What does pipelining allows a CPU to do

A

To do multiple steps of the FDE cycle simultaneously.

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

What does pipelining improves ?

A

performance of the processor

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

Processor pipelining can be divided into..

A

an arithmetic pipeline

and an instruction pipeline

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

The arithmetic pipeline represents the parts of an arithmetic operations that can be..

A

broken down and overlapped as they are performed

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

The instruction pipeline consistis of the stages in..

A

which an instruction is moved through the processor

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

Levels of cache

A

LEVEL 1 CACHE: 2-64KB, very fast with small capacity
LEVEL 2 CACHE: 256KB - 2MB, realtively fats and medium size capacity
LEVEL 3 CACHE: much larger and slower

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

Describe the Von Neumann Architecture

A

This architecture includes the basic components of the computer and processor (single CU, ALU, registers and memory units) in which a shared memory and shared data bus is used for both data and instructions.

Von Neumann architecture is built on the stored program concept.

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

Describe the Harvard architecture

A

Harvard architecture has physically separate memories for instructions and data, more commonly used with embedded processors. This is useful for when memories have different characteristics, i.e. instructions may be read only, while data may be read-write.

This also allows you to optimise the size of individual memory cells and their buses depending on your needs, i.e. the instruction memory can be designed to be larger so a larger word size can be used for instructions.

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

Describe the Harvard architecture

A

Harvard architecture has physically separate memories for instructions and data, more commonly used with embedded processors. This is useful for when memories have different characteristics, i.e. instructions may be read only, while data may be read-write.

This also allows you to optimise the size of individual memory cells and their buses depending on your needs, i.e. the instruction memory can be designed to be larger so a larger word size can be used for instructions.

17
Q

Pros of using Von Neumann architecture

A

Programs can be optimised in size,

and it is cheaper to developed as the CU is easier to design

18
Q

Pros of using Havard architecture

A

Quicker execution time as data and instructions can be fetched in parallel,
and memories can be different sizes, which can make more efficient use of space

19
Q

Talk about Contemporary processors

A

Contemporary processors use a combination of Harvard and Von Neumann architecture.

Von Neumann is used when working with data and instructions in main memory, but uses

Harvard architecture to divide the cache into instruction cache and data cache