- 积分
- 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_reporting
' Z/ u2 n0 X5 P6 ?: tfio: engine libaio not loadable
0 d* y+ P5 L# }& `, I* r* I7 `: zfio: failed to load engine libaio
y* d7 v u2 ]0 j1 V1 j$ A# x
+ u% X4 R+ K. j6 c/ G- Tfio: failed to load engine libaio/ |- t9 a \& N- _
% S7 X0 u' Z+ r4 \
安装libaio-devel包
+ A: L" V8 Z- J- h, V- R" L yum install -y libaio-devel1 T4 J6 k& _2 r, R
P6 D' e# W- V4 m( o
[root@iohdd ~]# rpm -qa|grep libaio
; O, b) f9 ?+ \ vlibaio-0.3.109-13.el7.x86_64
+ U. f1 K9 ^+ M4 q/ |9 ylibaio-devel-0.3.109-13.el7.x86_64
( n6 \% i! J( x* [5 R再次执行:) U$ s5 n! Z" V: P, a, N, J* d8 j
[root@iossd ~]# cd fio-2.1.10* p# ~1 T& K9 h u* |" s q
[root@iohdd fio-2.1.10]# ./configure
1 }6 H( A* C8 |# C8 u1 r6 r( w[root@iohdd fio-2.1.10]# make && make install8 _( N! N; n% h+ n& l
% X' O$ B2 Z% o8 d- w[root@iohdd fio-2.1.10]# fio --enghelp | grep libaio" s1 g6 R$ D9 j1 C+ V
libaio! s5 s& s$ {( y! [, {
: M( B, n1 g/ M* b
. [& U' a- r, Z, u% [测试:; r3 c+ D: e9 V* y; m
[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 s# X q; A/ I3 T4 W4 P! U
test: (g=0): rw=read, bs=16K-16K/16K-16K/16K-16K, ioengine=libaio, iodepth=17 v! Q, ^& s; D4 ]! @& N# c
...
3 Y* x: _/ e3 W, _* n5 A& _fio-2.1.10
* F% _& j/ w3 ^Starting 16 threads
" h( q! j( d! g" M% |test: Laying out IO file(s) (1 file(s) / 1024MB)
5 Y" e& N& u1 _5 Z& n: j) ^- @, O) U2 D5 O
|
|