AIO and some advice needed.

Alan Bateman Alan.Bateman at Sun.COM
Thu Nov 27 02:32:00 PST 2008


Avinash Lakshman wrote:
> iostat on Linux doesn't seem to show me correct statistics when I use 
> AIO. I know I am performing reads correctly but the r/s is always at 
> zero. What am I doing wrong? I run iostat -x 1.
Hard to say.  Are you saying that iostat doesn't work or just that the 
read stats don't change? If the latter then maybe the file is already 
cached. I see in proc(5) that you can drop the cache after sync'ing 
(I've never used it but maybe useful for this test).

-Alan.



More information about the nio-discuss mailing list