0x01 前言

昨天我写了一篇香港PacHosting VPS的评测文章(请点击这里查看评测),今天补上另一家我觉得合适建站的服务商的VPS。来自日本GMO财团的新加坡机房,价格比香港的PacHosting便宜,虽然性能比香港的PacHosting稍逊色,但价格却比PacHosting更为诱惑。

而尝试过那么多家VPS服务商后,我只推荐以下两家,价格适中,网络速度和硬件性能也都能满足基本需求:

有关香港PacHosting的评测信息请点击这里查看。

美国hostus云服务器测试:

美国Hostus云服务器(VPS) – OpenVZ 达拉斯数据中心

美国Hostus云服务器(VPS) – KVM & OpenVZ LAX02数据中心

0x02 服务器信息/性能测试

服务器配置/套餐如下:

  • vCPU:2核心
  • 内存:1GB
  • 硬盘:SSD 50GB
  • IP地址:1个IPv4
  • 网络:100M。但不能长时间占用超过40M的带宽,要不然会被限速至256K(32k/s)!长时间是多少?我也不知道,但我试过连续4小时以50M(约6.25m/s)的带宽下载文件。紧接着就被限速了。24小时后解除限速。

pachosting购买链接    conoha / z.com购买链接    hostus购买链接

测试的软件和手段如下:

  • ping
  • 路由追踪
  • wget测速
  • speedtest测速
  • 基于dd的硬盘IO测试
  • 基于fio的硬盘IO测试
  • 基于RAMSpeed/SMP的内存测试
  • 基于UnixBench的系统基准测试

0x03 ping / wget / 路由追踪

–0x03.1 ping测试

共发送3370个数据包。

--- 163.44.149.20 ping statistics ---
3370 packets transmitted, 3305 received, 1% packet loss, time 3373284ms
rtt min/avg/max/mdev = 44.073/49.645/98.869/9.093 ms

–0x03.2 wget测试

我的网络环境是中国电信100M光纤,通过wget获取我服务器上128m的文件。

[root@codex ~]# wget http://163.44.149.20/1gb.test
--2016-05-27 23:01:49--  http://163.44.149.20/1gb.test
正在连接 163.44.149.20:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:134217728 (128M) [application/octet-stream]
正在保存至: 128m.test”
134,217,728 7.32MB/s 用时 22s    

2016-05-27 23:02:11 (5.92 MB/s) - 已保存 “1gb.test” [134217728/134217728])

–0x03.3 路由追踪

0x04 speedtest 测试

代码内高亮行是延迟、下载速度和上传速度。

8648) China Broadband Communications (Hong Kong, China) [0.00 km]

[root@163-44-149-20 ~]# speedtest-cli --server 8648
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by China Broadband Communications (Hong Kong) [2583.41 km]: 182.314 ms
Testing download speed........................................
Download: 7.89 Mbit/s
Testing upload speed..................................................
Upload: 9.20 Mbit/s



1536) STC (Hong Kong, China) [3.25 km]

[root@163-44-149-20 ~]# speedtest-cli --server 1536
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by STC (Hong Kong) [2585.85 km]: 83.244 ms
Testing download speed........................................
Download: 83.85 Mbit/s
Testing upload speed..................................................
Upload: 66.44 Mbit/s



8170) Atombase Global Datamation (Hong Kong, China) [6.53 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 8170
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by Atombase Global Datamation (Hong Kong) [2589.92 km]: 97.588 ms
Testing download speed........................................
Download: 91.38 Mbit/s
Testing upload speed..................................................
Upload: 56.73 Mbit/s



6852) FPT Telecom (Chai Wan, China) [7.86 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 6852
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by FPT Telecom (Chai Wan) [2588.82 km]: 200.81 ms
Testing download speed........................................
Download: 60.26 Mbit/s
Testing upload speed..................................................
Upload: 11.34 Mbit/s



5081) ShenZhen Telecom (Shenzhen, China) [34.06 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 5081
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by ShenZhen Telecom (Shenzhen) [2610.12 km]: 139.701 ms
Testing download speed........................................
Download: 69.10 Mbit/s
Testing upload speed..................................................
Upload: 17.20 Mbit/s



1849) CTM Internet Services (Macau, Macau) [63.72 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 1849
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by CTM Internet Services (Macau) [2550.31 km]: 4729.765 ms
Testing download speed........................................
Download: 2.13 Mbit/s
Testing upload speed..................................................
Upload: 1.32 Mbit/s



4672) ChinaTelecom (Guangzhou, China) [134.80 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 4672
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by ChinaTelecom (Guangzhou) [2632.32 km]: 567.49 ms
Testing download speed........................................
Download: 15.45 Mbit/s
Testing upload speed..................................................
Upload: 4.87 Mbit/s



3891) Unicom-GZ (Guangzhou, China) [134.80 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 3891
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by Unicom-GZ (Guangzhou) [2632.32 km]: 673.786 ms
Testing download speed........................................
Download: 11.05 Mbit/s
Testing upload speed..................................................
Upload: 3.88 Mbit/s



5985) Hainan Unicom (Haikou, China) [466.43 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 5985
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by Hainan Unicom (Haikou) [2200.91 km]: 263.032 ms
Testing download speed........................................
Download: 69.02 Mbit/s
Testing upload speed..................................................
Upload: 5.99 Mbit/s



5506) china unicom (Xiamen, China) [468.88 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 5506
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by china unicom (Xiamen) [2995.79 km]: 328.844 ms
Testing download speed........................................
Download: 17.29 Mbit/s
Testing upload speed..................................................
Upload: 3.50 Mbit/s



6132) ChinaTelecom.Hunan (Changsha, China) [671.99 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 6132
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by ChinaTelecom.Hunan (Changsha) [3144.58 km]: 154.777 ms
Testing download speed........................................
Download: 10.52 Mbit/s
Testing upload speed..................................................
Upload: 5.37 Mbit/s



4870) Changsha, Hunan Unicom (Changsha, China) [671.99 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 4870
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by Changsha, Hunan Unicom (Changsha) [3144.58 km]: 506.68 ms
Testing download speed........................................
Download: 4.98 Mbit/s
Testing upload speed..................................................
Upload: 4.06 Mbit/s



4884) China Unicom FuJian (Fuzhou, China) [672.83 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 4884
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by China Unicom FuJian (Fuzhou) [3213.73 km]: 447.771 ms
Testing download speed........................................
Download: 17.94 Mbit/s
Testing upload speed..................................................
Upload: 4.21 Mbit/s



5204) Taiwan Fixed Network (Changhua, Taiwan) [677.49 km]
 
[root@163-44-149-20 ~]# speedtest-cli --server 5204
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from GMO Internet, Inc. (163.44.149.20)...
Hosted by Taiwan Fixed Network (Changhua) [3092.29 km]: 334.392 ms
Testing download speed........................................
Download: 34.56 Mbit/s
Testing upload speed..................................................
Upload: 10.81 Mbit/s

0x05 IO测试

–0x05.1 基于dd的硬盘IO测试

dd bs=1M count=1024 if=/dev/zero of=1gb.test conv=fdatasync

[root@163-44-149-20 ~]# dd bs=1M count=1024 if=/dev/zero of=1gb.test conv=fdatasync
记录了1024+0 的读入
记录了1024+0 的写出
1073741824字节(1.1 GB)已复制,5.21694 秒,206 MB/秒
[root@163-44-149-20 ~]# dd bs=1M count=1024 if=/dev/zero of=1gb.test conv=fdatasync
记录了1024+0 的读入
记录了1024+0 的写出
1073741824字节(1.1 GB)已复制,4.45332 秒,241 MB/秒
[root@163-44-149-20 ~]# dd bs=1M count=1024 if=/dev/zero of=1gb.test conv=fdatasync
记录了1024+0 的读入
记录了1024+0 的写出
1073741824字节(1.1 GB)已复制,6.91508 秒,155 MB/秒
[root@163-44-149-20 ~]# dd bs=1M count=1024 if=/dev/zero of=1gb.test conv=fdatasync
记录了1024+0 的读入
记录了1024+0 的写出
1073741824字节(1.1 GB)已复制,5.81578 秒,185 MB/秒
[root@163-44-149-20 ~]# dd bs=1M count=1024 if=/dev/zero of=1gb.test conv=fdatasync
记录了1024+0 的读入
记录了1024+0 的写出
1073741824字节(1.1 GB)已复制,6.01309 秒,179 MB/秒

–0x05.2 基于fio的硬盘IO测试

[root@163-44-149-20 bench]# fio -filename=/root/bench/test.fio  -direct=1 -rw=randread -bs=4k -size 1G -numjobs=8 -runtime=30 -group_reporting -name=file
file: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=psync, iodepth=1
...
fio-2.11-4-g34feb
Starting 8 processes
Jobs: 8 (f=8): [r(8)] [100.0% done] [44372KB/0KB/0KB /s] [11.1K/0/0 iops] [eta 00m:00s]
file: (groupid=0, jobs=8): err= 0: pid=4690: Fri May 27 23:31:37 2016
  read : io=1294.8MB, bw=44170KB/s, iops=11042, runt= 30001msec
    clat (usec): min=86, max=36388, avg=721.56, stdev=659.13
     lat (usec): min=86, max=36388, avg=721.93, stdev=659.12
    clat percentiles (usec):
     |  1.00th=[  165],  5.00th=[  197], 10.00th=[  229], 20.00th=[  274],
     | 30.00th=[  306], 40.00th=[  342], 50.00th=[  382], 60.00th=[  438],
     | 70.00th=[ 1032], 80.00th=[ 1336], 90.00th=[ 1656], 95.00th=[ 1896],
     | 99.00th=[ 2384], 99.50th=[ 2608], 99.90th=[ 3568], 99.95th=[ 5280],
     | 99.99th=[12224]
    bw (KB  /s): min= 4376, max= 6420, per=12.52%, avg=5528.92, stdev=243.36
    lat (usec) : 100=0.01%, 250=13.66%, 500=50.58%, 750=1.62%, 1000=3.28%
    lat (msec) : 2=27.26%, 4=3.51%, 10=0.06%, 20=0.01%, 50=0.01%
  cpu          : usr=0.76%, sys=2.31%, ctx=331300, majf=0, minf=278
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued    : total=r=331284/w=0/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: io=1294.8MB, aggrb=44169KB/s, minb=44169KB/s, maxb=44169KB/s, mint=30001msec, maxt=30001msec

Disk stats (read/write):
    dm-0: ios=330071/6, merge=0/0, ticks=232467/18, in_queue=232544, util=99.83%, aggrios=331286/6, aggrmerge=0/0, aggrticks=233016/18, aggrin_queue=232973, aggrutil=99.78%
  vda: ios=331286/6, merge=0/0, ticks=233016/18, in_queue=232973, util=99.78%


[root@163-44-149-20 bench]# fio -filename=/root/bench/test.fio  -direct=1 -rw=randread -bs=8k -size 1G -numjobs=8 -runtime=30 -group_reporting -name=file
file: (g=0): rw=randread, bs=8K-8K/8K-8K/8K-8K, ioengine=psync, iodepth=1
...
fio-2.11-4-g34feb
Starting 8 processes
Jobs: 8 (f=8): [r(8)] [100.0% done] [80512KB/0KB/0KB /s] [10.7K/0/0 iops] [eta 00m:00s]
file: (groupid=0, jobs=8): err= 0: pid=4700: Fri May 27 23:32:33 2016
  read : io=2357.2MB, bw=80481KB/s, iops=10060, runt= 30002msec
    clat (usec): min=93, max=40592, avg=792.19, stdev=742.75
     lat (usec): min=94, max=40593, avg=792.57, stdev=742.74
    clat percentiles (usec):
     |  1.00th=[  169],  5.00th=[  207], 10.00th=[  245], 20.00th=[  298],
     | 30.00th=[  334], 40.00th=[  374], 50.00th=[  418], 60.00th=[  486],
     | 70.00th=[ 1128], 80.00th=[ 1480], 90.00th=[ 1816], 95.00th=[ 2096],
     | 99.00th=[ 2608], 99.50th=[ 2864], 99.90th=[ 3856], 99.95th=[ 6496],
     | 99.99th=[18560]
    bw (KB  /s): min= 8576, max=12080, per=12.51%, avg=10068.62, stdev=491.29
    lat (usec) : 100=0.01%, 250=10.71%, 500=50.29%, 750=4.59%, 1000=2.04%
    lat (msec) : 2=26.03%, 4=6.24%, 10=0.07%, 20=0.02%, 50=0.01%
  cpu          : usr=0.69%, sys=2.20%, ctx=301839, majf=0, minf=288
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued    : total=r=301822/w=0/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: io=2357.2MB, aggrb=80480KB/s, minb=80480KB/s, maxb=80480KB/s, mint=30002msec, maxt=30002msec

Disk stats (read/write):
    dm-0: ios=300757/2, merge=0/0, ticks=232893/3, in_queue=232928, util=99.86%, aggrios=301822/3, aggrmerge=0/0, aggrticks=233424/3, aggrin_queue=233364, aggrutil=99.78%
  vda: ios=301822/3, merge=0/0, ticks=233424/3, in_queue=233364, util=99.78%


[root@163-44-149-20 ~]# fio -filename=/root/bench/test.fio  -direct=1 -rw=randread -bs=1m -size 1G -numjobs=8 -runtime=30 -group_reporting -name=file
file: (g=0): rw=randread, bs=1M-1M/1M-1M/1M-1M, ioengine=psync, iodepth=1
...
fio-2.11-4-g34feb
Starting 8 processes
Jobs: 8 (f=8): [r(8)] [85.7% done] [1265MB/0KB/0KB /s] [1265/0/0 iops] [eta 00m:01s]
file: (groupid=0, jobs=8): err= 0: pid=4747: Fri May 27 23:33:33 2016
  read : io=8192.0MB, bw=1200.9MB/s, iops=1200, runt=  6822msec
    clat (usec): min=589, max=41135, avg=6642.79, stdev=2164.92
     lat (usec): min=589, max=41135, avg=6643.25, stdev=2164.92
    clat percentiles (usec):
     |  1.00th=[ 3312],  5.00th=[ 4256], 10.00th=[ 4768], 20.00th=[ 5344],
     | 30.00th=[ 5792], 40.00th=[ 6176], 50.00th=[ 6496], 60.00th=[ 6816],
     | 70.00th=[ 7136], 80.00th=[ 7584], 90.00th=[ 8256], 95.00th=[ 9024],
     | 99.00th=[13376], 99.50th=[15296], 99.90th=[33024], 99.95th=[39680],
     | 99.99th=[41216]
    bw (KB  /s): min=127230, max=166220, per=12.27%, avg=150890.97, stdev=8656.80
    lat (usec) : 750=0.06%, 1000=0.04%
    lat (msec) : 2=0.20%, 4=3.20%, 10=93.75%, 20=2.38%, 50=0.38%
  cpu          : usr=0.09%, sys=1.31%, ctx=8210, majf=0, minf=2320
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued    : total=r=8192/w=0/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: io=8192.0MB, aggrb=1200.9MB/s, minb=1200.9MB/s, maxb=1200.9MB/s, mint=6822msec, maxt=6822msec

Disk stats (read/write):
    dm-0: ios=24153/6, merge=0/0, ticks=109545/44, in_queue=109617, util=98.67%, aggrios=24576/6, aggrmerge=0/1, aggrticks=110510/37, aggrin_queue=110518, aggrutil=98.53%
  vda: ios=24576/6, merge=0/1, ticks=110510/37, in_queue=110518, util=98.53%

0x06 基于RAMSpeed/SMP的内存测试

[root@163-44-149-20 ramsmp-3.5.0]# ./ramsmp -b 1
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER & WRITING         1 Kb block: 44180.54 MB/s
INTEGER & WRITING         2 Kb block: 44462.28 MB/s
INTEGER & WRITING         4 Kb block: 44001.75 MB/s
INTEGER & WRITING         8 Kb block: 44562.79 MB/s
INTEGER & WRITING        16 Kb block: 44908.35 MB/s
INTEGER & WRITING        32 Kb block: 43554.04 MB/s
INTEGER & WRITING        64 Kb block: 38372.38 MB/s
INTEGER & WRITING       128 Kb block: 38305.38 MB/s
INTEGER & WRITING       256 Kb block: 35687.01 MB/s
INTEGER & WRITING       512 Kb block: 34349.33 MB/s
INTEGER & WRITING      1024 Kb block: 34656.40 MB/s
INTEGER & WRITING      2048 Kb block: 34232.97 MB/s
INTEGER & WRITING      4096 Kb block: 33822.04 MB/s
INTEGER & WRITING      8192 Kb block: 25457.16 MB/s
INTEGER & WRITING     16384 Kb block: 16577.32 MB/s
INTEGER & WRITING     32768 Kb block: 16061.38 MB/s


[root@163-44-149-20 ramsmp-3.5.0]# ./ramsmp -b 2
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER & READING         1 Kb block: 85032.65 MB/s
INTEGER & READING         2 Kb block: 72202.83 MB/s
INTEGER & READING         4 Kb block: 89864.62 MB/s
INTEGER & READING         8 Kb block: 89757.58 MB/s
INTEGER & READING        16 Kb block: 89625.99 MB/s
INTEGER & READING        32 Kb block: 87551.00 MB/s
INTEGER & READING        64 Kb block: 65927.96 MB/s
INTEGER & READING       128 Kb block: 65186.62 MB/s
INTEGER & READING       256 Kb block: 58969.36 MB/s
INTEGER & READING       512 Kb block: 52048.07 MB/s
INTEGER & READING      1024 Kb block: 52692.12 MB/s
INTEGER & READING      2048 Kb block: 51939.80 MB/s
INTEGER & READING      4096 Kb block: 50814.94 MB/s
INTEGER & READING      8192 Kb block: 36141.40 MB/s
INTEGER & READING     16384 Kb block: 18401.87 MB/s
INTEGER & READING     32768 Kb block: 17425.66 MB/s


[root@163-44-149-20 ramsmp-3.5.0]# ./ramsmp -b 3
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER   Copy:      20645.61 MB/s
INTEGER   Scale:     21304.26 MB/s
INTEGER   Add:       21266.02 MB/s
INTEGER   Triad:     21319.94 MB/s
---
INTEGER   AVERAGE:   21133.96 MB/s


[root@163-44-149-20 ramsmp-3.5.0]# ./ramsmp -b 4
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT & WRITING        1 Kb block: 44498.44 MB/s
FL-POINT & WRITING        2 Kb block: 43317.00 MB/s
FL-POINT & WRITING        4 Kb block: 44495.73 MB/s
FL-POINT & WRITING        8 Kb block: 43405.32 MB/s
FL-POINT & WRITING       16 Kb block: 43427.43 MB/s
FL-POINT & WRITING       32 Kb block: 43194.48 MB/s
FL-POINT & WRITING       64 Kb block: 39391.08 MB/s
FL-POINT & WRITING      128 Kb block: 38462.11 MB/s
FL-POINT & WRITING      256 Kb block: 35440.46 MB/s
FL-POINT & WRITING      512 Kb block: 26862.37 MB/s
FL-POINT & WRITING     1024 Kb block: 35091.18 MB/s
FL-POINT & WRITING     2048 Kb block: 34012.88 MB/s
FL-POINT & WRITING     4096 Kb block: 32329.27 MB/s
FL-POINT & WRITING     8192 Kb block: 24475.83 MB/s
FL-POINT & WRITING    16384 Kb block: 16456.48 MB/s
FL-POINT & WRITING    32768 Kb block: 16308.69 MB/s


[root@163-44-149-20 ramsmp-3.5.0]# ./ramsmp -b 5
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT & READING        1 Kb block: 81686.57 MB/s
FL-POINT & READING        2 Kb block: 86524.92 MB/s
FL-POINT & READING        4 Kb block: 79991.38 MB/s
FL-POINT & READING        8 Kb block: 86055.11 MB/s
FL-POINT & READING       16 Kb block: 84126.79 MB/s
FL-POINT & READING       32 Kb block: 82428.09 MB/s
FL-POINT & READING       64 Kb block: 69558.49 MB/s
FL-POINT & READING      128 Kb block: 68903.03 MB/s
FL-POINT & READING      256 Kb block: 55960.58 MB/s
FL-POINT & READING      512 Kb block: 49231.28 MB/s
FL-POINT & READING     1024 Kb block: 50181.08 MB/s
FL-POINT & READING     2048 Kb block: 51357.70 MB/s
FL-POINT & READING     4096 Kb block: 50210.05 MB/s
FL-POINT & READING     8192 Kb block: 37689.12 MB/s
FL-POINT & READING    16384 Kb block: 19376.05 MB/s
FL-POINT & READING    32768 Kb block: 17752.24 MB/s


[root@163-44-149-20 ramsmp-3.5.0]# ./ramsmp -b 6
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT  Copy:      14123.78 MB/s
FL-POINT  Scale:     14252.38 MB/s
FL-POINT  Add:       15985.21 MB/s
FL-POINT  Triad:     17804.36 MB/s
---
FL-POINT  AVERAGE:   15541.43 MB/s

0x07 基于UnixBench的系统基准测试

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: 163-44-149-20: GNU/Linux
   OS: GNU/Linux -- 3.10.0-327.10.1.el7.x86_64 -- #1 SMP Tue Feb 16 17:03:50 UTC 2016
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (5200.0 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (5200.0 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   23:37:46 up 55 min,  2 users,  load average: 0.37, 0.89, 0.58; runlevel 2016-05-27

------------------------------------------------------------------------
Benchmark Run: 五 5月 27 2016 23:37:46 - 00:05:51
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       32867649.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4207.7 MWIPS (9.8 s, 7 samples)
Execl Throughput                               3294.3 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1006209.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          281531.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2271142.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1586516.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 313098.4 lps   (10.0 s, 7 samples)
Process Creation                               7138.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5250.4 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    977.5 lpm   (60.0 s, 2 samples)
System Call Overhead                        2390519.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   32867649.4   2816.4
Double-Precision Whetstone                       55.0       4207.7    765.0
Execl Throughput                                 43.0       3294.3    766.1
File Copy 1024 bufsize 2000 maxblocks          3960.0    1006209.5   2540.9
File Copy 256 bufsize 500 maxblocks            1655.0     281531.8   1701.1
File Copy 4096 bufsize 8000 maxblocks          5800.0    2271142.1   3915.8
Pipe Throughput                               12440.0    1586516.8   1275.3
Pipe-based Context Switching                   4000.0     313098.4    782.7
Process Creation                                126.0       7138.6    566.6
Shell Scripts (1 concurrent)                     42.4       5250.4   1238.3
Shell Scripts (8 concurrent)                      6.0        977.5   1629.2
System Call Overhead                          15000.0    2390519.1   1593.7
                                                                   ========
System Benchmarks Index Score                                        1387.3

------------------------------------------------------------------------
Benchmark Run: 六 5月 28 2016 00:05:51 - 00:33:57
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       67729009.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     8702.2 MWIPS (9.7 s, 7 samples)
Execl Throughput                               4757.4 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1548424.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          424822.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       3440517.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3271506.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 658275.2 lps   (10.0 s, 7 samples)
Process Creation                              18278.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   6812.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1066.2 lpm   (60.1 s, 2 samples)
System Call Overhead                        3790338.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   67729009.0   5803.7
Double-Precision Whetstone                       55.0       8702.2   1582.2
Execl Throughput                                 43.0       4757.4   1106.4
File Copy 1024 bufsize 2000 maxblocks          3960.0    1548424.0   3910.2
File Copy 256 bufsize 500 maxblocks            1655.0     424822.0   2566.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    3440517.1   5931.9
Pipe Throughput                               12440.0    3271506.7   2629.8
Pipe-based Context Switching                   4000.0     658275.2   1645.7
Process Creation                                126.0      18278.1   1450.6
Shell Scripts (1 concurrent)                     42.4       6812.9   1606.8
Shell Scripts (8 concurrent)                      6.0       1066.2   1777.0
System Call Overhead                          15000.0    3790338.1   2526.9
                                                                   ========
System Benchmarks Index Score                                        2343.2

0x08 评价/价格

我看好的这两家服务商的VPS各有优势。其中香港的网络状况要比所有国外的都要好,甚至性价比比国内同配置的主机要高。但价格与国外的主机相比却是毫无优势。但一分钱一分货,要好又要便宜的东西可是不存在的哦!

至于日本GMO的新加坡主机,一切都是那么完美,而网络却是完美中的一颗瑕疵。再次提醒:不能长时间占用超过40M的带宽,要不然会被限速至256K(32k/s)!长时间是多少?我也不知道,但我试过连续4小时以50M(约6.25m/s)的带宽下载文件。紧接着就被限速了。约24小时后解除限速。

过些天我再写篇文章,说说怎样从上面的数值得出有用的信息。说实话,其中很多的信息我也不懂,给我点时间翻书。有其他问题欢迎给我留言或通过邮件与我取得联系。

Conoha 新加坡 PacHostiong 香港
CPU 2 2
内存 1 2
硬盘 50GB SSD 100GB SSD
月付 1170JPY/约70RMB 218HKD/约185RMB
半年付 7020JPY/约419RMB 1188HKD/约1004RMB
年付 14040JPY/约837RMB 2136HKD/约1805RMB
  • 通过以下链接购买Conoha的产品,可获得1000JPY抵用券。不需要预先充值即可使用!
  • 通过我代购PacHosting 6个月以上的产品,可获得100港币现金返还。

pachosting购买链接    conoha / z.com购买链接    hostus购买链接

美国hostus云服务器测试:

美国Hostus云服务器(VPS) – OpenVZ 达拉斯数据中心

美国Hostus云服务器(VPS) – KVM & OpenVZ LAX02数据中心