易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 642|回复: 0
收起左侧

fio: engine libaio not loadable fio: failed to load engine libaion 问题解决办法

[复制链接]
发表于 2022-6-29 10:22:16 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

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
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:37 , Processed in 0.038294 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表