FreeBSD & Linux disk AIO support
Igor Sysoev
is at rambler-co.ru
Wed Aug 26 18:32:56 MSD 2009
On Wed, Aug 26, 2009 at 04:20:56PM +0200, Robert Gabriel wrote:
> 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 2.6.30.5 custom kernel.
You should see improvements on a host where whole hot static content
does not fit in the host physical memory.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list