Run Unixbench Benchmark: Difference between revisions

From Leo's Notes
This page was last edited on 19 September 2015, at 23:31.
No edit summary
No edit summary
Line 1: Line 1:
Unixbench is a benchmark program for unix based systems. For more information, take a look at https://code.google.com/p/byte-unixbench/
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 ==
== Linux ==
On a clean installation of CentOS (or any other RH derivative), run the following code:
On a clean installation of CentOS (or any other RedHat derivative), run the following:
   
   
<syntaxhighlight lang="bash" line start="1" enclose="div">
{{Highlight|bash|
yum install -y mesa-libGL-devel libXext-devel libX11-devel perl-Time-HiRes make gcc wget glibc-devel
yum install -y mesa-libGL-devel libXext-devel libX11-devel perl-Time-HiRes make gcc wget glibc-devel
wget https://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
wget https://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
Line 11: Line 12:
cd UnixBench
cd UnixBench
./Run
./Run
</syntaxhighlight>
}}
 
{{Info|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 ===
=== Issues ===
If you run this under Qemu, you might get:
If you run this under Qemu, you might get:


<syntaxhighlight lang="text">
{{Highlight|code=
gcc: error: missing argument to ‘-march=’
gcc: error: missing argument to ‘-march=’
make: *** [pgms/arithoh] Error 1
make: *** [pgms/arithoh] Error 1
</syntaxhighlight>
}}
 
You will need to add an extra option to the Makefile:
  -march=native


You will need to add an extra option to in the Makefile:
{{Highlight|code=
-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.


[[Category:Linux]]
[[Category:Linux]]
[[Category:Benchmarks]]
[[Category:Benchmarks]]
[[Category:Guides]]
[[Category:Guides]]

Revision as of 23:31, 19 September 2015

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:

bash
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.