System Performance Measurement Tool – UnixBench

By Kwok Whye3 Comments

Always we hear that people said one server is better than another without much data to prove it. To have data-driven method to mesuare your servers, UnixBench is the right tool for you.

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.
To refer more info about UnixBench, please refer http://code.google.com/p/byte-unixbench/.

UnixBench Installation
To install UnixBench, run the folloing command.

wget -c http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
tar xvzf unixbench-5.1.2.tar.gz
cd unixbench-5.1.2
make

You might face the following error during the make or run process.

./src/ubgears.c:48:22: error: X11/Xlib.h: No such file or directory
./src/ubgears.c:49:23: error: X11/Xutil.h: No such file or directory
./src/ubgears.c:50:24: error: X11/keysym.h: No such file or directory
./src/ubgears.c:51:19: error: GL/gl.h: No such file or directory
./src/ubgears.c:52:20: error: GL/glx.h: No such file or directory

If you face the above error, run the following command to install required library.

yum install libXext-devel

After the installation, just execute Run to test your system score. The higher the index score means the better performance your system.

./Run

I  tried to run it on HP DL360 G7 Servers .  The score is 2217.3 as following.

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   46746016.5   4005.7
Double-Precision Whetstone                       55.0       9329.1   1696.2
Execl Throughput                                 43.0      15400.4   3581.5
File Copy 1024 bufsize 2000 maxblocks          3960.0     263720.7    666.0
File Copy 256 bufsize 500 maxblocks            1655.0      77007.4    465.3
File Copy 4096 bufsize 8000 maxblocks          5800.0     802151.6   1383.0
Pipe Throughput                               12440.0    3621668.1   2911.3
Pipe-based Context Switching                   4000.0    1161260.5   2903.2
Process Creation                                126.0      46270.3   3672.2
Shell Scripts (1 concurrent)                     42.4      20560.2   4849.1
Shell Scripts (8 concurrent)                      6.0       2886.7   4811.1
System Call Overhead                          15000.0    2804935.1   1870.0
                                                                   ========
System Benchmarks Index Score                                        2217.3

I tested to run on virtual machine with Intel Core Duo E7200 (without hardware virualization) and 512MB Ram and the score is only 157.7 as following.

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    8405924.0    720.3
Double-Precision Whetstone                       55.0       2751.8    500.3
Execl Throughput                                 43.0        380.8     88.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     127162.8    321.1
File Copy 256 bufsize 500 maxblocks            1655.0      34115.8    206.1
File Copy 4096 bufsize 8000 maxblocks          5800.0     402313.4    693.6
Pipe Throughput                               12440.0     192845.7    155.0
Pipe-based Context Switching                   4000.0       4580.7     11.5
Process Creation                                126.0        613.0     48.6
Shell Scripts (1 concurrent)                     42.4        670.0    158.0
Shell Scripts (8 concurrent)                      6.0         85.1    141.8
System Call Overhead                          15000.0     124736.9     83.2
                                                                   ========
System Benchmarks Index Score                                         157.7

With this tool, it will be easier for everyone to measure system performance of every servers in future.

Linux

3 Comments to “System Performance Measurement Tool – UnixBench”

  1. iphone 5 says:

    I really like your weblog.. really wonderful shades & theme. Did you create this web site yourself? Plz reply again as I’m looking to create my own weblog and would like to know wheere u acquired this from. many thanks

    Administrator Reply :
    Yes, I created it byself using wordpress. Thank for your comment. :)

  2. the new iphone 5 says:

    Your type is so exclusive in comparison with numerous others. Thanks for publishing once you possess the chance,Guess I’ll just make this bookmarked.two

  3. […] Run Unixbench to measure current system score first. The score is 799.5. […]

Leave your Comment

Your email address will not be published. Required fields are marked *


five − 2 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blue Taste Theme created by Jabox