DigitalOcean UnixBench跑分很不错

前两天用DigitalOcean的优惠码购买了一个512MB内存的VPS,今天做了一个跑分测试,性能很不错,达到了1414.8分,带宽、I/O也很不错,看来固态硬盘对性能的提升还是很明显的,下载速度可以达到84.3MB/s。

提示:虽然机器的网速很不错,但是由于测试的下载文件在国外,从国内访问的速度还有待考验,我下载一个测试文件,发现速度不如MediaTemple给力,当然这个情况跟路由有关系。

脚本测试(MediaTemple GS对比数据):

root@VPN:/home/vpn# bash bench.sh
CPU model : QEMU Virtual CPU version 1.4.0
Number of cores : 1
CPU frequency : 2299.998 MHz
Total amount of ram : 490 MB
Total amount of swap : 0 MB
System uptime : 20:33,
Download speed : (84.3MB/s)
I/O speed : 269MB/s

UnixBench测试(MediaTemple GS对比数据):

Benchmark Run: Wed Feb 12 2014 23:26:12 - 23:54:25
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       28339374.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3024.5 MWIPS (10.0 s, 7 samples)
Execl Throughput                               3372.9 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        712149.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          189191.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1619292.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1553351.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 279615.4 lps   (10.0 s, 7 samples)
Process Creation                               9783.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4374.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    597.7 lpm   (60.1 s, 2 samples)
System Call Overhead                        2034894.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   28339374.8   2428.4
Double-Precision Whetstone                       55.0       3024.5    549.9
Execl Throughput                                 43.0       3372.9    784.4
File Copy 1024 bufsize 2000 maxblocks          3960.0     712149.1   1798.4
File Copy 256 bufsize 500 maxblocks            1655.0     189191.9   1143.2
File Copy 4096 bufsize 8000 maxblocks          5800.0    1619292.7   2791.9
Pipe Throughput                               12440.0    1553351.4   1248.7
Pipe-based Context Switching                   4000.0     279615.4    699.0
Process Creation                                126.0       9783.1    776.4
Shell Scripts (1 concurrent)                     42.4       4374.2   1031.6
Shell Scripts (8 concurrent)                      6.0        597.7    996.2
System Call Overhead                          15000.0    2034894.6   1356.6
                                                                   ========
System Benchmarks Index Score                                        1155.8

MediaTemple的GS一对比,发现差距还是蛮大的,特别是下载速度和I/O,MediaTemple采用的是存储,在稳定性上应该更胜一筹,DigitalOcean采用的是本机的SSD,在速度上优势明显。

如果你的访客主要在米国,在选择VPS的时候可以考虑DigitalOcean,毕竟性能不错,并且价格还挺实惠。网上有不少评论说如果不符合他的TOS会被关闭账户,这点大家也要留意一下,如果违反他们的TOS的话,还是选择其他VPS,以免造成不必要的麻烦。

2 Comments