Introducing the STHbench.sh benchmark script

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

rayt

New Member
Apr 18, 2013
10
0
1
I am very happy with my system, its been a worthwhile upgrade. Initially I had teething problems with the the system setup as many of the supermicro features were new to me. :rolleyes: Its easy to brick a server board with the wrong settings and then be forced into research to find out how to unbrick it. A very different experience from the consumer market. This website is godsend to me as everyone here are knowledgeable of high end systems, [particuarly supermicro], that are solid, stable, powerful, and can grow with need. :D

The benchmark test ran smooth for both the official and dev003 versions. The results seem "as expected", but I don't have anything to compare them to. Please note, I only have one cpu in a dual system, which is a non-standard configuration. The second CPU is not "needed" at this time. (I can double up the computing power anytime - the system is future proof - my main long term goal)

Low power consumption has been a surprise. The bios set to performance - energy efficient, which seems to be a reasonable power plan. With all the devices and 2 monitors plugged into the same UPS, the system typically draws 180 watts and may peak up to 350Watts. On sleep, it draws 100 watts, which is mostly the external drive. I have the standard supermicro passive cpu cooler, and the cpu never goes above 65C. Also the fact that the xeon v2 and v3 chips are drop in replacements is a outstanding feature of the of the 602 based motherboards [with bios update] .

I've emailed Patrick the results of the official test, with all the setup data stripped out. ( i don't know how to attach the log here) Sharing the test results is fine by me as I'd like to find out where my system stands.

As a suggestion, PPBM5 Benchmark Results does a nice job of evaluating members machines when it comes to video editing with premier pro. I do not have premiere pro nor am I interested in a 500MB download to run tests. The STH test was nice and simple in comparison.

And Patrick, I enjoy reading your front articles, they are well written and researched.


found out the STH email system has a message length limit. What the best way to upload the test results?

Ray
 
Last edited:

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
I am very happy with my system, its been a worthwhile upgrade. Initially I had teething problems with the the system setup as many of the supermicro features were new to me. :rolleyes: Its easy to brick a server board with the wrong settings and then be forced into research to find out how to unbrick it. A very different experience from the consumer market. This website is godsend to me as everyone here are knowledgeable of high end systems, [particuarly supermicro], that are solid, stable, powerful, and can grow with need. :D

The benchmark test ran smooth for both the official and dev003 versions. The results seem "as expected", but I don't have anything to compare them to. Please note, I only have one cpu in a dual system, which is a non-standard configuration. The second CPU is not "needed" at this time. (I can double up the computing power anytime - the system is future proof - my main long term goal)

Low power consumption has been a surprise. The bios set to performance - energy efficient, which seems to be a reasonable power plan. With all the devices and 2 monitors plugged into the same UPS, the system typically draws 180 watts and may peak up to 350Watts. On sleep, it draws 100 watts, which is mostly the external drive. I have the standard supermicro passive cpu cooler, and the cpu never goes above 65C. Also the fact that the xeon v2 and v3 chips are drop in replacements is a outstanding feature of the of the 602 based motherboards [with bios update] .

I've emailed Patrick the results of the official test, with all the setup data stripped out. ( i don't know how to attach the log here) Sharing the test results is fine by me as I'd like to find out where my system stands.

As a suggestion, PPBM5 Benchmark Results does a nice job of evaluating members machines when it comes to video editing with premier pro. I do not have premiere pro nor am I interested in a 500MB download to run tests. The STH test was nice and simple in comparison.

And Patrick, I enjoy reading your front articles, they are well written and researched.


found out the STH email system has a message length limit. What the best way to upload the test results?

Ray
Hi Ray,

Thank you for this. Any way you can just put into a text file and attach via e-mail?

Regards,
Patrick
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
Had a bug report on the Dev003 version when it hit the redis benchmark. Setup was using 12.04.3:

redis-stable/BUGS
redis-stable/Makefile
redis-stable/MANIFESTO
redis-stable/CONTRIBUTING
redis-stable/redis.conf
cd src && make all
make[1]: Entering directory `/home/mike/redis-stable/src'

Hint: To run 'make test' is a good idea ;)

make[1]: Leaving directory `/home/mike/redis-stable/src'
[sudo] password for mike:
mkdir: cannot create directory `/etc/redis': File exists
mkdir: cannot create directory `/var/redis': File exists Writing to socket: Connection refused Writing to socket: Connection refused Writing to socket: Connection refused Writing to socket: Connection refused Writing to socket: Connection refused Writing to socket: Connection refused Writing to socket: Connection refused Writing to socket: Connection refused
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
I did make a small edit to the CentOS/ RHEL side of Dev003.sh today. Found something missing when I tried it on the Rangeley platform.
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
I think you should try compiling crafty from source BTW
May fold this into Dev004. Been getting compile errors today which is slowing things down. Argh!

Also, heard some issues with the redis-benchmark so am trying a new structure now. The very strange bit is that this was working previously. This may require some guru intervention though.
 

MiniKnight

Well-Known Member
Mar 30, 2012
3,072
973
113
NYC
Tried Dev004 on Ubuntu 13.10 ran fine until then end when I got this error:
tail: option used in invalid context -- 1
./STHbench-Dev004.sh: line 150: > 0: syntax error: operand expected (error token is "> 0")
Amazing how much this script is doing in an automated manner now!
 

mir

New Member
Dec 21, 2013
9
0
0
The installation line (11) needs to have gcc, make and expect added for Debian.

Also line 149: S=$($BIN -n $iterations -r $keyspace -d $payload -c $clients | grep 'per second' | tail -1$)
Resolves in: tail: option used in invalid context -- 1
 

mir

New Member
Dec 21, 2013
9
0
0
Could it be that the entire paragraph in fact should be:
Code:
for clients in 1 5 10 20 30 40 50 60 70 80 90 100
do
    SPEED=0
    for dummy in 0 1 2
    do
        S=$($BIN -n $iterations -r $keyspace -d $payload -c $clients | grep 'per second' | tail -1 | awk '{print $1}')
	VALUE=$(echo $S | awk '{printf "%.0f",$1}')
        if [ $(($VALUE > $SPEED)) != 0 ]
        then
            SPEED=$VALUE
        fi
    done
    echo "$clients $SPEED"
done
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
The installation line (11) needs to have gcc, make and expect added for Debian.
I think those are all in build-essential right?

On the fix on line 149 - Thanks! Am testing it right now (Dev005 if you wanted to try yourself)
 

mir

New Member
Dec 21, 2013
9
0
0
You are right about build-essential. What is wrong, however, is that the apt-get has a reference to phoronix-test-suite which is not available on the debian repositories in which case the entire apt-get install after phoronix-test-suite is not applied. To fix this you should add this instead to the Update_Install_Debian() function:
wget -N http://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_4.8.6_all.deb && sudo dpkg -i phoronix-test-suite_4.8.6_all.deb
 

mir

New Member
Dec 21, 2013
9
0
0
Also, after running the redis-benchmark tests the redis-server should be shutdown by issuing the command: redis-cli shutdown
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
You are right about build-essential. What is wrong, however, is that the apt-get has a reference to phoronix-test-suite which is not available on the debian repositories in which case the entire apt-get install after phoronix-test-suite is not applied. To fix this you should add this instead to the Update_Install_Debian() function:
wget -N http://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_4.8.6_all.deb && sudo dpkg -i phoronix-test-suite_4.8.6_all.deb
So when I added this before Update_Install_Debian(), it ended up erroring out on my Ubuntu VM.

I think the real answer is moving away from PTS.
 

Jeggs101

Well-Known Member
Dec 29, 2010
1,529
241
63
Trying Dev005

On the sysbench test, did you ever think of making it single and multithreaded? You would have to figure out the number of threads then I guess.
 

nitrobass24

Moderator
Dec 26, 2010
1,087
131
63
TX
Should be easy enough to set a variable in the beginning to determine number of cores.

Code:
nproc=`nproc`