Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Phoronix test suite #6

Open
TechnologyClassroom opened this issue Jun 8, 2021 · 1 comment
Open

Integrate Phoronix test suite #6

TechnologyClassroom opened this issue Jun 8, 2021 · 1 comment

Comments

@TechnologyClassroom
Copy link
Owner

https://github.com/phoronix-test-suite/phoronix-test-suite/

@TechnologyClassroom
Copy link
Owner Author

TechnologyClassroom commented Mar 13, 2022

Phoronix Test Suite

Website

GitHub GPL-3.0-or-later (Tests are under a variety of licenses)

Documentation

OpenBenchmarking.org

phoronix-test-suite or pts is a program that can download and run tests that stress a computer. Tests are scored and results can be used to compare different computers, processors, RAM, graphics cards, etc.

Temporary install

Install dependencies for Debian based systems.

sudo apt update
sudo apt install -y php-cli php-xml php-gd php-bz2 php-sqlite3 php-curl curl wget

Download the latest version into a temporary directory.

cd $(mktemp -d)  # Changes to a newly created temporary directory.
latestpts=$(curl -s https://github.com/phoronix-test-suite/phoronix-test-suite/releases/latest | sed 's/^.*https/https/' | sed 's/">redirected.*$//')  # Finds the latest release.
wget $(curl -s $latestpts | grep -E 'href.*tar.gz' | head -n 1 | sed 's|^.*href="|https://github.com/|' | sed 's/" rel=.*$//')  # Downloads the archive of the latest release.
tar xf ./*tar.gz  # Extracts archive.
cd phoronix-test-suite  # Changes to new directory.

Run tests

List all tests.

./phoronix-test-suite list-all-tests

Run a test with interactive questions. Replace pts/stress-ng with the test you want to run.

./phoronix-test-suite benchmark pts/stress-ng  # Run test with questions.

If you uploaded your tests, others can compare their systems.

Run a test without questions. Replace pts/stress-ng with the test you want to run. It is unclear from the documentation which answers PTS_SILENT_MODE=1 command gives. You need to configure user-config.xml if you want to manually configure automation with custom answers. Default user-config.xml

PTS_SILENT_MODE=1 ./phoronix-test-suite benchmark pts/stress-ng  # Run test without questions.

Comparing two OpenBenchmark.org results

After you know of two tests, you can compare them by separating their unique code in the URL with a comma like this result:

Tests and Suites

OpenBenchmarking.org Tests OpenBenchmarking.org Suites

While phoronix-test-suite (pts) seems to be entirely free software, pts acts as a benchmark package manager and can pull additional software depending on the test specified. I did not look into all of the tests, but you can safely assume some of them are nonfree as they include loading proprietary video game engines. Some of the tests would appear to be free such as blender, openssl, vosk, etc.

Tests are mirrored from OpenBenchmark on GitHub and state UNLESS NOTED OTHERWISE INSIDE INDIVIDUAL TEST PROFILE DIRECTORIES, TEST PROFILES ARE MADE PUBLIC UNDER THE MIT LICENSE. here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant