CPU architektur Flashcards

1
Q

CPI bedeutet?

A

Clocks per instruction
referring to the average time in clock cycles for a command to be carried out.
CPI = nc/nI
wobei nc is number of cycles a program needs
und nI is the number of instructions in that program

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

Tp steht für

A
time a program takes to run a program
Tp = CPI x nI x tc
tc is The length of a cycle
ni number of instructions
CPI cycles per instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

s (speedup) wird wie gerechnet

A

s = Tp old / Tp new

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

Amdahls law states

A

The whole system speedup s from a part improvement P equals

s = 1 / ((1 - P) + P/S)

where P would be o.3 if 30% of the computation will be sped up
where S is how much faster that part is running, 2 if twice as fast

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

Combining CPI from different single parts of a set

A

CPI = Sum of CPIi x fi
i = 1 going to n number of different cpi rates to combine
CPIi times fi where fi equals the part of the whole CPIi represents

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

MIPS steht wofür?

A
Million instructions per second =
ni (number of instructions) / tp x 10^6 = 
1 / CPI x tc x 10^6
tp how long it takes, time period
tc time per cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

MFLOPS steht wofür

A

Million floating point operations per second
same as MIPS except ni is replaced with floating point operations per second
= fni / tp x 10^6

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