docs-simoncor-net/docs/benchmarking/phoronix-test-suite.md

55 lines
1.2 KiB
Markdown

# Phoronix Test Suite
The Phoronix Test Suite does not require an introduction.
More information here: <https://www.phoronix-test-suite.com/>
## Install on Linux (Debian/Ubuntu)
```shell
wget -O- https://phoronix-test-suite.com/releases/phoronix-test-suite-10.8.4.tar.gz | tar xz
cd phoronix-test-suite && sudo ./install-sh
```
Install dependancies:
```shell
sudo apt install -y php-cli php-xml pkg-config
```
## Basic benchmark
For some quick basic system benchark you can use the following.
Check
[the docs](<https://github.com/phoronix-test-suite/phoronix-test-suite/blob/master/documentation/phoronix-test-suite.md>)
for more information.
```shell
phoronix-test-suite install fio sysbench
```
Setup the batch.
```shell
phoronix-test-suite batch-setup
```
Run the benchmark.
```shell
phoronix-test-suite batch-benchmark fio sysbench
```
## Compare
Compare a system directly to a previous result.
```shell
phoronix-test-suite benchmark 2511138-NE-2511139NE28
```
## Results
The results can be uploaded to the openbenchmark.org website for easy sharing.
[Two-Way example](<https://openbenchmarking.org/result/2511139-NE-2511132NE4>)
[Three-Way example](<https://openbenchmarking.org/result/2511138-NE-2511139NE28>)