Run Unixbench Benchmark

From Leo's Notes
Revision as of 04:26, 24 February 2017 by Leo (talk | contribs) (Text replacement - "{{Highlight" to "{{highlight")
This page was last edited on 24 February 2017, at 04:26.

Unixbench is a benchmark program for unix based systems which was originally from Byte magazine.

For more information, see https://code.google.com/p/byte-unixbench/

Linux

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

# yum install -y mesa-libGL-devel libXext-devel libX11-devel perl-Time-HiRes make gcc wget glibc-devel git
# git clone https://github.com/kdlucas/byte-unixbench.git
# cd byte-unixbench/UnixBench
# ./Run
The benchmark takes time!
The benchmark will run once on one core. If your system has multiple cores, it will run again across all cores. This can take anywhere from 10s of minutes to nearly an hour. For the best result, run the benchmark on an idle system.


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 in the Makefile:

-march=native

Other Systems

You should be able to run this on other Unix based systems including FreeBSD. Just make sure you have the proper dependencies installed.