磁盘io性能的测试和调优方法 fio工具

背景

学习使用fio工具实现对磁盘io性能的测试和调优方法。

准备工具及知识点

  1. window10 上安装 xshell + vmware pro + centos环境;参考 (https://www.cnblogs.com/syw-home/p/12419715.html)
  2. yum install fio
  3. 了解/dev/sda (https://blog.csdn.net/weixin_34258838/article/details/85981795)
fio -filename=/dev/sda -direct=1 -ioepth 1 -thread -rw=randread -ioengine=psync -bs=4k -size=50G -numjobs=5 -runtime=100 -group_reporting -name=rand_100write_4k

 

fio操作参考:https://www.cnblogs.com/raykuan/p/6914748.html

 

posted @ 2020-03-07 11:27  威威后花园  阅读(1046)  评论(0编辑  收藏  举报