Flexible I/O Tester development
 help / color / mirror / Atom feed
* Ubuntu-13.10-- fio: engine libaio not loadable
@ 2014-04-28 23:59 Stephen Nichols
  2014-04-29  2:01 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Nichols @ 2014-04-28 23:59 UTC (permalink / raw)
  To: 'fio@vger.kernel.org'

Greetings all.

I have a issues using the libaio engine on Ubuntu-13.10. FIO version 2.1.8 is installed and runs fine if I leave the -ioengine option out of my configuration (it defaults to ioengine sync). When I try and use -ioengine=libaio I receive the errors

fio: engine libaio not loadable
fio: failed to lead engine libaio

I have use these identical workloads on Suse 11, RH6, and Cent OS systems with no issue. And even after specifically installing libaio on Ubuntu I still see these issues. 

apt-get install libaio1

Any ideas? I'm suspecting this is user error but I can't see where I went wrong.

Thanks
Stephen "Nick" Nichols
Western Digital
Enterprise Storage Group


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ubuntu-13.10-- fio: engine libaio not loadable
  2014-04-28 23:59 Ubuntu-13.10-- fio: engine libaio not loadable Stephen Nichols
@ 2014-04-29  2:01 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-04-29  2:01 UTC (permalink / raw)
  To: Stephen Nichols, 'fio@vger.kernel.org'

On 2014-04-28 17:59, Stephen Nichols wrote:
> Greetings all.
>
> I have a issues using the libaio engine on Ubuntu-13.10. FIO version 2.1.8 is installed and runs fine if I leave the -ioengine option out of my configuration (it defaults to ioengine sync). When I try and use -ioengine=libaio I receive the errors
>
> fio: engine libaio not loadable
> fio: failed to lead engine libaio
>
> I have use these identical workloads on Suse 11, RH6, and Cent OS systems with no issue. And even after specifically installing libaio on Ubuntu I still see these issues.
>
> apt-get install libaio1
>
> Any ideas? I'm suspecting this is user error but I can't see where I went wrong.

You need libaio-devel (or whatever the package is called) installed, 
otherwise fio can't build with libaio enabled. Watch the configure 
output, it'll tell you what it detects:

$ ./configure
[...]
Linux AIO support             yes

This is also detailed in the "Building" section in the README that came 
with fio.

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-29  2:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-28 23:59 Ubuntu-13.10-- fio: engine libaio not loadable Stephen Nichols
2014-04-29  2:01 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox