



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth analysis of performance metrics, focusing on cpu performance, cpi calculation, risc processor instruction frequency mix, and amdahl's law. It covers various performance metrics such as mips, mflops, and processor metrics, as well as methods to evaluate and compare processor performance.
Typology: Slides
1 / 7
This page cannot be seen from the preview
Don't miss anything!




1
time to do the task, i.e., execution time, response time,latency, etc.
tasks finished per day, hour, week, sec, ms, ns., etc
throughput, bandwidth
chapter 2
3
millions of instructions per second
millions of (F.P.) operations per second
Megabytes per second
Cycles per second (clock rate)
chapter 2
Programcompilerinst. setorganizationtechnology
instr. count
clock rate
x x x
x x x
x x
Docsity.com
5
CPI = (cpu time x clock rate) / instruction countCPI = clock cycles / instruction countCPU time = clock cycle time x
x I
Instruction frequency = F
= No. of the ith instr. / total inst. count
i
1
i
i
i
invest resources where most time is spentmake frequently used components run fast
chapter 2
7
If a program has twoprocesses to run, and wedouble the speed of oneprocess, what is the speedup?
chapter 2
CPU execution time
CPU clock cycles per program
CPI (this is an average value)
IPC = 1/CPI, instruction per clock cycle
CPI is closely related with
Instruction set architecture
Implementation method
program measured
13
100 line code, such as puzzle, quicksort, bubble sort, etc.
attempt to match average frequencies of real workloads
such as Whetstone, Dhrystone
collection of small tests that cover machine primitives
time critical excerpts of real programs
such as Linpack, Livermore loops
such as gcc, spice, database, stock trading
chapter 2
15
10 programs
Specint92 (6 integer programs), SpecFP92 (14 floatingpoint programs)
new sets of programs
chapter 2
i = 1
n
i
17
i=
n
i
rate = 1 / execution timen programs in the workload
chapter 2
i=
n
n
i
execution time ratio
i
is the execution time normalized to the
reference machine for the ith program of a total of n programs
19
AM tracks relative execution time
HM tracks total execution time
GM rewards all improvements equally
chapter 2
time on workload is the final measure of computerperformance
good benchmarks, good ways to summarize performance
invest your effort where the time spent most
remaining unimproved parts also count
25
chapter 2
For a given architecture, performance increase come from
Increases in clock rate
Lowers CPI (through improvements in processororganization)
Lowers CPI or instruction count (through compilerenhancements)
Docsity.com