Comparing Performance
Tom Kelliher, CS 240
Feb. 2, 2004
Read 3.1--4.
Homework due Feb. 9: 2.13, 2.29--2.32.
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 31 16:51:54 EST 2004
Tom Kelliher