Академический Документы
Профессиональный Документы
Культура Документы
Performance
Read and understand PH2 Chapter 2 from first to last page!
15.1
. . .
15.3
arrival rate
service time
15.4
Improving Throughput
'
Decrease service time: ' <
15.5
15.6
Practical Considerations
How do we count the number of instructions executed in a program? Is the CPI independent of the program we use? How do we figure out the CPI?
Identify the i different classes of instructions used in the program and count Ci , the number of instructions from each class in the program. Each class groups instructions with the same clock count CPIi (integer arithmetic, memory access, etc).
clock cycles =
n i =1
(CPI i Ci )
15.11
Fallacies
1) Higher clock rate alone make a faster computer. 2) The fact that a computer runs a certain program faster implies it is in general a faster computer.
15.12
Fallacies
3) MIPS is a performance metric:
MIPS = instruction count ET 106
Instruction rate wont tell you anything about what each instruction can do. What if all the instructions used to determine the MIPS rating are those that require the least CPI? MIPS can vary inversely with performance (see PH2 p. 78)
15.13
Fallacies
4) Improving one aspect of the machine will increase the performance of the machine by an amount proportional to the size of the improvement.
Improvable ET ET ' = + Unimprovable ET improvement
Amdahls Law (1967) or Law of Diminishing Returns
15.14