User Tools

Site Tools


benchmark_linux_vm

Benchmark Linux VM

Topic comes up from now an then to inspect the performance of a certain VM.

An easy and standardised way is the Phoronix Test Suite: https://www.phoronix-test-suite.com/

Requirements Debian

to download and build benchmarks, the following packages are needed:

  • Unordered List Item libpopt-dev
  • build-essential
  • autoconf
  • mesa-utils
  • vulkan-utils
  • unzip
  • apt-file
  • php-cli
  • php-xml

install with:

$ apt install libpopt-dev build-essential autoconf mesa-utils vulkan-utils unzip apt-file php-cli php-xml 

Download binaries

wget https://phoronix-test-suite.com/releases/phoronix-test-suite-10.2.2.tar.gz && \
tar xvf phoronix-test-suite-10.2.2.tar.gz && \
cd phoronix-test-suite

Run Benchmarks

Run a test with the following syntax:

./phoronix-test-suite benchmark [name]

Tests to use

There are 100s of tests. Two easy to run and small tests are:

  • c-ray (for cpu performance)
  • dbench (for io performance)

You might choose different tests based on your needs.

After the test, a summary of the results is displayed. If the test-file was saved, it can be later retrieved with:

./phoronix-test-suite show-results [result-name]

Phoronix test suite ist linked to Openbenchmarking.org. The site provides a vast number of results to compare to.

https://openbenchmarking.org/

benchmark_linux_vm.txt · Last modified: 2024/04/11 14:23 by 127.0.0.1