D state when high load on same static file.
Lukas Tribus
luky-37 at hotmail.com
Sat Dec 24 23:46:13 UTC 2011
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 at nginx.org
> Subject: Re: D state when high load on same static file.
> From: nginx-forum at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
More information about the nginx
mailing list