Introducing STHbench.sh – Server Benchmarking Made Easy

1
Posted November 18, 2013 by Patrick Kennedy in Client Tips
STH Wide copy

In early 2013 we changed from a Windows test environment over to Linux. One of the driving factors was the ability to use freely available benchmarks to get a relative idea regarding performance. The official server benchmarking script, STHbench.sh is a tool we use to rapidly run a few common tests. The script has three simple commands, noted below, to run and utilizes all freely available benchmarks. Furthermore, it utilizes a simple Ubuntu Server installation (12.04 LTS or newer) as a base operating system. This ensures that anyone can run the script on virtually any machine.

You can find information on the official thread here: Introducing the STHbench.sh server benchmark scripts | STH forums

Current STHbench.sh Release

Currently the tests being run are:

  • Hardinfo
  • UnixBench 5.1.3 Single and Multi-threaded
  • c-ray 1.1 low and higher detail renders
  • crafty chess benchmark
  • Phoronix Test Suite
    • STREAM
    • 7-Zip Compression
    • OpenSSL
    • PyBench

Using the script you can now run the same set of benchmarks we run on STH on your own servers in a very simple manner. There is certainly more in development for the scripts.

Other than Ubuntu 12.04 LTS or newer, the script requires an active network setup with Internet access. This is so that the server can “wget” the benchmarking script. It is executed with only three simple commands:

  1. (w)gets the script
  2. make the script executable
  3. run the script – updating the system, downloading the necessary files, compiling as necessary and then running benchmarks.

All output is sent to a single log-file for easy viewing after the fact.

STHbench.sh Development

We do not leave good enough alone at STH. That is what spawns projects like the Mini Cluster in a Box V2. We have heard the desire for additional processor benchmarks as well as benchmarks for additional applications such as memcached, redis, nginx, ffmpeg and others. We also now have a development branch that includes a few key updates:

  • Adds sysbench to the suite
  • Runs sysbench CPU test
  • Runs two redis-benchmark tests
  • Removes apt-get spam from logs (this generates well over 1,000 lines of text)
  • Adds OS detection for CentOS/ RHEL

More is being added over time until we get to a new master version. We are also working on getting the text automatically parsed and uploaded into a results viewer. Surely, more to come on this.

Again, head over to the STH forums and try out the STHbench.sh server benchmark script. You can find the current development version there also. If you do have ideas for test to run, feel free to add the commands in that thread.


About the Author

Patrick Kennedy

Patrick has been running ServeTheHome since 2009 and covers a wide variety of home and small business IT topics. For his day job, Patrick is a management consultant focused in the technology industry and has worked with numerous large hardware and storage vendors in the Silicon Valley. The goal of STH is simply to help users find some information about basic server building blocks. If you have any helpful information please feel free to post on the forums.

One Comment


  1.  
    Donyang Le

    You are totally on the right track with this. Hope to see updates forthcoming.





Leave a Response

(required)


Newly Reviewed
 
  • Ubuntu Release Cycle
  • BayTech PDU
  • MyDigitalSSD BP4 128GB Front Side
  • 8.9
    AMD Sempron 3850 BIOS View
  • 8.3
    AMD Sempron 2650 BIOS Shot
  • 9.0
    AMD AM1 Platform