Sergey Budnevitch
October 24, 2011 09:56AM
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
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: 249
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