Welcome! Log In Create A New Profile

Advanced

Re: Confirmation of AIO

Ilan Berkner
October 28, 2011 06:28PM
Thanks, now that I have it working, what particular files does it make send
to send using AIO? Its interesting that in the example given here:
http://wiki.nginx.org/HttpCoreModule (see below) the location referes to the
"video" directory, i.e. implying that AIO should really be used for media
file delivery.

Would SWF files for example fall in that category?

location /video {
aio on;
directio 512;
output_buffers 1 128k;
}

What kind of test could be run to discern the advantage of using AIO on any
type of file?

Thanks

On Mon, Oct 24, 2011 at 9:54 AM, Sergey Budnevitch <sb@waeme.net> wrote:

>
> On 24.10.2011, at 17:07, iberkner@gmail.com wrote:
>
> > CentOS
>
> Run nginx under strace:
>
> strace -f -e trace=io_submit /usr/sbin/nginx
>
> You will see something like
>
> [pid 1993] io_submit(139867403759616, 1, {{0x19a7ab0, 0, 0, 0, 10}}) = 1
> [pid 1993] io_submit(139867403759616, 1, {{0x19a7ab0, 0, 0, 0, 10}}) = 1
> [pid 1993] io_submit(139867403759616, 1, {{0x19a7ab0, 0, 0, 0, 10}}) = 1
> [pid 1993] io_submit(139867403759616, 1, {{0x19a7ab0, 0, 0, 0, 10}}) = 1
> ...
>
> if aio is working.
>
> >
> > ------Original Message------
> > From: Sergey Budnevitch
> > Sender: nginx-bounces@nginx.org
> > To: nginx@nginx.org
> > ReplyTo: nginx@nginx.org
> > Subject: Re: Confirmation of AIO
> > Sent: Oct 24, 2011 8:30 AM
> >
> >
> > On 24.10.2011, at 1:48, Ilan Berkner wrote:
> >
> >> Hi All,
> >>
> >> I'm trying to understand the advantages of AIO and how using it with
> Nginx can improve performance.
> >>
> >> I've compiled Nginx from source with the AIO option.
> >>
> >> I've enabled AIO in my Nginx configuration.
> >>
> >> How can I confirm that its working? If the server is serving pages,
> does it mean that its using AIO?
> >
> > What OS are you using?
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
> >
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--

Ilan Berkner
Chief Technology Officer
Time4Learning.com

6300 NE 1st Ave., Suite 203
Ft. Lauderdale, FL 33334
(954) 771-0914

http://www.twitter.com/time4learning http://www.facebook.com/Time4Learning


Time4Learning.com - Online interactive curriculum for home use, PreK-8th
Grade.
Time4Writing.com - Online writing tutorials for high, middle, and elementary
school students.
Time4Learning.net - A forum to chat with parents online about kids,
education, parenting and more.
spellingcity.com - Online vocabulary and spelling activities for teachers,
parents and students.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Confirmation of AIO

Ilan Berkner October 23, 2011 05:50PM

Re: Confirmation of AIO

Sergey Budnevitch October 24, 2011 08:32AM

Re: Confirmation of AIO

iberkner October 24, 2011 09:10AM

Re: Confirmation of AIO

Sergey Budnevitch October 24, 2011 09:56AM

Re: Confirmation of AIO

Ilan Berkner October 28, 2011 06:28PM

Re: Confirmation of AIO

Andy October 29, 2011 11:42PM

Re: Confirmation of AIO

iberkner October 30, 2011 10:30AM

Re: Confirmation of AIO

Maxim Dounin October 30, 2011 08:42PM

Re: Confirmation of AIO

iberkner October 30, 2011 09:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready