Re: [PATCH 1/2] aio: add vectored I/O support

From: Joel Becker
Date: Sat Oct 16 2004 - 00:39:28 EST


On Sat, Oct 16, 2004 at 07:18:45AM +0200, Avi Kivity wrote:
> It is a huge performance win, at least on the 2.4-based RHEL kernel.
> Large reads (~256K) using 4K iocbs are very slow on a large RAID, while
> after I coded a similar patch I got a substantial speedup.

I'd think we should fix the submission path instead. Why create
iovs _and_ iocbs when we only need to create one? And even if we
decided aio_readv() was still nice to keep, we'd want to fix this
inefficiency in io_submit().

Joel

--

"Nothing is wrong with California that a rise in the ocean level
wouldn't cure."
- Ross MacDonald

http://www.jlbec.org/
jlbec@xxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/