Pages

Monday, 7 July 2014

Quick Start Guide: Phoronix and OpenBenchmarking.org

Install and run Phoronix

  1. Install the Phoronix test suite

    > sudo apt-get install phoronix-test-suite 
    
  2. (optional) make an account on http://openbenchmarking.org/

  3. (optional) login to openbenchmarking.org

    > phoronix-test-suite openbenchmarking-login
    
  4. Install the tests you want to run.

    > phoronix-test-suite install [Test 1] [Test 2] ...
    

    Example:

    > phoronix-test-suite install nginx phpbench pybench compress-pbzip2 compress-7zip openssl scimark2 encode-mp3 x264 stream
    
  5. Prepare Phoronix to run your tests

    > phoronix-test-suite batch-setup
    
  6. Run your tests

    > phoronix-test-suite batch-run [Test 1] [Test 2] ...
    

    Example:

    > phoronix-test-suite batch-run nginx phpbench pybench compress-pbzip2 compress-7zip openssl scimark2 encode-mp3 x264 stream
    

Some more commands

  • The easiest way to compare your system against an existing published benchmark is to run Phoronix with a referral to that test. Here’s an example based on http://openbenchmarking.org/result/1407059-GLND-ARMSBCB91

    > phoronix-test-suite benchmark 1407059-GLND-ARMSBCB91
    

    Running Phoronix like this will automatically merge your result with the source benchmark it is based on.

  • List all available tests:

    > phoronix-test-suite list-available-tests
    
  • List all test results:

    > phoronix-test-suite list-results
    
  • Remove a result

    > phoronix-test-suite remove-result [Test-Result]
    
  • Rename an identifier in a result file

    > phoronix-test-suite rename-identifier-in-result-file [Test-Result]
    
  • Upload a test result to http://openbenchmarking.org/

    > phoronix-test-suite upload-result [Test Result]
    
  • Run a benchmark. This is more verbose compared to a batch-run, for each test some extra user input could be required:

    > phoronix-test-suite benchmark nginx phpbench
    
  • Merge results manually on different systems.
    • copy ~/.phoronix-test-suite/test-results/

      > phoronix-test-suite merge-results [Test Result]  ...