Comparing Performance

Tom Kelliher, CS 240

Jan. 28, 2002

Administrivia

Announcements

Assignment

Read 3.1--4.

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 26 15:56:00 EST 2002
Tom Kelliher