找回密码
 注册
查看: 647|回复: 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_reporting0 {+ J  N* L8 c
fio: engine libaio not loadable
& L+ i" c/ n  d+ T. O9 M4 r# l$ rfio: failed to load engine libaio
# [6 B; N$ v0 P  O8 H  x& R- \3 X% r' J% t
fio: failed to load engine libaio1 j2 s" _; f5 u- C+ P9 P; T* r

4 x  x; M8 N4 f6 M5 p" i0 E安装libaio-devel包: T; M' ^+ z2 ^0 i& K' u
yum install -y libaio-devel
2 T# S5 |& a# F' s7 g' T3 @* w0 n/ K# v) |6 \
[root@iohdd ~]# rpm -qa|grep libaio
- a! _" r! U8 [4 H' |! z' Vlibaio-0.3.109-13.el7.x86_64
8 O3 Y% L# x6 b6 qlibaio-devel-0.3.109-13.el7.x86_645 F! N. {/ E" e& @  C
再次执行:
8 r- {( D. D0 Z[root@iossd ~]# cd fio-2.1.10
/ Q$ X! F" V5 w% p; q[root@iohdd fio-2.1.10]# ./configure 7 G+ s6 L  f) v0 \9 a
[root@iohdd fio-2.1.10]# make && make install# ?3 T! t- T) F; k7 G: l

5 _" [" G0 o! I/ C[root@iohdd fio-2.1.10]# fio --enghelp | grep libaio5 a" u5 i  i5 |; p* e: h
libaio
$ f( j- r3 U" |/ t( q' E8 S
9 d# C2 z6 W( _6 N& W( Z7 a# M) Z$ W3 O! P* C
测试:9 b5 j. e% {; W5 Z5 E$ O& u
[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_reporting8 i0 ~+ k. j3 S" b& V
test: (g=0): rw=read, bs=16K-16K/16K-16K/16K-16K, ioengine=libaio, iodepth=1" H8 V6 m( ]0 U/ {% M7 ], Q+ O( J
...5 i& `+ v8 `" z+ B4 H
fio-2.1.10
: P! Z$ ~5 }3 H$ q+ s& uStarting 16 threads# y# u! P# W1 f2 L
test: Laying out IO file(s) (1 file(s) / 1024MB)
, s5 D, E6 o) l+ m  V
' H% S* b' p! [# u! ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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