last-genius / benchmarks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Benchmarks for the Sniper Multi-Core Simulator

Sniper is a Multi-Core Simulator that can be used to simulate a variety of processor designs. We designed this benchmarks repository to allow researchers to run applications in Sniper more easily by providing a unified interface to run them.

Available Benchmarks:

Quick Start

The command below downloads the benchmarks repository, and builds and installs Sniper in a local docker image. This image is downloaded from Docker Hub with the commands below. The source for generating these images is available as well.

# Register to download Sniper at https://snipersim.org/w/Download
export SNIPER_GIT_REPO=https://path-to-snipers-git-repo-from-the-email
git clone https://github.com/snipersim/benchmarks
cd benchmarks/tools/docker
make # Downloads the docker image with pre-compiled benchmarks, compiles Sniper and starts the docker image
cd benchmarks
./run-sniper -p splash2-fft # "-i test -n 1" are default options

benchmarks/run-sniper options

  • -p suitename-benchmarkname (required): suite (splash2, parsec) and name (fft, blackscholes, ...) of the benchmark
  • -n numcores (optional): 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 (optional): input set name. Usually test, small and large are available, as defined in our IISWC 2011 paper.
  • --benchmarks=suitename-benchmarkname-inputsize-numcores[,sn-bn-is-nc]+: Run one or more benchmarks simultaneously
  • -c, -g, -s: passes the configuration file, option or script name to sniper/run-sniper unmodified

Other Benchmark Compilation Options

This suite has been tested with CentOS 6, and all docker images are compiled using that image as a base. If you'd like, there are also options to compile the benchmarks manually (using cd benchmarks; make), using a passthrough Docker container (with cd benchmarks/tools/docker; make runpassthrough) which stores the compiled binaries in your current directory, and the source to build the Docker Hub image (cd benchmarks/tools/docker; make runhub).

About


Languages

Language:C 75.2%Language:Fortran 15.1%Language:Ruby 4.0%Language:Python 2.6%Language:Shell 1.6%Language:Makefile 1.2%Language:Java 0.2%Language:Perl 0.1%Language:Dockerfile 0.0%Language:Eiffel 0.0%