Professional Documents
Culture Documents
Benchmark Details
The collective benchmark is composed of two tasks: 1. Compilation benchmark using gcc to make bzImage for a preconfigured linux v3.0.6 kernel. 2. 2 x264 video encoding benchmark using HandBrakeCLI to encode a 2 min long, 720p clip (no audio). Each machine running the benchmark: R Runs A h Li Arch Linux x86_644 86 64 Runs a minimal set of daemons including: syslog-ng, network, and netfs. Runs a BASH script that generates the two aforementioned benchmark datasets called from /etc/rc.local (see appendix for code). The aforementioned script: Runs the two individual benchmarks ten (10) times totally to get a decent number observations n mber of obser ations for a statistical comparison In all cases the first r n comparison. cases, run is omitted leaving an n=9 for each CPU/benchmark.
(4) Except for the Athlon XP machine which runs Arch i686 due to this CPU lacking 64-bit extensions.
=1 =2 =4 =2 =4 =8
= 16
The Data
Hyper
threading
Hyper
threading
Box plots are graphical tools to visualize key statistical measures, such as median, median mean and quartiles quartiles. The individual box plot is a visual aid to examining key statistical properties of a variable. The diagram below shows how the shape of a box plot encodes these properties. The range of the vertical scale is from the minimum to the maximum value of the selected column, or, to the highest or lowest of the displayed reference points.
In the example above, the sum of sales is shown for a number of different fruits and vegetables. The box for Pears has been marked, which is also indicated in the corresponding comparison circle. The marked comparison circle is shown with a darker border d transparent fill Th square i th relation i di t under th b d k b d and a t t fill. The in the l ti indicator d the boxes i di t th marked b and th indicates the k d box d the lines of the relation indicator go to any boxes that are not significantly different from the marked one.
Text and images taken from: http://web-player-server.liveintent.iponweb.net/SpotfireWeb/Help/dxpwebclient/box_what_is_a_box_plot.htm
Higher is better!
Higher is better!
Higher is better!
Higher is better!
Higher is better!
Higher is better!
Higher is better!
Appendix
[[ -z $(which bc) ]] && echo "Install bc to allow calculations" && exit [[ -z $(which HandBrakeCLI) ]] && echo "Install HandBrakeCLI to allow calculations" && exit echo -n "Name of this kernel: " read -e NAME e if [ -z "$NAME" ]; then NAME=$(dmesg | grep BFS) fi [[ [[ [[ [[ [[ ! ! ! ! ! -d -f -f -d -f $ramdisk ]] && mkdir $ramdisk $test_path/make.txt ]] && echo "hostname,makeflags,kernel,time(sec),run #,run date" > $test_path/make.txt $test_path/xdata.txt ]] && echo "hostname,threads,kernel,time(sec),fps,run #,run date" > $test_path/xdata.txt $ramdisk/linux-ck/src/linux-3.0 ]] && cp -r $here $ramdisk $ramdisk/$x264_file ]] && cp $test_path/$x264_file $ramdisk
kernel() { k l() cd "$ramdisk/linux-3.0" x=0 while [ "$x" -lt "$limit" ]; do x=$(( $x + 1 )) make -j$NAMEFLAGS clean RUNDATE=$(date "+%F %T") start=$(date +%s.%N) make -j$MAKEFLAGS bzImage end=$(date +%s.%N) diff=$(echo "scale=6; $end - $start" | bc) echo "$HOSTNAME,$MAKEFLAGS,$NAME,$diff,$x,$RUNDATE" >> $test_path/make.txt done } video() { cd $ramdisk work="--input $x264_file" extras="--verbose --no-dvdnav --audio none --crop 0:0:0:0" preset="--preset=Normal" x=0 while [ "$x" -lt "$limit" ]; do x=$(( $x + 1 )) RUNDATE=$(date "+%F %T") start=$(date +%s.%N) HandBrakeCLI $work --output test-$x.mp4 ${extras} ${preset} 2>&1 | tee "test-$x".log end=$(date +%s.%N) diff=$(echo "scale=6; $end - $start" | bc) fps=$(grep "job is" "test-$x".log | sed -n 's/.*is //p' |sed 's/ fps//') CPUS=$(grep CPU "test-$x".log | sed 's/ CPU.*$//') echo "$HOSTNAME $CPUS $NAME $diff $fps $x $RUNDATE" >> "$test path"/xdata txt $HOSTNAME,$CPUS,$NAME,$diff,$fps,$x,$RUNDATE $test_path /xdata.txt rm -f test*.{mp4,log} done } kernel video