Professional Documents
Culture Documents
Ch2 Metrics
Ch2 Metrics
Repeatable -- required
Consistent -- required
Independent -- required
Independent
From: http://hint.byu.edu/documentation/Gus/HINT/ComputerPerformance.html
From: http://hint.byu.edu/documentation/Gus/
HINT/ComputerPerformance.html
Copyright 2004 David 23
QUIPS
Primary focus on Linear
Floating-point ops
Memory performance Reliable
Good for predicting
performance on numerical
Repeatable
programs Easy to
But it ignores measure
I/O performance
Multiprograming
Consistent
Instruction cache Independent
Quality definition is fixed
Copyright 2004 David 24
Execution time
Ultimately interested in time required to
execute your program
Smallest total execution time == highest
performance
Compare times directly
Derive appropriate rates
Time == fundamental metric of performance
If you cant measure time, you dont know
anything
Linear
Reliable
Repeatable
Easy to
measure
Consistent
Independent
Copyright 2004 David 28
Other metrics
Response time
Elapsed time from request to response
Throughput
Jobs, operations completed per unit time
E.g. video frames per second
Bandwidth
Bits per second
Ad hoc metrics
Defined for a specific need
Means-based Ends-based
Execution time
Clock rate
MFLOPS
QUIPS
SPEC
MIPS
R2 D2 / T2 D / T2
S 2,1
R1 D1 / T1 D / T1
T1
T2
R2 R1
2,1
R1
R2 R1 D / T2 D / T1
2,1
R1 D / T1
T1 T2
T2
S 2,1 1
Copyright 2004 David 37
Relative change
Execution time
Clock rate
MFLOPS
QUIPS
SPEC
MIPS