> On Tue, Sep 17, 2002 at 02:03:02PM -0700, Badari Pulavarty wrote:
> > Hi Ben,
> > Here is a 2.5.35 patch to make DIO async. Basically, DIO does not
> > wait for io completion. Waiting will be done at the higher level
> > (same way generic_file_read does).
> This looks pretty good. Andrew Morton has had a look over it too and
> agrees that it should go in after a bit of testing. Does someone want
> to try comparing throughput of dio based aio vs normal read/write? It
> would be interesting to see what kind of an effect pipelining aios makes
> and if there are any performance niggles we need to squash. Cheer,
Thanks for looking at the patch. Patch needed few cleanups to get it
working. Here is the status so far..
1) I tested synchronous raw read/write. They perform almost same as
without this patch. I am looking at why I can't match the performance.
(I get 380MB/sec on 40 dd's on 40 disks without this patch.
I get 350MB/sec with this patch).
2) wait_on_sync_kiocb() needed blk_run_queues() to make regular read/
write perform well.
3) I am testing aio read/writes. I am using libaio.0.3.92.
When I try aio_read/aio_write on raw device, I am get OOPS.
Can I use libaio.0.3.92 on 2.5 ? Are there any interface
changes I need to worry between 2.4 and 2.5 ?
Once I get aio read/writes working, I will provide you the performance
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:22 EST