Run Unixbench Benchmark

From Leo's Notes
Revision as of 20:58, 25 November 2014 by Leo (talk | contribs) (→Issues)
This page was last edited on 25 November 2014, at 20:58.

Unixbench is a benchmark program for unix based systems. For more information, take a look at https://code.google.com/p/byte-unixbench/


Linux

On a clean installation of CentOS (or any other RH derivative), run the following code:

yum install -y mesa-libGL-devel libXext-devel libX11-devel perl-Time-HiRes make gcc
wget https://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
tar -xzf UnixBench5.1.3.tgz
cd UnixBench
./Run

Issues

If you run this under Qemu, you might get:

gcc: error: missing argument to ‘-march=’
make: *** [pgms/arithoh] Error 1

You will need to add an extra option to the Makefile:

 -march=native