Skip to content

Setting up SPEC CPU 2006

Connor McCoy edited this page May 29, 2015 · 1 revision

Courtesy of @hungvelo:

Steps to setup Spec CPU2006 benchmark. Pay attention to the names as they are hard coded:

  1. Download and Install your cpu2006v1.2 to your controller and name the folder: cpu2006/

  2. Create a config file called linux64-x64-gcc47.cfg and save it to

     cpu2006/config/linux64-x64-gcc47.cfg
    

See config examples in this directory.

  1. Do a test run on bare metal controller:

     cpu2006/bin/runspec --config=linux64-x64-gcc47.cfg --tune=base --size=test --noreportable --rate 1 1
    
  2. If test works, tar up the directory into a file called cpu2006v1.2.tgz and save it to your PerfKit data directory:

     tar -cvzf cpu2006v1.2.tgz cpu2006
     cp cpu2006v1.2.tgz ~/PerfKitBenchmarker/perfkitbenchmarker/data/
    
  3. Run test in the cloud:

     ./pkb.py --project=project-name --machine_type n1-standard-2 --benchmarks speccpu2006
     ./pkb.py --cloud=AWS --machine_type=c4.large --benchmarks=speccpu2006