VPS性能测试程序UnixBench

By | 2010/10/04

最近入手了几个VPS, 想测试一下性能.  找到了个比较好用的VPS性能测试程序–UnixBench.

程序使用很容易.在 ssh命令行直接运行下面命令就行了.

[root@xx ~]# wget http://deak17.googlecode.com/files/unixbench-4.1.0-wht.tar.gz
[root@xx ~]# tar xzf unixbench-4.1.0-wht.tar.gz
[root@xx ~]# cd unixbench-4.1.0-wht-2/
[root@xx unixbench-4.1.0-wht-2]# make
[root@xx unixbench-4.1.0-wht-2]# ./Run

下面是VPS的得分, 越高性能越好. 小于100就是性能很差:

TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        376783.7 11119410.0      295.1
Double-Precision Whetstone                      83.1     1376.6      165.7
Execl Throughput                               188.3     1345.0       71.4
File Copy 1024 bufsize 2000 maxblocks         2672.0   106409.0      398.2
File Copy 256 bufsize 500 maxblocks           1077.0    34066.0      316.3
File Read 4096 bufsize 8000 maxblocks        15382.0   663189.0      431.1
Pipe-based Context Switching                 15448.6   210827.6      136.5
Pipe Throughput                             111814.6  1470763.4      131.5
Process Creation                               569.3     2318.4       40.7
Shell Scripts (8 concurrent)                    44.8      227.8       50.8
System Call Overhead                        114433.5  1158536.6      101.2
=========
FINAL SCORE                                                     147.4

TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        376783.7 22739281.8      603.5
Double-Precision Whetstone                      83.1     1480.2      178.1
Execl Throughput                               188.3    15670.1      832.2
File Copy 1024 bufsize 2000 maxblocks         2672.0   371277.0     1389.5
File Copy 256 bufsize 500 maxblocks           1077.0   106325.0      987.2
File Read 4096 bufsize 8000 maxblocks        15382.0  2515432.0     1635.3
Pipe-based Context Switching                 15448.6   928409.4      601.0
Pipe Throughput                             111814.6  3138127.8      280.7
Process Creation                               569.3    42838.7      752.5
Shell Scripts (8 concurrent)                    44.8     2174.3      485.3
System Call Overhead                        114433.5  2608494.5      227.9
=========
FINAL SCORE                                                     586.4

对第二个还是很满意的.

10 thoughts on “VPS性能测试程序UnixBench

  1. dengor Post author

    TEST BASELINE RESULT INDEX

    Dhrystone 2 using register variables 376783.7 6119214.2 162.4
    Double-Precision Whetstone 83.1 1301.6 156.6
    Execl Throughput 188.3 3089.0 164.0
    File Copy 1024 bufsize 2000 maxblocks 2672.0 110178.0 412.3
    File Copy 256 bufsize 500 maxblocks 1077.0 37167.0 345.1
    File Read 4096 bufsize 8000 maxblocks 15382.0 699527.0 454.8
    Pipe-based Context Switching 15448.6 219972.0 142.4
    Pipe Throughput 111814.6 770629.0 68.9
    Process Creation 569.3 6155.2 108.1
    Shell Scripts (8 concurrent) 44.8 308.8 68.9
    System Call Overhead 114433.5 574250.8 50.2
    =========
    FINAL SCORE 151.9

  2. Pingback: 年付15美元的小内存VPS-NordicVPS | 网络资源收集

  3. dengor Post author

    84
    Dhrystone 2 using register variables 376783.7 7048374.9 187.1
    Double-Precision Whetstone 83.1 1457.4 175.4
    Execl Throughput 188.3 4494.3 238.7
    File Copy 1024 bufsize 2000 maxblocks 2672.0 128972.0 482.7
    File Copy 256 bufsize 500 maxblocks 1077.0 51523.0 478.4
    File Read 4096 bufsize 8000 maxblocks 15382.0 1076013.0 699.5
    Pipe-based Context Switching 15448.6 284441.8 184.1
    Pipe Throughput 111814.6 894668.3 80.0
    Process Creation 569.3 14680.7 257.9
    Shell Scripts (8 concurrent) 44.8 649.7 145.0
    System Call Overhead 114433.5 700070.1 61.2
    =========
    FINAL SCORE 213.8

  4. dengor Post author

    TEST BASELINE RESULT INDEX

    Dhrystone 2 using register variables 376783.7 18721722.2 496.9
    Double-Precision Whetstone 83.1 1255.3 151.1
    Execl Throughput 188.3 13821.9 734.0
    File Copy 1024 bufsize 2000 maxblocks 2672.0 341296.0 1277.3
    File Copy 256 bufsize 500 maxblocks 1077.0 98905.0 918.3
    File Read 4096 bufsize 8000 maxblocks 15382.0 2439117.0 1585.7
    Pipe-based Context Switching 15448.6 862863.5 558.5
    Pipe Throughput 111814.6 2753958.2 246.3
    Process Creation 569.3 40125.6 704.8
    Shell Scripts (8 concurrent) 44.8 1598.2 356.7
    System Call Overhead 114433.5 2419303.4 211.4
    =========
    FINAL SCORE 519.9
    slvps

  5. dengor

    TEST BASELINE RESULT INDEX

    Dhrystone 2 using register variables 376783.7 6216036.7 165.0
    Double-Precision Whetstone 83.1 1330.3 160.1
    Execl Throughput 188.3 2072.7 110.1
    File Copy 1024 bufsize 2000 maxblocks 2672.0 93377.0 349.5
    File Copy 256 bufsize 500 maxblocks 1077.0 25946.0 240.9
    File Read 4096 bufsize 8000 maxblocks 15382.0 866559.0 563.4
    Pipe Throughput 111814.6 662846.6 59.3
    Pipe-based Context Switching 15448.6 92605.6 59.9
    Process Creation 569.3 3818.7 67.1
    Shell Scripts (8 concurrent) 44.8 591.6 132.1
    System Call Overhead 114433.5 541162.5 47.3
    =========
    FINAL SCORE 131.6

  6. Dengor

    TEST BASELINE RESULT INDEX

    Dhrystone 2 using register variables 376783.7 4262273.8 113.1
    Double-Precision Whetstone 83.1 831.1 100.0
    Execl Throughput 188.3 3349.1 177.9
    File Copy 1024 bufsize 2000 maxblocks 2672.0 115726.0 433.1
    File Copy 256 bufsize 500 maxblocks 1077.0 40549.0 376.5
    File Read 4096 bufsize 8000 maxblocks 15382.0 627536.0 408.0
    Pipe-based Context Switching 15448.6 278822.0 180.5
    Pipe Throughput 111814.6 1194564.3 106.8
    Process Creation 569.3 9458.4 166.1
    Shell Scripts (8 concurrent) 44.8 430.7 96.1
    System Call Overhead 114433.5 1223015.8 106.9
    =========
    FINAL SCORE 173.9
    avps ny

  7. dengor Post author

    TEST BASELINE RESULT INDEX

    Dhrystone 2 using register variables 376783.7 12679293.5 336.5
    Double-Precision Whetstone 83.1 1387.1 166.9
    Execl Throughput 188.3 4246.0 225.5
    File Copy 1024 bufsize 2000 maxblocks 2672.0 214587.0 803.1
    File Copy 256 bufsize 500 maxblocks 1077.0 62060.0 576.2
    File Read 4096 bufsize 8000 maxblocks 15382.0 1505440.0 978.7
    Pipe Throughput 111814.6 2517840.0 225.2
    Pipe-based Context Switching 15448.6 273361.0 176.9
    Process Creation 569.3 7376.0 129.6
    Shell Scripts (8 concurrent) 44.8 1221.8 272.7
    System Call Overhead 114433.5 4036882.9 352.8
    =========
    FINAL SCORE 313.2
    cuvps

  8. dengor Post author

    如果出现下面错误
    make: gcc: Command not found
    make: *** [pgms/arithoh] Error 127

    出现下面错误可能是由于没有安装gcc,所以运行下面命令安装下gcc就可以了。

    [root@EU unixbench-4.1.0-wht-2]# yum install make gcc

    如果遇到 Error: Please install /usr/bin/time. 错误提示

    centos/fedora 下运行

    [root@EU unixbench-4.1.0-wht-2]# yum install time

    ubuntu/debian 下运行

    [root@EU unixbench-4.1.0-wht-2]# apt-get install time

  9. dengor Post author

    TEST BASELINE RESULT INDEX

    Dhrystone 2 using register variables 376783.7 11276974.4 299.3
    Double-Precision Whetstone 83.1 1501.2 180.6
    Execl Throughput 188.3 1544.1 82.0
    File Copy 1024 bufsize 2000 maxblocks 2672.0 186260.0 697.1
    File Copy 256 bufsize 500 maxblocks 1077.0 57557.0 534.4
    File Read 4096 bufsize 8000 maxblocks 15382.0 672163.0 437.0
    Pipe-based Context Switching 15448.6 91707.3 59.4
    Pipe Throughput 111814.6 994351.0 88.9
    Process Creation 569.3 1932.5 33.9
    Shell Scripts (8 concurrent) 44.8 261.1 58.3
    System Call Overhead 114433.5 1460204.2 127.6
    =========
    FINAL SCORE 151.5
    pvps

  10. dengor Post author

    TEST BASELINE RESULT INDEX

    Dhrystone 2 using register variables 376783.7 9378622.3 248.9
    Double-Precision Whetstone 83.1 1632.6 196.5
    Execl Throughput 188.3 5235.3 278.0
    File Copy 1024 bufsize 2000 maxblocks 2672.0 171094.0 640.3
    File Copy 256 bufsize 500 maxblocks 1077.0 44905.0 416.9
    File Read 4096 bufsize 8000 maxblocks 15382.0 1162400.0 755.7
    Pipe-based Context Switching 15448.6 209854.7 135.8
    Pipe Throughput 111814.6 987551.3 88.3
    Process Creation 569.3 17144.5 301.2
    Shell Scripts (8 concurrent) 44.8 947.7 211.5
    System Call Overhead 114433.5 1095517.0 95.7
    =========
    FINAL SCORE 246.1
    rvps

Comments are closed.