- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
[root@iossd ~]# fio -ioengine=libaio -bs=16k -direct=1 -thread -rw=read -size=1G -filename=test.img -name="test" -iodepth=1 -time_based -runtime=60 -numjobs=16 -group_reporting4 f1 s3 N' K) j4 E! V- l& k1 r: f
fio: engine libaio not loadable F/ w- L& K. b( P z& Y
fio: failed to load engine libaio5 D: n5 @7 I W; G4 `* }0 Q
% B N% B8 s$ Kfio: failed to load engine libaio
8 B/ x! D' Q8 H' }8 e
6 J z% B# L8 X$ A安装libaio-devel包0 O* Z0 P" O; f; Y {+ _ o
yum install -y libaio-devel
j3 m: m! t3 z( u7 n7 N/ L; G; t1 U9 N5 e7 e
[root@iohdd ~]# rpm -qa|grep libaio
" @0 ?, d; B5 ]6 l* tlibaio-0.3.109-13.el7.x86_64' H& A- t# M5 d* K
libaio-devel-0.3.109-13.el7.x86_64
8 u; _1 U" k$ T再次执行:, o0 D" l+ D8 Q) s+ I
[root@iossd ~]# cd fio-2.1.10; w0 l+ d+ ]0 w2 n& E% E' ]* B
[root@iohdd fio-2.1.10]# ./configure
! A( N$ l3 f5 Q* z0 }! m3 [0 H[root@iohdd fio-2.1.10]# make && make install$ _1 u% j7 r& L
+ i) i c. b' i[root@iohdd fio-2.1.10]# fio --enghelp | grep libaio' ^/ [( x& E, A: W4 H( ^ h1 y
libaio
6 W9 X5 B' y8 L: v% ~) P
, G9 r! ~# W- ?) l3 V$ k
3 d6 ^$ R s6 E" R: e' q* ^0 G测试:0 n1 Q* c1 {/ B. n- [
[root@iossd ~]# fio -ioengine=libaio -bs=16k -direct=1 -thread -rw=read -size=1G -filename=test.img -name="test" -iodepth=1 -time_based -runtime=60 -numjobs=16 -group_reporting( v. [3 w% o( Z0 a$ Z; O' H. v" o
test: (g=0): rw=read, bs=16K-16K/16K-16K/16K-16K, ioengine=libaio, iodepth=1
' k8 f1 t9 \: B$ m8 P1 W7 F2 Q..." b! Q f4 d1 S9 ^* u
fio-2.1.10+ H. U5 }. B3 W: Z* F. h* t
Starting 16 threads
" a1 n) D* ^% p1 btest: Laying out IO file(s) (1 file(s) / 1024MB); O/ f: I3 K" A! d5 Z( M
7 Q; i! f7 z' {) @ |
|