Skip to content

Instantly share code, notes, and snippets.

@ryana
Created Jun 7, 2012
Embed
What would you like to do?
UnixBench on our SoftLayer box
sg@max:/tmp/UnixBench$ ./Run
gcc -o ./pgms/arithoh -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Darithoh ./src/arith.c
gcc -o ./pgms/register -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum='register int' ./src/arith.c
gcc -o ./pgms/short -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=short ./src/arith.c
gcc -o ./pgms/int -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=int ./src/arith.c
gcc -o ./pgms/long -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=long ./src/arith.c
gcc -o ./pgms/float -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=float ./src/arith.c
gcc -o ./pgms/double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Ddatum=double ./src/arith.c
gcc -o ./pgms/hanoi -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/hanoi.c
gcc -o ./pgms/syscall -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/syscall.c
gcc -o ./pgms/context1 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/context1.c
gcc -o ./pgms/pipe -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/pipe.c
./src/pipe.c: In function 'main':
./src/pipe.c:52: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result
gcc -o ./pgms/spawn -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/spawn.c
gcc -o ./pgms/execl -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/execl.c
In file included from ./src/execl.c:34:
./src/big.c: In function 'dummy':
./src/big.c:112: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result
./src/big.c:200: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result
./src/big.c:224: warning: ignoring return value of 'dup', declared with attribute warn_unused_result
./src/big.c:228: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result
./src/big.c:321: warning: ignoring return value of 'write', declared with attribute warn_unused_result
./src/big.c: In function 'fatal':
./src/big.c:586: warning: format not a string literal and no format arguments
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_1.c
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_2.c
gcc -o ./pgms/dhry2 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/dhry_1.o ./src/dhry_2.o
cd ./src; rm -f dhry_1.o dhry_2.o
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_1.c -o dhry_1_reg.o
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_2.c -o dhry_2_reg.o
gcc -o ./pgms/dhry2reg -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/dhry_1_reg.o ./src/dhry_2_reg.o
cd ./src; rm -f dhry_1_reg.o dhry_2_reg.o
gcc -o ./pgms/looper -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/looper.c
gcc -o ./pgms/fstime -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/fstime.c
gcc -o ./pgms/whetstone-double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -DDP -DUNIX -DUNIXBENCH ./src/whets.c -lm
make all
make[1]: Entering directory `/tmp/UnixBench'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./results exists
make[1]: Leaving directory `/tmp/UnixBench'
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
sh: 3dinfo: not found
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com
1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
1 x Execl Throughput 1 2 3
1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
1 x File Copy 256 bufsize 500 maxblocks 1 2 3
1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
1 x Process Creation 1 2 3
1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
1 x Shell Scripts (1 concurrent) 1 2 3
1 x Shell Scripts (8 concurrent) 1 2 3
8 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
8 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
8 x Execl Throughput 1 2 3
8 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
8 x File Copy 256 bufsize 500 maxblocks 1 2 3
8 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
8 x Pipe Throughput 1 2 3 4 5 6
7 8 9 10
8 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
8 x Process Creation 1 2 3
8 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
8 x Shell Scripts (1 concurrent) 1 2 3
8 x Shell Scripts (8 concurrent) 1 2 3
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: max: GNU/Linux
OS: GNU/Linux -- 2.6.32-38-generic -- #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012
Machine: x86_64 (unknown)
Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
CPU 0: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz (6784.7 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz (6784.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 2: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz (6784.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 3: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz (6784.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 4: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz (6784.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 5: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz (6784.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 6: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz (6784.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 7: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz (6784.6 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
15:42:06 up 36 days, 16:00, 2 users, load average: 0.42, 0.17, 0.05; runlevel 2
------------------------------------------------------------------------
Benchmark Run: Thu Jun 07 2012 15:42:06 - 16:10:17
8 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 43311374.1 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4504.7 MWIPS (10.0 s, 7 samples)
Execl Throughput 2223.5 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1406567.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 394334.8 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2764215.6 KBps (30.0 s, 2 samples)
Pipe Throughput 2819949.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 102892.1 lps (10.0 s, 7 samples)
Process Creation 9628.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5758.8 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 4754.8 lpm (60.0 s, 2 samples)
System Call Overhead 4850970.7 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 43311374.1 3711.3
Double-Precision Whetstone 55.0 4504.7 819.0
Execl Throughput 43.0 2223.5 517.1
File Copy 1024 bufsize 2000 maxblocks 3960.0 1406567.9 3551.9
File Copy 256 bufsize 500 maxblocks 1655.0 394334.8 2382.7
File Copy 4096 bufsize 8000 maxblocks 5800.0 2764215.6 4765.9
Pipe Throughput 12440.0 2819949.5 2266.8
Pipe-based Context Switching 4000.0 102892.1 257.2
Process Creation 126.0 9628.7 764.2
Shell Scripts (1 concurrent) 42.4 5758.8 1358.2
Shell Scripts (8 concurrent) 6.0 4754.8 7924.6
System Call Overhead 15000.0 4850970.7 3234.0
========
System Benchmarks Index Score 1775.8
------------------------------------------------------------------------
Benchmark Run: Thu Jun 07 2012 16:10:17 - 16:38:37
8 CPUs in system; running 8 parallel copies of tests
Dhrystone 2 using register variables 169399077.8 lps (10.0 s, 7 samples)
Double-Precision Whetstone 28312.3 MWIPS (9.9 s, 7 samples)
Execl Throughput 31539.8 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1022142.6 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 244135.7 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2817523.8 KBps (30.0 s, 2 samples)
Pipe Throughput 11891257.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 2597101.6 lps (10.0 s, 7 samples)
Process Creation 98670.0 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 48956.6 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 6414.9 lpm (60.0 s, 2 samples)
System Call Overhead 10550958.9 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 169399077.8 14515.8
Double-Precision Whetstone 55.0 28312.3 5147.7
Execl Throughput 43.0 31539.8 7334.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 1022142.6 2581.2
File Copy 256 bufsize 500 maxblocks 1655.0 244135.7 1475.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 2817523.8 4857.8
Pipe Throughput 12440.0 11891257.2 9558.9
Pipe-based Context Switching 4000.0 2597101.6 6492.8
Process Creation 126.0 98670.0 7830.9
Shell Scripts (1 concurrent) 42.4 48956.6 11546.4
Shell Scripts (8 concurrent) 6.0 6414.9 10691.5
System Call Overhead 15000.0 10550958.9 7034.0
========
System Benchmarks Index Score 6347.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment