刚买的Digital Ocean的VPS,基于KVM,选的是旧金山数据中心对国内非常友好电信和联通都是直连的。简单的查看了一下VPS的参数,限制2G主频对于建站来说足够了,后台有一键备份工具非常简单,如果数据丢失可以一键还原。官方网站:www.digitalocean.com

很多人都很推崇Digital Ocean的VPS,今天就带大家感受一下这云VPS,这家按小时算费的,大家可以开高配的感受一下,不想要就Destroy就不会收费了。

有兴趣的可以使用博主ref购买:https://www.digitalocean.com/?refcode=ef53f142f7ca

一、网络情况

1、据我所知,国人对于ping非常的看重(下图是旧金山VPS ping测试,下午有点抽,美国通病):

digital_ocean_ping_test title=

2、下载360,QQ就不下载了,因为QQ针对外国访客增加了外国服务器。

没兴趣等待下载完毕,就这样吧。

root@Kitano:~# wget http://down.360safe.com/setup.exe
--2014-03-05 09:07:42--  http://down.360safe.com/setup.exe
Resolving down.360safe.com... 180.153.235.250, 183.60.211.200
Connecting to down.360safe.com|180.153.235.250|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65269992 (62M) [application/octet-stream]
Saving to: `setup.exe' 
60% [======================>                ] 39,411,360  57.6K/s  eta 3m 14s

3 、Cachefly 100MB。

root@Kitano:~# wget cachefly.cachefly.net/100mb.test
--2014-03-05 09:16:04--  http://cachefly.cachefly.net/100mb.test
Resolving cachefly.cachefly.net... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: `100mb.test'

100%[======================================>] 104,857,600 15.4M/s   in 6.5s    

2014-03-05 09:16:11 (15.4 MB/s) - `100mb.test' saved [104857600/104857600]

二、CPU信息

典型KVM架构的。

root@Kitano:~# cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 2
model name    : QEMU Virtual CPU version 1.0
stepping    : 3
cpu MHz        : 1999.999
cache size    : 4096 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 4
wp        : yes
flags        : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm up pni vmx cx16 popcnt hypervisor lahf_lm
bogomips    : 3999.99
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management:

三、内存

没啥好说的,内存现在很便宜

root@Kitano:~# cat /proc/meminfo
MemTotal:         514484 kB
MemFree:          293116 kB
Buffers:            6872 kB
Cached:           196088 kB
SwapCached:            0 kB
Active:            41428 kB
Inactive:         166304 kB
Active(anon):       4780 kB
Inactive(anon):       48 kB
Active(file):      36648 kB
Inactive(file):   166256 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         514484 kB
LowFree:          293116 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          4768 kB
Mapped:             4000 kB
Shmem:                60 kB
Slab:               9616 kB
SReclaimable:       7096 kB
SUnreclaim:         2520 kB
KernelStack:         424 kB
PageTables:          372 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      257240 kB
Committed_AS:      37016 kB
VmallocTotal:     507908 kB
VmallocUsed:        3240 kB
VmallocChunk:     499556 kB
HardwareCorrupted:     0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        6132 kB
DirectMap2M:      518144 kB

四、硬盘情况

1、实实在在的20G,不像某些商家,跟硬盘厂商一样,1M=1000K

root@Kitano:~# df -lh
Filesystem            Size  Used Avail Use% Mounted on
/dev/vda               20G  837M   18G   5% /
tmpfs                 252M     0  252M   0% /lib/init/rw
udev                  247M   52K  247M   1% /dev
tmpfs                 252M  4.0K  252M   1% /dev/shm

2、然后就是读写测试,SSD用dd测试会吓死人。

root@Kitano:~# hdparm -t /dev/vda
/dev/vda:
 Timing buffered disk reads: 1352 MB in  3.02 seconds = 448.15 MB/sec

五、跑分

跑分其实不是重点,超过400就建站毫无压力了。

Benchmark Run: Wed Mar 05 2014 11:16:44 - 11:44:11
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       14595155.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2444.8 MWIPS (7.2 s, 7 samples)
Execl Throughput                               4803.7 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        656991.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          170845.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1646956.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1018366.9 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 256093.2 lps   (10.0 s, 7 samples)
Process Creation                              14092.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   6086.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    809.9 lpm   (60.0 s, 2 samples)
System Call Overhead                         869027.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   14595155.3   1250.7
Double-Precision Whetstone                       55.0       2444.8    444.5
Execl Throughput                                 43.0       4803.7   1117.1
File Copy 1024 bufsize 2000 maxblocks          3960.0     656991.0   1659.1
File Copy 256 bufsize 500 maxblocks            1655.0     170845.5   1032.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    1646956.0   2839.6
Pipe Throughput                               12440.0    1018366.9    818.6
Pipe-based Context Switching                   4000.0     256093.2    640.2
Process Creation                                126.0      14092.4   1118.4
Shell Scripts (1 concurrent)                     42.4       6086.9   1435.6
Shell Scripts (8 concurrent)                      6.0        809.9   1349.9
System Call Overhead                          15000.0     869027.6    579.4
                                                                   ========
System Benchmarks Index Score                                        1058.9

小结

的确不错的VPS,随时建立Snapshots,随时换机房,按小时算钱,不想用的时候直接建立Snapshots然后destroy就不算钱了。旧金山机房Ping非常不错,走nlaye线路,不知道为什么在nlayer转了好几转。

digital_ocean_tracert title=

非常值得购买的VPS,点这直达官网