Quantitative Principles of Computer Design
Quantitative Principles of Computer Design
PRINCIPLES OF
COMPUTER DESIGN
Quantitative Principles of
4/18/17 1
Computer Design
Make the common case Fast:-
It means , favor the frequent case over the
infrequent case.
Quantitative Principles of
4/18/17 2
Computer Design
Amdahls Law:-
Quantifies overall performance gain due to
improve in a part of a computation.(CPU
bound).
Quantitative Principles of
4/18/17 6
Computer Design
Cont..
1
= ------------------------------------------------------
Fraction enhanced
Quantitative Principles of
4/18/17 8
Computer Design
Example
Suppose that we are considering an
enhancement to the processor of a server
system used for web serving .The new CPU
is 10 times faster on computation in the
web serving application than the original
processor . Assuming that the original CPU
is busy with computation 40% of the time
& is waiting for i/o 60% of the time . What
is the overall speedup gained by
incorporating the enhancement?
Quantitative Principles of
4/18/17 9
Computer Design
Solution
Fraction enhanced=0.4
Speedup enhenced=10
Speed overall= 1
----------------------------
(1-0.4)+0.4/10
= 1
--------------------
0.6+0.4/10
=1.56
Quantitative Principles of
4/18/17 10
Computer Design