As many readers on this site know, this site has always focused on creating benchmarks that could be run on any system without the need for proprietary software. This year we took the major step of moving all server benchmarks over to Linux from Windows after three years of using Windows as our benchmark reference point.
The other main goal was to make this as simple as possible to run for users. For example, following 30 different pages worth of instructions to collect different pieces of information seems not so user friendly. With the current benchmark, one can do a clean Ubuntu Server installation (12.04 or higher) and the script will update the system, install dependencies, download benchmarks, compile files as needed and then run the benchmarks.
Current Release
Currently the tests being run are:
To run the current release:
After running this benchmark there will be a file named "STHbench.sh.log" which will have detailed information about the tests run.
Current Development Version
The current benchmark is what we have been using this year. Instead of letting that be, we did want to add additional tests to the suite. As a result, we do have a development instance.
Dev002
Dev003
Dev004
Dev005
Dev006
Dev007
Dev008
Dev009
To run (note this may not work!!!!):
Thanks to nitrobass24, mir and Chuckleb for making MAJOR updates to the script starting with Dev002, including heavy lifting getting it to work under both Ubuntu or CentOS!
Current Enhancement List
How you can help
First, please test this out on your own systems. Feel free to review the script's code prior to running. We intentionally made the code easy to read so that you can make an informed decision to proceed.
Great points of feedback can be:
1. "This works/ does not work" (and here is the log file)
2. "I would like to see benchmark XYZ and here is what should be added to the script for that to happen."
3. "The code is ugly, here is a fixed version."
4. "Can I help with building the parsing or web viewer piece?"
5. "Hey here's an idea..."
I am certainly not a good coder by any means so help and feedback is always appreciated.
The other main goal was to make this as simple as possible to run for users. For example, following 30 different pages worth of instructions to collect different pieces of information seems not so user friendly. With the current benchmark, one can do a clean Ubuntu Server installation (12.04 or higher) and the script will update the system, install dependencies, download benchmarks, compile files as needed and then run the benchmarks.
Current 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
To run the current release:
Code:
wget http://forums.servethehome.com/pjk/STHbench.sh
chmod +x STHbench.sh
./STHbench.sh
Current Development Version
The current benchmark is what we have been using this year. Instead of letting that be, we did want to add additional tests to the suite. As a result, we do have a development instance.
Dev002
- 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)
- Make a version that can work on CentOS also
Dev003
- Fixes OS detection for Ubuntu (even development/ daily builds)
Dev004
- Fixes redis-benchmark issue under some OSes and adds a 6379.conf file for the benchmark
Dev005
- Debian install and redis fixes
Dev006
- Installer fixes
- Shutdown redis-server after benchmarking is complete
Dev007
- Added check to ensure script is run as root/ SU
- Added removal code for benchmarks
- Updated Debian installation fixes
Dev008
- Added STREAM benchmark (non-PTS)
- Added OpenSSL benchmark (non-PTS)
- Added crafty benchmark back (from source)
- Added lscpu for CPU information
- Lowered the prime problem size for sysbench
- Added unzip
Dev009
- Updated STREAM benchmark (non-PTS)
- Added NPB benchmark
To run (note this may not work!!!!):
Code:
wget http://forums.servethehome.com/pjk/STHbench-Dev009.sh
chmod +x STHbench-Dev009.sh
sudo ./STHbench-Dev009.sh
Current Enhancement List
- Add Apache / nginx benchmarks
- Add memcached benchmarks
- Build script parser to extract relevant information from the log file
- Make into LiveCD for and easy to run benchmark
- Make tests switched using CLI so you can run a single test at a time
- Make an easy way to run the script multiple times
- Add x264 video encoding (see here)
- Upload script data to web application for online result viewer functionality
How you can help
First, please test this out on your own systems. Feel free to review the script's code prior to running. We intentionally made the code easy to read so that you can make an informed decision to proceed.
Great points of feedback can be:
1. "This works/ does not work" (and here is the log file)
2. "I would like to see benchmark XYZ and here is what should be added to the script for that to happen."
3. "The code is ugly, here is a fixed version."
4. "Can I help with building the parsing or web viewer piece?"
5. "Hey here's an idea..."
I am certainly not a good coder by any means so help and feedback is always appreciated.