背景
學習使用fio工具實現對磁盤io性能的測試和調優方法。
准備工具及知識點
- window10 上安裝 xshell + vmware pro + centos環境;參考 (https://www.cnblogs.com/syw-home/p/12419715.html)
- yum install fio
- 了解/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