fio

安装

下载,http://freshmeat.net/projects/fio/

解压缩,tar -zxvf fio-2.1.10.tar.gz

sudo apt-get install libaio-dev

cd fio-2.1.10

./configure

sudo make

sudo make install

使用:

顺序读:

fio --name=mytest1 --filename=/dev/sdb1 --ioengine=libaio --direct=1 --bs=4k --rw=read --iodepth=32 --numjobs=30 --group_reporting --runtime=60

顺序写:--rw=write

随机读:--rw=randread

随机写:--rw=randwrite

混合读写:--rw=randrw --rwmixread=50


fio命令参考:

http://www.360doc.com/content/15/0203/11/10671613_445908899.shtml

posted @ 2016-10-27 16:47  volcanorao  阅读(268)  评论(0编辑  收藏  举报