链接地址: http://blog.csdn.net/jason_asia/article/details/38309079
1.1. 服务器性能测试UnixBench
分别在DELL R720和DELL R610作为测试的服务器,因服务器配置不同,结果仅供参考.
下载:
wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
安装:
tar zxf UnixBench5.1.3.tgz
cd UnixBench
make
运行:
./Run
服务器配置信息:
Product Name: Dell Inc. PowerEdge R720
Host Name: test
Kernel Version: 2.6.32-358.el6.x86_64 x86_64
OS Version: CentOS release 6.4 (Final)
Time Zone: Asia/Ho_Chi_Minh +0700
Char Set: en_US
Memory: 4 memories,total size is 32768MB,Speed: 1600 MHz,Type: DDR3
CPU info: Intel(R) Xeon(R) CPU E5-2609 v2 @2.50GHz, 2 * 4 core, cache size 10240 KB
Swap Info: 7999 MB, vm.swappiness = 0
Disk Capacity: /dev/sda: 584.7 GB
Raid Info: PERC H710 Mini, 512MB cache,BBU,FW21.2.0-0007
RAID1, strip 64 KB, 4 * 2disks/span
Current Cache Policy:WriteBack, ReadAdaptive, Direct, Write Cache OK if Bad BBU
BBU Info: Next Learn time: Tue May 27 17:40:472014,Relative State of Charge: 83 %,Charger Status: Unknown,isSOHGood: Yes
Disk Info: 8 * 136.732 GB , 6.0Gb/s ,port speed6.0Gb/s
File System: /home: xfs ,527G
/tmp: tmpfs ,16G
I/O scheduler: sda [deadline]
测试结果:
# time ./Run
make all
make[1]: Entering directory`/root/UnixBench'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: Leaving directory`/root/UnixBench'
sh: 3dinfo: command 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 registervariables 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 2000maxblocks 1 2 3
1 x File Copy 256 bufsize 500maxblocks 1 2 3
1 x File Copy 4096 bufsize 8000maxblocks 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 registervariables 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 2000maxblocks 1 2 3?
8 x File Copy 256 bufsize 500maxblocks 1 2 3?
8 x File Copy 4096 bufsize 8000maxblocks 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: vn_dpcq_backup_dbserver: GNU/Linux
OS: GNU/Linux -- 2.6.32-358.el6.x86_64 -- #1 SMP Fri Feb 22 00:31:26 UTC2013
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8",collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU E5-2609 v2 @ 2.50GHz (4999.8 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT,SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Xeon(R) CPU E5-2609 v2 @ 2.50GHz (4999.3 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT,SYSCALL/SYSRET, Intel virtualization
CPU 2: Intel(R) Xeon(R) CPU E5-2609 v2 @ 2.50GHz (4999.8 bogomips)