UnixBench是一款不错的Linux下的VPS性能测试软件,现在说一下具体用法。
# wget http://www.CTOHome.com/linux-vps-pack/unixbench.sh;sh ./unixbench.sh;816/
其实下载完,就会自动安装运行的
这儿演示,再执行一遍:
# chmod 777 unixbench.sh
# ./unixbench.sh
--2011-01-07 14:36:03-- http://www.ctohome.com/linux-vps-pack/unixbench-5.1.2.tar.gz
正在解析主机 www.ctohome.com... 67.220.216.187
Connecting to www.ctohome.com|67.220.216.187|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:139571 (136K) [application/octet-stream]
Saving to: `unixbench-5.1.2.tar.gz.1'
100%[===================================================================================>] 139,571 123K/s in 1.1s
2011-01-07 14:36:04 (123 KB/s) - `unixbench-5.1.2.tar.gz.1' saved [139571/139571]
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.163.com
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Setting up Install Process
Package gcc-4.1.2-48.el5.x86_64 already installed and latest version
No package gcc-c available.
Package autoconf-2.59-12.noarch already installed and latest version
Package gcc-c++-4.1.2-48.el5.x86_64 already installed and latest version
Package time-1.7-27.2.2.x86_64 already installed and latest version
Nothing to do
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make all
make[1]: Entering directory `/backup/www.ctohome.com/unixbench-5.1.2'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: Leaving directory `/backup/www.ctohome.com/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: localhost: GNU/Linux
OS: GNU/Linux -- 2.6.18-164.el5 -- #1 SMP Thu Sep 3 03:28:30 EDT 2009
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz (3990.0 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz (3990.2 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
10:47:28 up 1:06, 1 user, load average: 1.24, 0.37, 0.12; runlevel 5
------------------------------------------------------------------------
Benchmark Run: 浜? 1鏈?07 2011 10:47:28 - 11:15:21
2 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 11429612.6 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2248.4 MWIPS (9.9 s, 7 samples)
Execl Throughput 3345.7 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 454418.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 134428.8 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1082446.3 KBps (30.0 s, 2 samples)
Pipe Throughput 843689.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 100694.8 lps (10.0 s, 7 samples)
Process Creation 8972.9 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5917.3 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1280.5 lpm (60.0 s, 2 samples)
System Call Overhead 734308.6 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 11429612.6 979.4
Double-Precision Whetstone 55.0 2248.4 408.8
Execl Throughput 43.0 3345.7 778.1
File Copy 1024 bufsize 2000 maxblocks 3960.0 454418.9 1147.5
File Copy 256 bufsize 500 maxblocks 1655.0 134428.8 812.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 1082446.3 1866.3
Pipe Throughput 12440.0 843689.5 678.2
Pipe-based Context Switching 4000.0 100694.8 251.7
Process Creation 126.0 8972.9 712.1
Shell Scripts (1 concurrent) 42.4 5917.3 1395.6
Shell Scripts (8 concurrent) 6.0 1280.5 2134.2
System Call Overhead 15000.0 734308.6 489.5
========
System Benchmarks Index Score 822.7
------------------------------------------------------------------------
Benchmark Run: 浜? 1鏈?07 2011 11:15:21 - 11:43:12
2 CPUs in system; running 2 parallel copies of tests
Dhrystone 2 using register variables 22911474.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4508.2 MWIPS (9.9 s, 7 samples)
Execl Throughput 6876.9 lps (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 190007.7 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 54173.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 501719.8 KBps (30.0 s, 2 samples)
Pipe Throughput 1692313.4 lps (10.0 s, 7 samples)
Pipe-based Context Switching 527157.8 lps (10.0 s, 7 samples)
Process Creation 22121.0 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 9119.2 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1355.3 lpm (60.1 s, 2 samples)
System Call Overhead 1404391.5 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 22911474.0 1963.3
Double-Precision Whetstone 55.0 4508.2 819.7
Execl Throughput 43.0 6876.9 1599.3
File Copy 1024 bufsize 2000 maxblocks 3960.0 190007.7 479.8
File Copy 256 bufsize 500 maxblocks 1655.0 54173.5 327.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 501719.8 865.0
Pipe Throughput 12440.0 1692313.4 1360.4
Pipe-based Context Switching 4000.0 527157.8 1317.9
Process Creation 126.0 22121.0 1755.6
Shell Scripts (1 concurrent) 42.4 9119.2 2150.8
Shell Scripts (8 concurrent) 6.0 1355.3 2258.8
System Call Overhead 15000.0 1404391.5 936.3
========
System Benchmarks Index Score 1143.6
======= Script. description and score comparison: =======
http://www.ctohome.com/FuWuQi/c5/172.html
You have mail in /var/spool/mail/root
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8183550/viewspace-683435/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8183550/viewspace-683435/