测试磁盘的读写能力

参考链接:https://blog.csdn.net/weixin_40104766/article/details/120775106

磁盘io存在瓶颈,测试磁盘的读写能力

测试磁盘写能力,测试时使用缓存

time dd of=test.file if=/dev/zero bs=2048 count=500000

测试磁盘写能力,测试时不使用缓存

time dd of=test.file if=/dev/zero bs=2048 count=500000 oflag=direct

原文地址:https://www.cnblogs.com/seamy/p/15710654.html