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/
to download and build benchmarks, the following packages are needed:
install with:
$ apt install libpopt-dev build-essential autoconf mesa-utils vulkan-utils unzip apt-file php-cli php-xml
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 a test with the following syntax:
./phoronix-test-suite benchmark [name]
There are 100s of tests. Two easy to run and small tests are:
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.