Difference between revisions of "Download Benchmarks"

From Sniper
Jump to navigation Jump to search
(Created page with "A package with benchmarks is available at [http://snipersim.org/packages/sniper-benchmarks.tbz sniper-benchmarks.tbz]. These have been slightly adapted to: * Build using the comp...")
 
Line 3: Line 3:
 
* Mark the start and end of the parallel section (region of interest, ROI), see [[Simulator hooks]].
 
* 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
 
* Runner scripts to automatically run a benchmark in Sniper with the right command-line options for a predefined collection of input sets
 +
 +
Options for <code>run-sniper</code>:
 +
* Make sure to define the GRAPHITE_ROOT (pointing to Sniper) and BENCHMARKS_ROOT (pointing to the location where sniper-benchmarks.tbz is installed)
 +
* Run <code>run-sniper</code> without any commandline options to see a list of supported benchmarks
 +
* <code>-p suitename-benchmarkname</code> (required): suite (splash2) and name (fft, barnes, ...) of the benchmark
 +
* <code>-n numcores</code> (required): number of threads to run
 +
* <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 [[IISWC 2011|Iiswc2011Heirman]] paper.
 +
* <code>-c</code>, <code>-g</code>, <code>-s</code>: passed to <code>sniper/run-sniper</code> unmodified
  
 
This distribution currently contains the following benchmark suites:
 
This distribution currently contains the following benchmark suites:

Revision as of 06:32, 16 January 2012

A package with benchmarks is available at sniper-benchmarks.tbz. 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) and name (fft, barnes, ...) of the benchmark
  • -n numcores (required): number of threads to run
  • -i inputsize (required): input set name. Usually test, small and large are available, as defined in our Iiswc2011Heirman paper.
  • -c, -g, -s: passed to sniper/run-sniper unmodified

This distribution currently contains the following benchmark suites:

  • SPLASH-2

Usage example: