Professional Documents
Culture Documents
b-) 1010 1101 0001 0000 0000 0000 0000 0010 = 2903506940decimal
90-127 = -37
2-)
3-)
Single precision :
0 10000011 01000000000000000000000
Double precision :
0 10000000011 01000000000000000000000000000000000000000000
4-)
System performance : The general performance of computer system that includes I/O, CPU,
memory etc.
CPU performance : The performance about only CPU’s tasks. It can be determined by fast, CPU time
etc.
5-)
a-) 6 x 0. 50 = 3
3 + 0.50 = 3.5
6-)
a-) Amdahl’s Law : The performance enhancement possible with a given improvement is limited by
the amount that the improved feature is used.
7-)
a-) To make the effective average CPI for FP in trig computations 2 gives better performance
b-) 2.25/2=1.125
8-)
MIPS = IC / (CPU Execution Time x 106) = IC / ((CPI x IC x 106 )/CR)) = CR / (CPI x 106)
9-)
5 x 106
b-) 1 = and so CPIVAX = 5 x 106
CPIVAX
25 x 106
18 = and so CPIIBM = 1.39 x 106
CPIIBM
10-)
11-)
12-)
These three principle components of CPU Time are CPI (Clock Cycles Per Instruction), IC (Instruction
Count) and CR (Clock Rate). CPU time is found by multiplying of these values: CPIxICxCR
13-)
14-)
a-) We can find by using Amdahl’s law.
1-0.25-0.35-0.10.3+0.2530+0.3520+(0.115)=0.30.3325=90%
15-)
16-) ?
17-)
7.5 x 10 9 x 0.8
a-) CPU Execution Time = = 1.2 seconds
9
5 x 10
18-)
19-)
80 x 10 6 100 x 10 6
b-) MIPSM1 = = 50 ; MIPS M2 = = 40
6 6
1.6 x 10 2.5 x 10