張貼日期:May 06, 2015 9:8:16 AM
試了好幾種工具想在Linux下測試系統的效能, 目前拿來測試的是UnixBench
http://code.google.com/p/byte-unixbench/
1.安裝
yum install libXext-devel gcc
wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
tar zxvf unixbench-5.1.2.tar.gz
cd unixbench-5.1.2
make
2.開始測試
./Run
3.測試結果
ESX VM 2 CPU
AMD Phenom(tm) II X6 1055T
IBM xSeries 206
MB:在 ESX 下的VM
CPU:AMD Phenom(tm) II Processor 2-CPU
RAM:1 GB
OS:CentOS 5
[root@clone unixbench-5.1.2]# ./Run
make all
make[1]: Entering directory `/usr/local/src/unixbench-5.1.2'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: Leaving directory `/usr/local/src/unixbench-5.1.2'
sh: 3dinfo: command not found
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.2 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
December 22, 2007 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
2 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
2 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
2 x Execl Throughput 1 2 3
2 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
2 x File Copy 256 bufsize 500 maxblocks 1 2 3
2 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
2 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
2 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
2 x Process Creation 1 2 3
2 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
2 x Shell Scripts (1 concurrent) 1 2 3
2 x Shell Scripts (8 concurrent) 1 2 3
========================================================================
BYTE UNIX Benchmarks (Version 5.1.2)
System: clone.jpps.tc.edu.tw: GNU/Linux
OS: GNU/Linux -- 2.6.18-194.17.4.el5 -- #1 SMP Mon Oct 25 15:51:07 EDT 2010
Machine: i686 (i386)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: AMD Phenom(tm) II X6 1055T Processor (5625.1 bogomips)
x86-64, MMX, AMD MMX, Physical Address Ext, SYSCALL/SYSRET
CPU 1: AMD Phenom(tm) II X6 1055T Processor (5644.3 bogomips)
x86-64, MMX, AMD MMX, Physical Address Ext, SYSCALL/SYSRET
10:10:11 up 21 days, 22:02, 1 user, load average: 0.00, 0.00, 0.00; runlevel 3
------------------------------------------------------------------------
Benchmark Run: 二 12月 21 2010 10:10:11 - 10:38:02
2 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 10063846.7 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2083.4 MWIPS (10.0 s, 7 samples)
Execl Throughput 4169.9 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 538755.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 161637.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1162649.2 KBps (30.0 s, 2 samples)
Pipe Throughput 1278276.8 lps (10.0 s, 7 samples)
Pipe-based Context Switching 118172.5 lps (10.0 s, 7 samples)
Process Creation 13743.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 6475.0 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1464.7 lpm (60.0 s, 2 samples)
System Call Overhead 1342461.6 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 10063846.7 862.4
Double-Precision Whetstone 55.0 2083.4 378.8
Execl Throughput 43.0 4169.9 969.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 538755.4 1360.5
File Copy 256 bufsize 500 maxblocks 1655.0 161637.9 976.7
File Copy 4096 bufsize 8000 maxblocks 5800.0 1162649.2 2004.6
Pipe Throughput 12440.0 1278276.8 1027.6
Pipe-based Context Switching 4000.0 118172.5 295.4
Process Creation 126.0 13743.8 1090.8
Shell Scripts (1 concurrent) 42.4 6475.0 1527.1
Shell Scripts (8 concurrent) 6.0 1464.7 2441.1
System Call Overhead 15000.0 1342461.6 895.0
========
System Benchmarks Index Score 994.2
------------------------------------------------------------------------
Benchmark Run: 二 12月 21 2010 10:38:02 - 11:05:53
2 CPUs in system; running 2 parallel copies of tests
Dhrystone 2 using register variables 19705336.7 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4152.0 MWIPS (10.0 s, 7 samples)
Execl Throughput 8937.4 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 270250.5 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 78676.8 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 647473.2 KBps (30.0 s, 2 samples)
Pipe Throughput 2529952.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 678741.8 lps (10.0 s, 7 samples)
Process Creation 25307.1 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 9673.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1325.0 lpm (60.1 s, 2 samples)
System Call Overhead 2030317.8 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 19705336.7 1688.5
Double-Precision Whetstone 55.0 4152.0 754.9
Execl Throughput 43.0 8937.4 2078.5
File Copy 1024 bufsize 2000 maxblocks 3960.0 270250.5 682.5
File Copy 256 bufsize 500 maxblocks 1655.0 78676.8 475.4
File Copy 4096 bufsize 8000 maxblocks 5800.0 647473.2 1116.3
Pipe Throughput 12440.0 2529952.5 2033.7
Pipe-based Context Switching 4000.0 678741.8 1696.9
Process Creation 126.0 25307.1 2008.5
Shell Scripts (1 concurrent) 42.4 9673.5 2281.5
Shell Scripts (8 concurrent) 6.0 1325.0 2208.4
System Call Overhead 15000.0 2030317.8 1353.5
========
System Benchmarks Index Score 1374.2
MB:ASUS
CPU:AMD Phenom(tm) II 1055t Processor 6-CPU
RAM:16 GB
OS:CentOS 5
========================================================================
BYTE UNIX Benchmarks (Version 5.1.2)
System: localhost.localdomain: GNU/Linux
OS: GNU/Linux -- 2.6.18-194.26.1.el5PAE -- #1 SMP Tue Nov 9 13:34:42 EST 2010
Machine: i686 (i386)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: AMD Phenom(tm) II X6 1055T Processor (5625.1 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 1: AMD Phenom(tm) II X6 1055T Processor (5625.1 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 2: AMD Phenom(tm) II X6 1055T Processor (5625.1 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 3: AMD Phenom(tm) II X6 1055T Processor (5625.1 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 4: AMD Phenom(tm) II X6 1055T Processor (5625.1 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
CPU 5: AMD Phenom(tm) II X6 1055T Processor (5625.1 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
08:10:28 up 1 min, 2 users, load average: 0.31, 0.12, 0.04; runlevel 5
------------------------------------------------------------------------
Benchmark Run: 四 12月 23 2010 08:10:28 - 08:38:17
6 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 11475526.1 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2313.8 MWIPS (10.0 s, 7 samples)
Execl Throughput 1948.3 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 313865.1 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 84439.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 886936.1 KBps (30.0 s, 2 samples)
Pipe Throughput 511272.3 lps (10.0 s, 7 samples)
Pipe-based Context Switching 98473.7 lps (10.0 s, 7 samples)
Process Creation 8422.1 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4060.0 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2218.6 lpm (60.0 s, 2 samples)
System Call Overhead 1720932.7 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 11475526.1 983.3
Double-Precision Whetstone 55.0 2313.8 420.7
Execl Throughput 43.0 1948.3 453.1
File Copy 1024 bufsize 2000 maxblocks 3960.0 313865.1 792.6
File Copy 256 bufsize 500 maxblocks 1655.0 84439.6 510.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 886936.1 1529.2
Pipe Throughput 12440.0 511272.3 411.0
Pipe-based Context Switching 4000.0 98473.7 246.2
Process Creation 126.0 8422.1 668.4
Shell Scripts (1 concurrent) 42.4 4060.0 957.5
Shell Scripts (8 concurrent) 6.0 2218.6 3697.6
System Call Overhead 15000.0 1720932.7 1147.3
========
System Benchmarks Index Score 750.3
------------------------------------------------------------------------
Benchmark Run: 四 12月 23 2010 08:38:17 - 09:06:07
6 CPUs in system; running 6 parallel copies of tests
Dhrystone 2 using register variables 61982419.1 lps (10.0 s, 7 samples)
Double-Precision Whetstone 12594.1 MWIPS (10.0 s, 7 samples)
Execl Throughput 16652.9 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 176415.8 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 43573.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 593182.1 KBps (30.0 s, 2 samples)
Pipe Throughput 2731378.1 lps (10.0 s, 7 samples)
Pipe-based Context Switching 1129386.8 lps (10.0 s, 7 samples)
Process Creation 51003.5 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 21327.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 3305.9 lpm (60.0 s, 2 samples)
System Call Overhead 2563505.4 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 61982419.1 5311.3
Double-Precision Whetstone 55.0 12594.1 2289.8
Execl Throughput 43.0 16652.9 3872.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 176415.8 445.5
File Copy 256 bufsize 500 maxblocks 1655.0 43573.0 263.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 593182.1 1022.7
Pipe Throughput 12440.0 2731378.1 2195.6
Pipe-based Context Switching 4000.0 1129386.8 2823.5
Process Creation 126.0 51003.5 4047.9
Shell Scripts (1 concurrent) 42.4 21327.1 5030.0
Shell Scripts (8 concurrent) 6.0 3305.9 5509.8
System Call Overhead 15000.0 2563505.4 1709.0
========
System Benchmarks Index Score 2084.1
MB:IBM xSeries 206
CPU:P4 3.0G HyperThreading
RAM:1 GB
OS:CentOS 5
========================================================================
BYTE UNIX Benchmarks (Version 5.1.2)
System: sfs3.jpps.tc.edu.tw: GNU/Linux
OS: GNU/Linux -- 2.6.18-194.17.4.el5 -- #1 SMP Mon Oct 25 15:51:07 EDT 2010
Machine: i686 (i386)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Pentium(R) 4 CPU 3.00GHz (6001.4 bogomips)
Hyper-Threading, MMX, Physical Address Ext
CPU 1: Intel(R) Pentium(R) 4 CPU 3.00GHz (6000.2 bogomips)
Hyper-Threading, MMX, Physical Address Ext
09:09:56 up 6 min, 3 users, load average: 0.49, 0.33, 0.15; runlevel 3
------------------------------------------------------------------------
Benchmark Run: 四 12月 23 2010 09:09:56 - 09:38:02
2 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 4577264.7 lps (10.0 s, 7 samples)
Double-Precision Whetstone 1073.2 MWIPS (10.7 s, 7 samples)
Execl Throughput 2583.3 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 222028.2 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 63744.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 571755.8 KBps (30.0 s, 2 samples)
Pipe Throughput 474886.8 lps (10.0 s, 7 samples)
Pipe-based Context Switching 92450.0 lps (10.0 s, 7 samples)
Process Creation 8270.2 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3299.8 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 522.1 lpm (60.1 s, 2 samples)
System Call Overhead 439421.8 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 4577264.7 392.2
Double-Precision Whetstone 55.0 1073.2 195.1
Execl Throughput 43.0 2583.3 600.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 222028.2 560.7
File Copy 256 bufsize 500 maxblocks 1655.0 63744.9 385.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 571755.8 985.8
Pipe Throughput 12440.0 474886.8 381.7
Pipe-based Context Switching 4000.0 92450.0 231.1
Process Creation 126.0 8270.2 656.4
Shell Scripts (1 concurrent) 42.4 3299.8 778.2
Shell Scripts (8 concurrent) 6.0 522.1 870.2
System Call Overhead 15000.0 439421.8 292.9
========
System Benchmarks Index Score 468.7
------------------------------------------------------------------------
Benchmark Run: 四 12月 23 2010 09:38:02 - 10:06:09
2 CPUs in system; running 2 parallel copies of tests
Dhrystone 2 using register variables 5287733.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 1819.0 MWIPS (10.5 s, 7 samples)
Execl Throughput 2991.2 lps (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 119987.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 31642.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 372939.2 KBps (30.0 s, 2 samples)
Pipe Throughput 500664.1 lps (10.0 s, 7 samples)
Pipe-based Context Switching 135639.5 lps (10.0 s, 7 samples)
Process Creation 9597.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3777.4 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 527.4 lpm (60.1 s, 2 samples)
System Call Overhead 578153.8 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 5287733.5 453.1
Double-Precision Whetstone 55.0 1819.0 330.7
Execl Throughput 43.0 2991.2 695.6
File Copy 1024 bufsize 2000 maxblocks 3960.0 119987.4 303.0
File Copy 256 bufsize 500 maxblocks 1655.0 31642.0 191.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 372939.2 643.0
Pipe Throughput 12440.0 500664.1 402.5
Pipe-based Context Switching 4000.0 135639.5 339.1
Process Creation 126.0 9597.7 761.7
Shell Scripts (1 concurrent) 42.4 3777.4 890.9
Shell Scripts (8 concurrent) 6.0 527.4 879.1
System Call Overhead 15000.0 578153.8 385.4
========
System Benchmarks Index Score 471.9