How to install and run UnixBench on CentOS or Debian/Ubuntu?

This tutorial explains how to install and run UnixBench on a CentOS Linux or Debian Linux / Ubuntu Linux dedicated server or VPS.

The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple tests are used to test various aspects of the system’s performance. These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores. The entire set of index values is then combined to make an overall index for the system.

Some very simple graphics tests are included to measure the 2D and 3D graphics performance of the system.

Multi-CPU systems are handled. If your system has multiple CPUs, the default behaviour is to run the selected tests twice — once with one copy of each test program running at a time, and once with N copies, where N is the number of CPUs. This is designed to allow you to assess:
– the performance of your system when running a single task
– the performance of your system when running multiple tasks
– the gain from your system’s implementation of parallel processing

Do be aware that this is a system benchmark, not a CPU, RAM or disk benchmark. The results will depend not only on your hardware, but on your operating system, libraries, and even compiler.

How to install UnixBench 5.1.3 on a CentOS machine

# yum install gcc gcc-c++ make libXext-devel
# yum groupinstall "Development Tools"
# yum install libX11-devel mesa-libGL-devel perl-Time-HiRes
# wget -c
# tar xvzf unixbench-5.1.3.tgz
# cd unixbench-5.1.3
# make
# ./Run

How to install UnixBench 5.1.3 on a Debian / Ubuntu machine

# apt-get install libx11-dev libgl1-mesa-dev libxext-dev perl perl-modules make
# wget
# tar xvf unixbench-5.1.3.tgz
# cd unixbench-5.1.3
# ./Run