美文网首页
centos下测试读写速度

centos下测试读写速度

作者: tmll930 | 来源:发表于2019-02-27 08:14 被阅读0次

写速度

$dd if=/dev/zero bs=1k count=1000000 of=1Gb.file

1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 5.13676 seconds, 199 MB/s

读速度

$dd if=1Gb.file bs=64k |dd of=/dev/null

[haibo@localhost ~]$ dd if=1Gb.file bs=64k |dd of=/dev/null
15625+0 records in
15625+0 records out
1024000000 bytes (1.0 GB) copied, 6.37813 seconds, 161 MB/s
2000000+0 records in
2000000+0 records out
1024000000 bytes (1.0 GB) copied, 6.37891 seconds, 161 MB/s

相关文章

网友评论

      本文标题:centos下测试读写速度

      本文链接:https://www.haomeiwen.com/subject/twztuqtx.html