测试时间可能会比较长,请耐心等待。最后UnixBench会详细列出各个测试项目的得分状况,以及VPS性能的综合跑分结果web
使用方法以下:性能
Run [ -q | -v ] [-i <n> ] [-c <n> [-c <n> ...]] [test ...] The option flags are: -q Run in quiet mode. -v Run in verbose mode. -i <count> Run <count> iterations for each test -- slower tests use <count> / 3, but at least 1. Defaults to 10 (3 for slow tests). -c <n> Run <n> copies of each test in parallel.
虚拟机配置以下:测试
测试结果以下:ui
------------------------------------------------------------------------ Benchmark Run: 一 1月 04 2016 03:08:36 - 03:36:52 1 CPU in system; running 1 parallel copy of tests Dhrystone 2 using register variables 27039466.2 lps (10.0 s, 7 samples) Double-Precision Whetstone 3399.1 MWIPS (9.9 s, 7 samples) Execl Throughput 3407.3 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 885338.3 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 237545.2 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2317269.6 KBps (30.0 s, 2 samples) Pipe Throughput 1440875.5 lps (10.0 s, 7 samples) Pipe-based Context Switching 274347.8 lps (10.0 s, 7 samples) Process Creation 12537.6 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 2579.4 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 625.1 lpm (60.0 s, 2 samples) System Call Overhead 1984113.7 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 27039466.2 2317.0 Double-Precision Whetstone 55.0 3399.1 618.0 Execl Throughput 43.0 3407.3 792.4 File Copy 1024 bufsize 2000 maxblocks 3960.0 885338.3 2235.7 File Copy 256 bufsize 500 maxblocks 1655.0 237545.2 1435.3 File Copy 4096 bufsize 8000 maxblocks 5800.0 2317269.6 3995.3 Pipe Throughput 12440.0 1440875.5 1158.3 Pipe-based Context Switching 4000.0 274347.8 685.9 Process Creation 126.0 12537.6 995.0 Shell Scripts (1 concurrent) 42.4 2579.4 608.3 Shell Scripts (8 concurrent) 6.0 625.1 1041.9 System Call Overhead 15000.0 1984113.7 1322.7 ======== System Benchmarks Index Score 1207.8