FreeBSD & Linux disk AIO support
    Igor Sysoev 
    is at rambler-co.ru
       
    Wed Aug 26 17:59:30 MSD 2009
    
    
  
On Wed, Aug 26, 2009 at 03:49:12PM +0200, Robert Gabriel wrote:
> Igor Sysoev wrote:
> > On Wed, Aug 26, 2009 at 03:11:55PM +0200, Robert Gabriel wrote:
> > 
> >> >> make[1]: Leaving directory `/users/root/downloads/source/nginx-0.8.10'
> >> make[1]: *** [objs/nginx] Error 1
> >> make[1]: Leaving directory `/users/root/downloads/source/nginx-0.8.10'
> >> make: *** [build] Error 2
> > 
> > The new patch.
> 
> 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.
-- 
Igor Sysoev
http://sysoev.ru/en/
    
    
More information about the nginx
mailing list