dd测试文件系统的性能

dd if=/dev/zero of=/mnt/test/1.dat bs=1M count=512 conv=fdatasync

conv=fdatasync 是跳过缓存,数据直接落盘。

echo 3 > /proc/sys/vm/drop_caches

 

更专业的IO性能测试工具有:

bonnie++

iozone

fio

 

猜你喜欢

转载自blog.csdn.net/David_ifx/article/details/103565239
今日推荐