Benchmarking Linux

May 2010


  1. Installing phoronix-test-suite

    The Phoronix test suite package installs only the binaries. The tests themselves are fetched from the website at benchmarking time (although they can be prefetched). In this step, we only install the program:

    sudo apt-get install phoronix-test-suite

  2. Getting some daemons out of the way

    sudo /etc/init.d/vmware stop
    sudo /etc/init.d/zabbix stop
    sudo /etc/init.d/landscape-client stop
    sudo /etc/init.d/kdm stop

  3. Entering batchmode settings

    sudo phoronix-test-suite batch-setup

  4. Running the tests

    sudo phoronix-test-suite batch-benchmark linux-system

  5. Comparing the results

    The results are stored in directories in ~/.phoronix-test-suite/test-results (somtimes in ~root when using sudo. Fetch them from there and copy them to a single machine. If you put them back in ~/.phoronix-test-suite/test-results on that machine, you can now do something like:

    user@host:~$ phoronix-test-suite list-results

    ====================================
    Phoronix Test Suite - Saved Results
    ====================================

    2010-05-03-1039
    Saved Name:                    Test: linux-system
    - linux-system-001

    linux-system-cit-zb-3-53
    Saved Name:                    Test: linux-system
    - linux-system-cit-zb-3-53

    linux-system-cit-zb-39-116
    Saved Name:                    Test: linux-system
    - linux-system-cit-zb-39-116

    2010-05-03-1039
    Saved Name:                    Test: linux-system
    - linux-system-001
    - linux-system-cit-zb-3-53
    - linux-system-cit-zb-39-116

    2010-05-03-1039
    Saved Name:                    Test: linux-system
    - linux-system-001
    - linux-system-cit-zb-3-53


    user@host:~$ phoronix-test-suite merge-results 2010-05-03-1039 linux-system-cit-zb-3-53 linux-system-cit-zb-39-116

    You can now browse ~/.phoronix-test-suite/results with a web browser to se nice tables and graphs.g