dd测试磁盘性能
time sh -c "dd if=/dev/zero of=ddfile bs=8k count=2000000 && sync"2000000+0 records in
2000000+0 records out
16384000000 bytes (16 GB) copied, 409.806 s, 40.0 MB/s
real 7m4.617s
user 0m0.428s
sys 0m36.500stime sh -c "dd if=/dev/zero of=ddfile2 bs=8K count=1000000"
time dd if=ddfile of=/dev/null bs=8k参考
Last updated