Confirmation of AIO

Sergey Budnevitch sb at waeme.net
Mon Oct 24 13:54:33 UTC 2011


On 24.10.2011, at 17:07, iberkner at 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 at nginx.org
> To: nginx at nginx.org
> ReplyTo: nginx at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list