阿里云 VPS 磁盘速度测试
阿里云 VPS 磁盘速度测试
By lincanbin
at 2015-04-08
0人收藏 • 2391人看过
使用如下脚本进行测试:
dd bs=1K count=1024000 if=/dev/zero of=test conv=fdatasync
[root@iZ9425hgiysZ ~]# dd bs=1K count=1024000 if=/dev/zero of=test conv=fdatasync 1024000+0 records in 1024000+0 records out 1048576000 bytes (1.0 GB) copied, 21.5487 s, 48.7 MB/s [root@iZ9425hgiysZ ~]# dd bs=1K count=1024000 if=/dev/zero of=test conv=fdatasync 1024000+0 records in 1024000+0 records out 1048576000 bytes (1.0 GB) copied, 22.3143 s, 47.0 MB/s [root@iZ9425hgiysZ ~]# dd bs=1K count=1024000 if=/dev/zero of=test conv=fdatasync 1024000+0 records in 1024000+0 records out 1048576000 bytes (1.0 GB) copied, 23.4202 s, 44.8 MB/s [root@iZ9425hgiysZ ~]#
三次取平均值,速度稳定在46.8 MB/s,阿里云果然是出了名的石头盘。
- 登录后方可回帖
1 个回复 | 最后更新于 2015-04-08
调整了一下参数,改为
dd bs=1M count=4K if=/dev/zero of=test conv=fdatasync
同样3次取平均值:
[root@iZ9425hgiysZ ~]# [root@iZ9425hgiysZ ~]# dd bs=1M count=4K if=/dev/zero of=test conv=fdatasync 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 90.6047 s, 47.4 MB/s [root@iZ9425hgiysZ ~]# dd bs=1M count=4K if=/dev/zero of=test conv=fdatasync 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 91.6261 s, 46.9 MB/s [root@iZ9425hgiysZ ~]# dd bs=1M count=4K if=/dev/zero of=test conv=fdatasync 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 89.4723 s, 48.0 MB/s [root@iZ9425hgiysZ ~]#
真是如假包换的石头盘!
对比以前我用的其他VPS:
Hostigation:http://www.94cb.com/t/2296
DigitalOcean:http://www.94cb.com/t/2297