Computer Science Department
You are visitor:
Description:
- This is version 2.0 of a program to empirically determine some parameters about an architectures memory subsystem. Portions of it may be used an
upcoming benchmark suite like ParkBench. The distribution is available here. Remember, your machine must be dead quiet to produce accurate results. I will have a poster
on this at SuperComputing 97.
Features:
- NEW Added hand tuned loops via the -t option as well as memset and memcpy tests.
- NEW Configuration scripts.
- NEW Flexible data types, defaults to double instead of int.
- NEW! Better default behavior and compile options.
- 8 different tests, read, write and read/modify/write.
- Automated build test, execution and result processing.
- Generates postscript graphs using GNUplot.
- Measurement of access time in nanoseconds and bandwidth in MB/sec.
- Safe from aggressive optimizing compilers.
- Tunable run time parameters to reduce test domain.
- Completely Purified!
- Here's the README.
Usage:
Usage: cachebench -rwbtsp [-x #] [-m #] [-d #] [-e #]
-r Read benchmark
-w Write benchmark
-b Read/Modify/Write benchmark
-t Use hand tuned versions of the above
-s memset() benchmark
-p memcpy() benchmark
-x Number of measurements between powers of 2.
-m Specify the log2(available physical memory)
-d Number of seconds per iteration
-e Repeat count per cache size
Datatype used is double, 8 bytes.
Defaults if tty: -rwbsp -x1 -m24 -d5 -e2
Defaults if file: -b -x1 -m24 -d5 -e1
NEW Sample Results:
Old Overall Results:
Old Specific Results for Reading:
The output looks like this:
Read Cache Test
C Size Nanosec MB/sec % Chnge
------- ------- ------- -------
4096 7.396 515.753 1.000
6144 7.594 502.350 1.027
8192 7.731 493.442 1.018
12288 17.578 217.015 2.274
Related links
AIM Benchmarks
STREAM Benchmark
The HINT benchmark and Computer Performance
Genesis Parallel Benchmarks
ParkBench Parallel Kernels and Benchmarks
comp.benchmarks Newsgroup
Memory Bandwidth and Machine Balance
Bill's Benchmark Page
WWW Computer Architecture Home Page
Send me mail at mucci@cs.utk.edu with your comments, questions
and especially bug reports .