FreeBSD & Linux disk AIO support

Robert Gabriel lists at
Wed Aug 26 18:20:56 MSD 2009

Igor Sysoev wrote:
> On Wed, Aug 26, 2009 at 03:49:12PM +0200, Robert Gabriel wrote:
>> Hi, it worked, it was build perfectly, but how can I know now if it's 
>> using aio or not and what would be the "improvements" ?
>> Is there a way to test this?
> You need set
> location / {
>     aio             on;
>     directio        128k;
>     output_buffers  1 128k;
> }
> I do not know how to learn if nginx uses AIO on Linux or not.
> I can say it only for FreeBSD. On Linux I looked in debug log.

OK i guess, I have set it up for a few vhosts, Im not sure there is some 
kind of improvement, as most of the vhosts are with php, but don't see 
any slowness neither, so ... I'm not sure :)

P.S. I'm running it on Ubuntu 8.04.3 with custom kernel.
Posted via

More information about the nginx mailing list