Re: Anyone doing async I/O on FreeBSD?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2012-10-24 23:45, Tom Blamer wrote:
> On a clean install of 9.0-RELEASE, fio-2.0.10 built from source, any
> job with posixaio fails with a "Function not implemented" error (see
> below).
> 
> It looks like the ports collection contains some kind of emulation
> tool for libaio (linux-libaio), should I be looking into that?
> 
> bsdserv1# cat doit.job
> [doit]
> thread
> ioengine=posixaio
> iodepth=2
> size=16M
> nrfiles=1
> rw=rw
> rwmixread=90
> 
> bsdserv1# fio doit.job
> doit: (g=0): rw=rw, bs=4K-4K/4K-4K/4K-4K, ioengine=posixaio, iodepth=2
> fio-2.0.10
> Starting 1 thread
> fio: pid=100082, err=78/file:engines/posixaio.c:198, func=xfer,
> error=Function not implemented

That's aio_read or aio_write returning -1/ENOSYS, which means that it's
not implemented. From a quick google, on FreeBSD, it seems you need to
have a kernel compiled with VFS_AIO enabled. Not sure why that isn't the
default...

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux