找回密码
 注册
查看: 646|回复: 0

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-6-29 10:22:16 | 显示全部楼层 |阅读模式
[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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 03:02 , Processed in 0.024425 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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