Users rarely think about the configuration and performance they use a personal computer. Usually the interest in this topic arises, if the user is keen on information technology or if he is not satisfied with the current performance of the system.
However, this question is very important, especially if the desktop is your device used for entertainment, recreation and work. In this article we will understand how to perform performance test in Linux and consider one of the performance testing tool — Phoronix Test Suite.
What is the Phoronix Test Suite?
This package is open — source software used for automated testing of components of the system using a huge set of benchmarks. With data closely related to the site openbenchmarking.org that preserve and maintain its database of test results and to share their achievements with others.
Using the Phoronix Test Suite you can find the bottleneck in your configuration of your computer compare your system with similar systems of other users to assess the overall performance or the performance of the specific host PC. For all these purposes, the package offers a wide variety of tests, divided into several categories:
- System tests the overall system performance.
- Processor tests the processor speed.
- Memory tests the performance of RAM.
- Graphics testing graphics performance.
- Disk tests the performance of the disk subsystem.
Let’s consider each category separately, making a list of interesting benchmarks.
Available performance tests
Tests overall system performance (System):
- PyBench — a test that calls various functions that are implemented using Python. Allows you to evaluate the overall performance of the Linux system.
- Blender — test-based software with open source code to create 3D scenes and 3D models.
- BRL-CAD — a benchmark based on cross-platform software for solid modeling.
- IndigoBench — test based on Indigo Renderer (photorealistic render for the GPU and CPU, applying the techniques of accurate physics simulation of light).
- LuxMark — multiplatform OpenGL test based on LuxRender. OpenCL uses library contains several different scenes for rendering. LuxRender — rendering system for Blender and 3DS Max.
- Ethminer — benchmark based on Ethereum Ethminer (GPU miner for different coins based on the algorithm Ethash).
- V-Ray — a benchmark based on rendering V-Ray from Chaos Group.
The performance test CPU (Processor):
- Build-GCC — linux CPU test showing how long it takes to build the collection the GNU Compiler Collection. Contains libraries written in the following languages: C, C++, Objective-C, Fortran, Ada, Go, and D.
- Build-PHP — test evaluates the speed of compilation PHP7.
- Go-benchmark — a benchmark that evaluates the performance of the CPU in Go for HTTP, JSON and garbage collection.
- Dacapobench tests DaCapo written in Java and testing the performance of the CPU.
- SciMark2 — SciMark 2.0 benchmark in assessing the performance of scientific and integer calculations, and developed by programmers National Institute of Standards and Technology. Contains several subtests that are based on different algorithms.
- FFmpeg test on the basis of a set of libraries FFmpeg that allows to encode/decode audio and video in various formats. Testing the performance of encoding audio/video system.
- LuxCoreRender — render with open source. This benchmark evaluates the performance of the CPU.
- X264 test CPU performance Linux when encoding x264 video.
- Povray — benchmark on the basis of the program the Persistence of Vision Raytracer, that builds a 3D scene based on ray tracing.
- OpenSSL — CPU test, which measures processor performance while using the RSA encryption algorithm, 4096-bit OpenSSL.
Tests of memory performance (Memory):
- RAMspeed — memory test Linux, which measures the performance of RAM.
- SQLite — test of memory measuring the time required to perform insertion of data in an indexed database.
Tests the performance of the disk subsystem (Disk):
- Iozone — benchmark the hard disk linux and the file system.
Tests graphics performance (Graphics):
- UNIGINE-Heaven — benchmark that calculates the average framerate in UNIGINE Heaven demo. This demo was released in 2009.
- UNIGINE-Valley — test graphics card linux, calculates the average framerate in UNIGINE Valley demo. The original was released in 2013 and uses OpenGL 3.
- UNIGINE-Superposition — test card is based on Superposition UNIGINE demo, released in 2017. The original test contains a mode for virtual reality.
- UE4-Atlantis — test based on the demo on the Unreal Engine 4. The test was released in 2015.
Performance test Linux
1. Install Phoronix Test Suite
In repositories operating systems Linux usually contains an outdated version of the package. So, first download the latest version of the distribution at: https://www.phoronix-test-suite.com/?k=downloads.
Further, the proposed installation sequence for the operating system Ubuntu.
Open bash and execute the following command:
sudo apt install gdebi-core
Package to install software from the packages *.deb, installed. Then install the downloaded us version of the test software:
sudo gdebi phoronix-test-suite_9.4.0_all.deb
This command should be run from the folder in which the downloaded package Phoronix Test Suite.
2. The account connection
Further recommend you on the website openbenchmarking.org preserving the results of the tests using the Phoronix Test Suite, to create your account. After that, plug your account with the command:
Enter your username and password.
The Phoronix Test Suite installation completed.
3. The selection of available benchmarks
To see the available benchmarks you can use command:
sudo phoronix-test-suite list-all-tests
To view the installed tests with the command:
sudo phoronix-test-suite list-installed-tests
View of unidentified tests with the command:
sudo phoronix-test-suite list-not-installed-tests
4. Installation tests
Set the desired test with the command:
sudo phoronix-test-suite install [test name]
sudo phoronix-test-suite install build-gcc
In the case of incorrect installation of the selected benchmark can be used to remove a test command:
sudo phoronix-test-suite remove-installed-test [test name]
sudo phoronix-test-suite remove-installed-test build-gcc
In order to identify errors in the installation process, you must use the command:
sudo phoronix-test-suite debug-install [test name]
sudo phoronix-test-suite debug-build install-gcc
5. Running tests
Run to start a specific performance test linux-of the package run:
sudo phoronix-test-suite run [test name]
sudo phoronix-test-suite run pybench
After the launch of Phoronix Test Suite asks to save the results or not. Select Y. In the following query you need to enter the file name of the test results, e.g. test-28-02-2020-01. The test then prompts for a unique name for the test (test configuration). Latest is requested description of the test configuration (you can leave the default).
After test execution you will be prompted to view the result in the browser and upload the result on website openbenchmarking.org.
The result in the browser looks like the following
Run multiple tests simultaneously by the command:
sudo phoronix-test-suite run [test name] [test name] [test name] … [name of test]
sudo phoronix-test-suite run scimark2 pybench
Run the test with the error monitoring is performed with the command:
sudo phoronix-test-suite debug-run [test name]
sudo phoronix-test-suite debug-run scimark2
6. Viewing test results
To display a list of saved test results on Linux using the command:
sudo phoronix-test-suite list-saved-results
To view a specific result by using the command:
sudo phoronix-test-suite show-result [saved name]
sudo phoronix-test-suite show-result 2002279-FIRE-TEST26009
Delete a result using the command:
sudo phoronix-test-suite remove-result [saved name]
sudo phoronix-test-suite remove-result 2002279-FIRE-TEST26009
Rename the file containing the results, you can use the following command:
sudo phoronix-test-suite rename-result-file [saved name]
sudo phoronix-test-suite rename-result-file test-26-02-2020-02
The team requests a new file name:
Save the results in pdf format with the command:
sudo phoronix-test-suite result-file-to-pdf [saved name]
sudo phoronix-test-suite result-file-to-pdf test-28-02-2020-01
To combine results from different files into one by using the command:
sudo phoronix-test-suite merge-results [saved name] [saved name] … [saved name]
sudo phoronix-test-suite merge-results test-26-02-2020-02 test-28-02-2020-01
The name for the merged result, the program selects itself, separate results are also stored.
Attention! When you execute this command the link to view the result in browser I get broken, but later the result was you can view with the command
sudo phoronix-test-suite show-result [saved name].
7. Work with the site openbenchmarking.org
Insert the result in database as follows:
sudo phoronix-test-suite upload-result [saved name]
sudo phoronix-test-suite upload-result test-28-02-2020-01
To load a specific result of the current user from the site on a PC you can use the command:
sudo phoronix-test-suite clone-result [OpenBenchmarking ID test]
sudo phoronix-test-suite clone-result 2002279-FIRE-TEST26009
To look at downloaded from this IP on the website the results of the tests using the command:
sudo phoronix-test-suite openbenchmarking-uploads
Also see the test results directly in browser on the website openbenchmarking.org.
In order to form the sample tests, you must select the name of the output file and click on Compare Selected Results.
The result, a sample would look like this:
8. Configure network access for the tests
The following command shows the settings for the network settings for package:
sudo phoronix-test-suite network-info
To configure the proxy server for access to databases of tests in the Internet with the command:
sudo phoronix-test-suite network-setup
9. The testing server computers in the local network
In addition, the Phoronix Test Suite package contains a server remote testing, Phoromatic, which you can use to organize centralized testing and storage of test results in the local network. The detailed consideration of the server is beyond the scope of our article.
In the article we described how to evaluate the performance of Linux and how to use Phoronix Test Suite. This package contains a huge selection of tests to suit every taste. We recommended some of them for extensive testing of the personal computer. Also discussed specifics of the program in a command shell. Attention was paid to loading results on the website, combining and viewing the results.
Now you too can join the community of testers Phoronix Test Suite. Share your test results in the comments!