|
|
[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_reporting5 _+ Q# i! F9 s9 O- S1 ^' e; t% k
fio: engine libaio not loadable K4 }6 o6 K3 p) o: m* Y
fio: failed to load engine libaio' |( Z7 G/ \) o$ m: r! }' d4 s
( q6 }+ O' h5 }- Sfio: failed to load engine libaio
5 y# Q6 D& g5 n+ @' r4 ]# }2 O* ]
( M% {$ X# o+ e9 f! ~0 C2 e安装libaio-devel包
" S3 y) t4 @! D7 k& q3 b) k yum install -y libaio-devel* J" g( t( w& l/ K: v' ~
4 d% S: Z! F( J1 p; `8 g x& t[root@iohdd ~]# rpm -qa|grep libaio" \& J5 s0 q/ W2 T- J
libaio-0.3.109-13.el7.x86_645 \6 W. K2 G7 H* D
libaio-devel-0.3.109-13.el7.x86_642 `! S v6 N/ U2 }5 F. p* O; x7 B0 K
再次执行:9 N# j# ~ ^; @1 u- T8 Z+ r0 c+ D
[root@iossd ~]# cd fio-2.1.109 h/ W3 I& O8 O8 R. u
[root@iohdd fio-2.1.10]# ./configure 1 \5 B7 G# g: f6 E! v
[root@iohdd fio-2.1.10]# make && make install9 m" i& n+ ~8 c1 L
( ~0 W8 |! r3 C' X u6 i$ x! f[root@iohdd fio-2.1.10]# fio --enghelp | grep libaio
3 |6 E9 X0 {+ Z$ ^( s, [9 B libaio
$ I$ R2 i0 C& w: Y' Q) ^9 e; T# ?) |
- B; D% G L* |) s& C$ P测试:
/ ^) ]; `6 u; j[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_reporting9 l8 o. l5 F9 M9 w- L
test: (g=0): rw=read, bs=16K-16K/16K-16K/16K-16K, ioengine=libaio, iodepth=16 q3 E1 _; }; P3 s4 F8 ]
...; w5 G7 S3 G2 ?" f1 ~- f+ ]
fio-2.1.10
) M4 ]# H' a, Z+ o* Z+ sStarting 16 threads
& v2 j; o+ M7 s" \1 J% Stest: Laying out IO file(s) (1 file(s) / 1024MB)6 Q7 c+ E4 \: v# R& J$ u6 C' _. M
; V; E; S2 x2 S |
|