AIO support on Linux

Igor Sysoev is at rambler-co.ru
Wed Oct 18 10:52:09 MSD 2006


On Wed, 18 Oct 2006, Gentoo wrote:

> Is there any possibilty to have Async IO support in nginx-0.5.0?
> I really need this to serve images.

What AIO do you mean - the disk file AIO or socket AIO ?

nginx currently supports socket AIO on FreeBSD only. However, the code
is not maintainable because the socket AIO in FreeBSD is not scalable
and kernel may even panic. As I understand vanila Linux kernel has
no socket AIO.

nginx does not support disk file AIO. I have plan to support, but
it would not be soon. To decrease disk latencies you can increase number
of worker processes.


Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list