How to install byte-unixBench on Ubuntu

Home / How to / How to install byte-unixBench on Ubuntu

From UnixBench project homepage:

UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years.

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.

First install required libraries for compilation :

apt-get install libx11-dev libgl1-mesa-dev libxext-dev perl  perl-modules make

Then get the unixbench and run it :

tar xvf unixbench-5.1.2.tar.gz
cd unixbench-5.1.2

One Comment

  • gcc missing
    apt-get install build-essential

    gcc -o ./pgms/ubgears -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/ubgears.c -lGL -lXext -lX11
    /tmp/ccYrYko4.o: In function `gear.constprop.1′:
    ubgears.c:(.text.unlikely+0x4a8): undefined reference to `sincos’
    ubgears.c:(.text.unlikely+0x57d): undefined reference to `sincos’
    ubgears.c:(.text.unlikely+0x635): undefined reference to `sincos’
    ubgears.c:(.text.unlikely+0x69e): undefined reference to `sincos’
    ubgears.c:(.text.unlikely+0x6f9): undefined reference to `sincos’
    /tmp/ccYrYko4.o:ubgears.c:(.text.unlikely+0x750): more undefined references to `sincos’ follow
    /tmp/ccYrYko4.o: In function `gear.constprop.1′:
    ubgears.c:(.text.unlikely+0xf84): undefined reference to `sincosf’
    ubgears.c:(.text.unlikely+0xfd9): undefined reference to `sincos’
    collect2: error: ld returned 1 exit status
    make: *** [pgms/ubgears] Error 1

    Run: “make all” failed; aborting

Leave a Reply