磁盘写入速度测试

  • A+
所属分类:排错

这是来测试nfs写:

$ time dd if=/dev/zero of=/testfs/testfile.dat bs=8k count=1024

1024+0 records in

1024+0 records out

8388608 bytes (8.4 MB) copied, 0.009669 seconds, 868 MB/s

real    0m0.013s

user    0m0.000s

sys     0m0.013s

这是测试nfs读:

$ time dd if=/testfs/testfile.dat of=/dev/null bs=8k

1024+0 records in

1024+0 records out

8388608 bytes (8.4 MB) copied, 0.002015 seconds, 4.2 GB/s

real    0m0.003s

user    0m0.000s

sys     0m0.002s

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: