Comparing Performance

Tom Kelliher, CS 240

Feb. 2, 2004

Administrivia

Announcements

Assignment

Read 3.1--4.

Homework due Feb. 9: 2.13, 2.29--2.32.

From Last Time

Measuring performance.

Outline

  1. More definitions and terms.

  2. Practice.

Coming Up

Instructions and operands.

More Definitions and Terms

  1. How should we summarize several benchmarks?
    1. Should we summarize?

    2. Use sum of execution times.

    3. Arithmetic mean is proportional.

    4. See text for interesting discussion of use of geometric means.

    Example:

    1. Which machine is faster on Program 1? Program 2? Combined?

    2. Would your answer vary depending on execution frequency? How could we account for this? (Weighted average.)

  2. Native MIPS:

    As opposed to peak MIPS or relative MIPS.

    Native MIPS can vary inversely with CPU time!

  3. Useful design principle: Make the common case fast.

Practice

Problems 2.18--2.24.



Thomas P. Kelliher
Sat Jan 31 16:51:54 EST 2004
Tom Kelliher