mhz: Anatomy of a micro-benchmark

6/17/98


Click here to start


Table of Contents

mhz: Anatomy of a micro-benchmark

Outline

Problem

Benchmarking basics

Simple solution

Limitations

mhz solution

mhz solution

mhz solution

mhz solution

Greatest common divisor

Measurement error

Computing GCD

lmbench 2.0 timing

Clock resolution

Timing interface

Numerical analysis

mhz results

Build your own benchmarks

Simple latency benchmark

Simple bandwidth benchmark

Pitfalls

Example

Convolution

Conclusions

Author: Carl Staelin

Email: staelin@hpl.hp.com

Home Page: http://www.hpl.hp.com/personal/Carl_Staelin

Download presentation source