Hostigation $4/Month VPS 磁盘速度测试
By
lincanbin
at 2014-12-08 • 0人收藏 • 2078人看过
dd bs=1K count=1024000 if=/dev/zero of=test conv=fdatasync
测速三次取平均值:
[root@vps ~]# 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, 4.80853 seconds, 218 MB/s [root@vps ~]# 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, 6.09646 seconds, 172 MB/s [root@vps ~]# 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, 4.07307 seconds, 257 MB/s
大概216MB/s,在HDD的VPS中算是相当不错的表现了
2 个回复 | 最后更新于 2014-12-08
调整了一下参数,改为
dd bs=1M count=4K if=/dev/zero of=test conv=fdatasync
好吧……还是基本没变化……
[root@vps ~]# 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, 20.2148 seconds, 212 MB/s [root@vps ~]# 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, 22.1575 seconds, 194 MB/s [root@vps ~]# 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, 19.1925 seconds, 224 MB/s
登录后方可回帖
又跑了3次,均值还是200MB/s左右,没太明显的波动