Welcome! Log In Create A New Profile

Advanced

RE: D state when high load on same static file.

Lukas Tribus
December 24, 2011 06:48PM
You are using Linux 2.6.18, which is old. You should upgrade to a recent kernel.


As from the nginx documentation, 2.6.18 doesn't even work with AIO:

http://nginx.org/en/docs/http/ngx_http_core_module.html#aio
> On Linux, AIO is usable starting from kernel version 2.6.22; plus,
> it is also necessary to enable directio, otherwise reading will be blocking"




> To: nginx@nginx.org
> Subject: Re: D state when high load on same static file.
> From: nginx-forum@nginx.us
> Date: Thu, 22 Dec 2011 04:24:50 -0500
>
> I have tried : sendfile, aio, directIO with the same scenario, same
> buffer size, ...
> But it seems that directIO is the best, when I turn to Aio or sendfile,
> the output bandwidth become less than directIO (about 200Mbps, just 10%
> compares to directIO )
>
> Is there anything tweak that relates to this problem ?
>
> Thanks all guys.
> Atrus@
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,220365,220379#msg-220379
>
> _______________________________________________
> 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

D state when high load on same static file.

atrus December 21, 2011 11:22PM

Re: D state when high load on same static file.

atrus December 22, 2011 02:00AM

Re: D state when high load on same static file.

atrus December 22, 2011 03:24AM

Re: D state when high load on same static file.

atrus December 22, 2011 04:24AM

Re: D state when high load on same static file.

unai December 22, 2011 03:02AM

Re: D state when high load on same static file.

Maxim Dounin December 22, 2011 03:42AM

Re: D state when high load on same static file.

unai December 22, 2011 03:58AM

RE: D state when high load on same static file.

Lukas Tribus December 24, 2011 06:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 217
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