Difference between revisions of "Download Benchmarks"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
* <code>-n numcores</code> (required): number of threads to run. Note that this is the total number of threads that will run (equal to the number of available cores in the simulated machine). For Parsec, this means that the <code>-n</code> passed to the benchmark is usually lower since many Parsec programs start additional helper threads or use multiple threads per requested core. | * <code>-n numcores</code> (required): number of threads to run. Note that this is the total number of threads that will run (equal to the number of available cores in the simulated machine). For Parsec, this means that the <code>-n</code> passed to the benchmark is usually lower since many Parsec programs start additional helper threads or use multiple threads per requested core. | ||
* <code>-i inputsize</code> (required): input set name. Usually <code>test</code>, <code>small</code> and <code>large</code> are available, as defined in our [[Paper:Iiswc2011Heirman|IISWC 2011]] paper. | * <code>-i inputsize</code> (required): input set name. Usually <code>test</code>, <code>small</code> and <code>large</code> are available, as defined in our [[Paper:Iiswc2011Heirman|IISWC 2011]] paper. | ||
+ | * <code>--benchmarks=suitename-benchmarkname-inputsize-numcores[,sn-bn-is-nc]+</code> | ||
* <code>-c</code>, <code>-g</code>, <code>-s</code>: passed to <code>sniper/run-sniper</code> unmodified | * <code>-c</code>, <code>-g</code>, <code>-s</code>: passed to <code>sniper/run-sniper</code> unmodified | ||
Line 28: | Line 29: | ||
* make | * make | ||
* ./run-sniper -p splash2-fft -i test -n 4 -c gainestown | * ./run-sniper -p splash2-fft -i test -n 4 -c gainestown | ||
+ | * # or | ||
+ | * ./run-sniper --benchmarks=splash2-fft-test-4 -c gainestown | ||
+ | * # or | ||
+ | * ./run-sniper --benchmarks=splash2-fft-test-1,splash2-fft-test-1,splash2-fft-test-1,splash2-fft-test-1 -c gainestown | ||
</code> | </code> |
Revision as of 20:04, 9 August 2012
A package with benchmarks is available at sniper-benchmarks.tbz (compressed archive) or http://snipersim.com/git/benchmarks.git (Git repository). These have been slightly adapted to:
- Build using the compilation switches that Sniper requires (e.g. -mno-sse4), see Porting applications to Sniper.
- Mark the start and end of the parallel section (region of interest, ROI), see Simulator hooks.
- Runner scripts to automatically run a benchmark in Sniper with the right command-line options for a predefined collection of input sets
Options for run-sniper
:
- Make sure to define the GRAPHITE_ROOT (pointing to Sniper) and BENCHMARKS_ROOT (pointing to the location where sniper-benchmarks.tbz is installed)
- Run
run-sniper
without any commandline options to see a list of supported benchmarks -p suitename-benchmarkname
(required): suite (splash2, parsec) and name (fft, blackscholes, ...) of the benchmark-n numcores
(required): number of threads to run. Note that this is the total number of threads that will run (equal to the number of available cores in the simulated machine). For Parsec, this means that the-n
passed to the benchmark is usually lower since many Parsec programs start additional helper threads or use multiple threads per requested core.-i inputsize
(required): input set name. Usuallytest
,small
andlarge
are available, as defined in our IISWC 2011 paper.--benchmarks=suitename-benchmarkname-inputsize-numcores[,sn-bn-is-nc]+
-c
,-g
,-s
: passed tosniper/run-sniper
unmodified
This distribution currently contains the following benchmark suites:
- SPLASH-2
- PARSEC 2.1
Usage example:
- wget http://snipersim.org/packages/sniper-benchmarks.tbz
- tar xjf sniper-benchmarks.tbz
- # or
- git clone http://snipersim.com/git/benchmarks.git
- cd benchmarks
- export GRAPHITE_ROOT=/path/to/sniper
- export BENCHMARKS_ROOT=$(pwd)
- make
- ./run-sniper -p splash2-fft -i test -n 4 -c gainestown
- # or
- ./run-sniper --benchmarks=splash2-fft-test-4 -c gainestown
- # or
- ./run-sniper --benchmarks=splash2-fft-test-1,splash2-fft-test-1,splash2-fft-test-1,splash2-fft-test-1 -c gainestown