VPS性能评测工具

在网上买了VPS, 不知道性能如何, 这里一个工具

http://code.google.com/p/byte-unixbench/

UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years. 

The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; ... These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores.

Multi-CPU systems are handled. ...

UnixBench was first started in 1983 at Monash University, as a simple synthetic benchmarking application. It was then taken and expanded by Byte Magazine. ... The tests compare Unix systems by comparing their results to a set of scores set by running the code on a benchmark system, which is a SPARCstation 20-61 (rated at 10.0).

 

wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
tar zxf ./UnixBench5.1.3.tgz
cd ./UnixBench
./Run

 然后等待, 输出如下

写道
------------------------------------------------------------------------
Benchmark Run: Mon Oct 15 2012 23:55:22 - 00:23:16
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 12015218.4 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2214.8 MWIPS (10.1 s, 7 samples)
Execl Throughput 896.9 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 58968.3 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 14578.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 422068.2 KBps (30.0 s, 2 samples)
Pipe Throughput 70993.3 lps (10.0 s, 7 samples)
Pipe-based Context Switching 16001.5 lps (10.0 s, 7 samples)
Process Creation 1861.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 2525.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 737.8 lpm (60.1 s, 2 samples)
System Call Overhead 432496.2 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 12015218.4 1029.6
Double-Precision Whetstone 55.0 2214.8 402.7
Execl Throughput 43.0 896.9 208.6
File Copy 1024 bufsize 2000 maxblocks 3960.0 58968.3 148.9
File Copy 256 bufsize 500 maxblocks 1655.0 14578.6 88.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 422068.2 727.7
Pipe Throughput 12440.0 70993.3 57.1
Pipe-based Context Switching 4000.0 16001.5 40.0
Process Creation 126.0 1861.8 147.8
Shell Scripts (1 concurrent) 42.4 2525.5 595.6
Shell Scripts (8 concurrent) 6.0 737.8 1229.7
System Call Overhead 15000.0 432496.2 288.3
========
System Benchmarks Index Score 249.7

------------------------------------------------------------------------
Benchmark Run: Tue Oct 16 2012 00:23:16 - 00:51:20
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables 42619039.2 lps (10.0 s, 7 samples)
Double-Precision Whetstone 8274.0 MWIPS (10.4 s, 7 samples)
Execl Throughput 3398.5 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 68332.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 21462.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 718205.6 KBps (30.0 s, 2 samples)
Pipe Throughput 149713.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 61968.3 lps (10.0 s, 7 samples)
Process Creation 5321.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5957.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 812.6 lpm (60.1 s, 2 samples)
System Call Overhead 1557391.5 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 42619039.2 3652.0
Double-Precision Whetstone 55.0 8274.0 1504.4
Execl Throughput 43.0 3398.5 790.4
File Copy 1024 bufsize 2000 maxblocks 3960.0 68332.4 172.6
File Copy 256 bufsize 500 maxblocks 1655.0 21462.9 129.7
File Copy 4096 bufsize 8000 maxblocks 5800.0 718205.6 1238.3
Pipe Throughput 12440.0 149713.5 120.3
Pipe-based Context Switching 4000.0 61968.3 154.9
Process Creation 126.0 5321.7 422.4
Shell Scripts (1 concurrent) 42.4 5957.1 1405.0
Shell Scripts (8 concurrent) 6.0 812.6 1354.3
System Call Overhead 15000.0 1557391.5 1038.3
========
System Benchmarks Index Score 592.5

 另一个VPS的测试结果

写道
Shell Scripts (8 concurrent) 6.0 1662.9 2771.5
System Call Overhead 15000.0 2590745.8 1727.2
========
System Benchmarks Index Score 910.7

------------------------------------------------------------------------
Benchmark Run: Wed Jan 30 2013 08:15:32 - 08:43:46
3 CPUs in system; running 3 parallel copies of tests

Dhrystone 2 using register variables 66490986.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 8662.1 MWIPS (9.9 s, 7 samples)
Execl Throughput 7881.6 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 841743.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 229619.2 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2423683.7 KBps (30.0 s, 2 samples)
Pipe Throughput 4408075.6 lps (10.0 s, 7 samples)
Pipe-based Context Switching 338964.4 lps (10.0 s, 7 samples)
Process Creation 18604.0 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 15285.3 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2127.5 lpm (60.0 s, 2 samples)
System Call Overhead 5281768.1 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 66490986.5 5697.6
Double-Precision Whetstone 55.0 8662.1 1574.9
Execl Throughput 43.0 7881.6 1832.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 841743.9 2125.6
File Copy 256 bufsize 500 maxblocks 1655.0 229619.2 1387.4
File Copy 4096 bufsize 8000 maxblocks 5800.0 2423683.7 4178.8
Pipe Throughput 12440.0 4408075.6 3543.5
Pipe-based Context Switching 4000.0 338964.4 847.4
Process Creation 126.0 18604.0 1476.5
Shell Scripts (1 concurrent) 42.4 15285.3 3605.0
Shell Scripts (8 concurrent) 6.0 2127.5 3545.8
System Call Overhead 15000.0 5281768.1 3521.2
========
System Benchmarks Index Score 2420.5

Results

Here are some benchmarking results from UnixBench. Click on a system name to see the full results:

扫描二维码关注公众号,回复: 1235970 查看本文章
System CPU OS UnixBench
Version
System Graphics
Single Dual 2D 3D
HP Compaq nc8430 Core Duo T2500 @ 2.00GHz openSUSE 10.2 (i586) 5.0 678.2 1026.2    
HP Compaq nc8430 Core Duo T2500 @ 2.00GHz openSUSE 10.3 (i586) 5.0 495.7 802.7    
HP Compaq nc8430 Core Duo T2500 @ 2.00GHz openSUSE 10.3 (i586) 5.1 493.8 797.0 668.7 731.8
Sony Vaio TXN25N Core Solo U1500 @ 1.33GHz openSUSE 10.2 (i586) 5.0 498.4 n/a    
Sony Vaio TXN25N Core Solo U1500 @ 1.33GHz openSUSE 10.3 (i586) 5.0 426.0 n/a    
Sony Vaio TXN25N Core Solo U1500 @ 1.33GHz openSUSE 10.3 (i586) 5.1.1 437.5 n/a 730.9 209.6
Sony Vaio TXN25N Core Solo U1500 @ 1.33GHz openSUSE 10.3 (i586) (runlevel 1) 5.1.1 385.4 n/a    
Dell Latitude D620 Core 2 Duo T5600 @ 1.83GHz openSUSE 10.3 (i586) 5.0 560.1 1013.1    
Dell Latitude D620 Core 2 Duo T5600 @ 1.83GHz openSUSE 10.3 (i586) 5.1 575.2 1024.0 1080.2 267.1
Dell Latitude D620 Core 2 Duo T5600 @ 1.83GHz openSUSE 10.1 (X86-64) 5.1.1 685.6 1186.1 1335.2 411.9
Dell Latitude D620 Core 2 Duo T5600 @ 1.83GHz openSUSE 10.2 (X86-64) 5.1.1 684.8 1178.7 1243.2 405.6
Dell Latitude D620 Core 2 Duo T5600 @ 1.83GHz openSUSE 10.3 (X86-64) 5.1.1 678.6 1125.6 1263.4 363.8
HP Compaq 8510w Core 2 Duo CPU T7500 @ 2.20GHz openSUSE 10.3 (X86-64) 5.1.1 842.5 1192.2 4886.9 3613.8

猜你喜欢

转载自laravel.iteye.com/blog/1779806
vps