Difference between revisions of "Benchmarking"

From ArchWiki
Jump to navigation Jump to search
(Adding iperf)
m (superpi)
Line 18: Line 18:
=== superpi ===
=== superpi ===
superpi is also available in the AUR: https://aur.archlinux.org/packages/super_pi/
=== interbench ===
=== interbench ===

Revision as of 16:08, 29 June 2013

Benchmarking is the act of measuring performance and comparing the results to another system's results or a widely accepted standard through a unified procedure. This unified method of evaluating system performance can help answer questions such as:

  • Is the system performing as it should?
  • What driver version should be used to get optimal performance?
  • Is the system capable of doing task x?

Many tools can be used to determine system performance, the following provides a list of tools available.

Stand alone tools

glxgears (and why not to use this as a benchmark)

# pacman -S mesa-demos

Glxgears is a popular OpenGL test that renders a very simple OpenGL performance and outputs the frame rate. Though glxgears can be useful as a test of direct rendering capabilities of the graphics driver, glxgears is an outdated tool that is not representative of the current state of linux graphics and overall OpenGL possibilities.

So to summarize, glxgears only tests a small part of what you typically see in a 3D game. You could have glxgears FPS performance increase, but your 3D game performance decrease. Likewise, you could have glxgears performance decrease and your 3D game performance increase. source



superpi is also available in the AUR: https://aur.archlinux.org/packages/super_pi/


This benchmark application is designed to benchmark interactivity in Linux.

It is designed to measure the effect of changes in Linux kernel design or system configuration changes such as CPU, I/O scheduler and filesystem changes and options. With careful benchmarking, different hardware can be compared.

interbench is available in the AUR: https://aur.archlinux.org/packages.php?ID=2093


(n)ttcp measures point-to-point bandwidth over any network connection, the binary must be provided on both nodes between which you want to determine bandwidth. nttcp is a a much more convenient rewrite of ttcp.


iperf is a very easy to use point-to-point bandwidth testing tool that can use either TCP or UDP. It has nicely formatted output and a parallel test mode.

nttcp is available on the AUR: https://aur.archlinux.org/packages.php?ID=11469


The time command provides timing statistics about the command run by displaying the time that passed between invocation and termination. Time is available on most basic linux systems.

time tar -zxvf archive.tar.gz


Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: Obvious! Write sth and delete this. Or delete the heading. (Discuss in Talk:Benchmarking#)


You can Benchmark storage media with Hdparm.

This can also be done with dd and Co. There is an Article about Benchmarking disk wipes.

unigine (Heavens, Tropics and Sanctuary OpenGL Benchmark)

Unigine[1] has produced several modern OpenGL benchmarks based on their graphics engine with features such as:

* Per-pixel dynamic lighting
* Normal & parallax occlusion mapping
* 64-bit HDR rendering
* Volumetric fog and light
* Powerful particle systems: fire, smoke, explosions
* Extensible set of shaders (GLSL / HLSL)
* Post-processing: depth of field, refraction, glow, blurring, color correction and much more.

unigine-heavens is available in the AUR: https://aur.archlinux.org/packages.php?ID=35901

unigine-tropics is available in the AUR: https://aur.archlinux.org/packages.php?ID=25420

unigine-sanctuary is available in the AUR: https://aur.archlinux.org/packages.php?ID=45959

Software suites


This C++ rewrite of the original Bonnie benchmarking suite is aimed at performing several tests of hard drive and filesystem performance.

Bonnie++ is available in package bonnie++.


Iozone is useful for performing a broad filesystem analysis of a vendor’s computer platform. See this thread: https://bbs.archlinux.org/viewtopic.php?pid=969463

iozone is available in iozoneAUR.


HardInfo can gather information about your system's hardware and operating system, perform benchmarks, and generate printable reports either in HTML or in plain text formats. Hardinfo performs CPU and FPU benchmarks and has a very clean GTK UI.

hardinfo is available in hardinfo.

Phoronix Test Suite

The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for the Linux operating system. This software is designed to effectively carry out both qualitative and quantitative benchmarks in a clean, reproducible, and easy-to-use manner. This software is based upon the extensive Linux benchmarking work and internal tools developed by Phoronix.com since 2004 along with input from leading tier-one computer hardware vendors. This software is open-source and licensed under the GNU GPLv3. The Phoronix Test Suite consists of a lightweight processing core (pts-core) with each benchmark consisting of an XML-based profile with related resource scripts. The process from the benchmark installation, to the actual benchmarking, to the parsing of important hardware and software components is heavily automated and completely repeatable, asking users only for confirmation of actions.

This suite can be Installed with the package phoronix-test-suite , available in the Official Repositories.

PTS Desktop Live 2010.1

As an alternative to the installation of the Phoronix Test Suite to the system, Phoronix also provides a Live-CD. This Live-CD offers all the features of the Phoronix Test Suite and includes the latest ATI and NVIDIA binary drivers. It will allow you to run 40+ benchmarks from a live environment without the need to store anything on your hard drive and includes a working GUI interface.

Website: http://www.phoronix-test-suite.com/?k=pts_desktop_live

Documentation: http://www.phoronix-test-suite.com/documentation/2.4/pts_desktop_live.html

Related Links