Confirmation of AIO

Maxim Dounin mdounin at
Mon Oct 31 00:40:41 UTC 2011


On Sun, Oct 30, 2011 at 02:28:30PM +0000, iberkner at wrote:

> I read that you don't get the file cache, so under what specific 
> circumstances in linux would it be beneficial to use aio (if 
> any)?

Using AIO under Linux would be beneficial if your working set is 
big compared to memory available and as a result filesystem cache 
doesn't improve things much.  Better disk concurrency may 
outweigh filesystem cache in such cases.

Maxim Dounin

More information about the nginx mailing list