Comparing Performance
Tom Kelliher, CS 240
Jan. 28, 2002
Read 3.1--4.
Measuring performance.
- More definitions and terms.
- Practice.
Instructions and operands.
- How should we summarize several benchmarks?
- Should we summarize?
- Use sum of execution times.
- Arithmetic mean is proportional.
- See text for interesting discussion of use of geometric means.
Example:

- Which machine is faster on Program 1? Program 2? Combined?
- Would your answer vary depending on execution frequency? How
could we account for this? (Weighted average.)
- Native MIPS:

As opposed to peak MIPS or relative MIPS.
Native MIPS can vary inversely with CPU time!
- Useful design principle: Make the common case fast.
Problems 2.18--2.24.
Thomas P. Kelliher
Sat Jan 26 15:56:00 EST 2002
Tom Kelliher