mhz: Anatomy of a micro-benchmark
Outline
Problem
Benchmarking basics
Simple solution
Limitations
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
Email: staelin@hpl.hp.com
Home Page: http://www.hpl.hp.com/personal/Carl_Staelin
Download presentation source