对于digitalocean之前使用过一段时间,而且出现在国人眼中的频率已经不高了,也基本上没有什么给力的优惠促销活动,不过还是有不少的伙伴喜欢。现在又重新开启了一台简单看看性能以及速度怎么样,对于digitalocean主机的稳定性就不说了!自从2014年学生优惠劵事件之后对于新注册的国人账户需要进行审核,并且需要说明用途。目前digitalocean已经拥有旧金山、新加坡、纽约、伦敦、法兰克福、阿姆斯特丹、印度等数据中心,其中印度节点是近期新增加的,对于国内的线路不好。现在国人选择较多的还是旧金山数据中心,速度还算是不错的。今天进行简单测试的也是旧金山数据中心。
测试套餐配置
- 核心:1核CPU
- 内存:512MB
- 硬盘:20GB
- 流量:1000GB
- 端口:1000Mbps
- 架构:KVM
- 价格:5刀/月
- 传送:购买链接
下面将从主机的简单配置、国内外下载速度、硬盘IO性能、Y2B视频观看、安装AMH时间等方面进行简单的测试!
测试时间段:2016年7月5日晚10点-晚11点
1、基本配置信息
[root@7vps ~]# free -m total used free shared buffers cached Mem: 498 79 419 0 10 25 -/+ buffers/cache: 42 456 Swap: 0 0 0 [root@7vps ~]# df -hal Filesystem Size Used Avail Use% Mounted on /dev/vda1 20G 1.9G 17G 11% / proc 0 0 0 - /proc sysfs 0 0 0 - /sys devpts 0 0 0 - /dev/pts tmpfs 250M 0 250M 0% /dev/shm none 0 0 0 - /proc/sys/fs/binfmt_misc /tmp/mysql.sock 20G 1.9G 17G 11% /home/wwwroot/index/tmp/mysql.sock [root@7vps ~]# lscpu Architecture: i686 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 45 Stepping: 7 CPU MHz: 2299.998 BogoMIPS: 4599.99 Virtualization: VT-x Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 15360K
2、基本网络测试
---------------------------------------------------------------------- CPU model : Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz Number of cores : 1 CPU frequency : 2299.998 MHz Total amount of ram : 498 MB Total amount of swap : 0 MB System uptime : 0days, 0:46:25 Load average : OS : CentOS 6.7 Arch : i686 (32 Bit) Kernel : 2.6.32-573.8.1.el6.i686 ---------------------------------------------------------------------- Node Name IPv4 address Download Speed CacheFly 205.234.175.175 98.6MB/s Linode, Tokyo, JP 106.187.96.148 16.8MB/s Linode, Singapore, SG 139.162.23.4 10.8MB/s Linode, London, UK 176.58.107.39 12.4MB/s Linode, Frankfurt, DE 139.162.130.8 11.7MB/s Linode, Fremont, CA 50.116.14.9 95.6MB/s Softlayer, Dallas, TX 173.192.68.18 49.4MB/s Softlayer, Seattle, WA 67.228.112.250 67.6MB/s Softlayer, Frankfurt, DE 159.122.69.4 13.5MB/s Softlayer, Singapore, SG 119.81.28.170 12.4MB/s Softlayer, HongKong, CN 119.81.130.170 12.2MB/s ---------------------------------------------------------------------- I/O speed(1st run) : 352 MB/s I/O speed(2nd run) : 632 MB/s I/O speed(3rd run) : 481 MB/s Average I/O speed : 488.333 MB/s
3、国内外下载速度
[root@7vps ~]# wget cachefly.cachefly.net/100mb.test --2016-07-05 11:09:54-- 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.1” 100%[======================================>] 104,857,600 85.8M/s in 1.2s 2016-07-05 11:09:55 (85.8 MB/s) - “100mb.test.1” saved [104857600/104857600] [root@7vps ~]# wget http://down.360.cn/360sd/360sd_x64_std_5.0.0.7033.exe --2016-07-05 11:10:04-- http://down.360.cn/360sd/360sd_x64_std_5.0.0.7033.exe Resolving down.360.cn... 104.192.108.18, 104.192.108.21 Connecting to down.360.cn|104.192.108.18|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 37480360 (36M) [application/octet-stream] Saving to: “360sd_x64_std_5.0.0.7033.exe.1” 100%[======================================>] 37,480,360 51.8M/s in 0.7s 2016-07-05 11:10:05 (51.8 MB/s) - “360sd_x64_std_5.0.0.7033.exe.1” saved [37480360/37480360]
4、硬盘IO性能
[root@7vps ~]# dd if=/dev/zero of=test bs=64k count=4k oflag=dsync 4096+0 records in 4096+0 records out 268435456 bytes (268 MB) copied, 7.31289 s, 36.7 MB/s [root@7vps ~]# dd if=/dev/zero of=test bs=8k count=256k conv=fdatasync 262144+0 records in 262144+0 records out 2147483648 bytes (2.1 GB) copied, 5.19997 s, 413 MB/s
5、安装AMH时间
******* SSH Dirs ******* WebSite: /home/wwwroot Nginx: /usr/local/nginx PHP: /usr/local/php MySQL: /usr/local/mysql MySQL-Data: /usr/local/mysql/data Start time: Tue Jul 5 22:28:38 CST 2016 Completion time: Tue Jul 5 10:50:29 EDT 2016 (Use: 21 minute) More help please visit:http://amysql.com ================================================================
6、Y2B测试
7、小结
整体上来说digitalocean用来搭建小站来说还是不错的,硬盘性能以及主机参数都还可以!高峰时期用来个人上网浏览网页还是可以的,多增加一些知识;如果用来观看视频画质质量较低的时候还是非常流畅的!