Re: 2 times faster rawio and several fixes (2.4.3aa3)

Andi Kleen (ak@suse.de)
Fri, 6 Apr 2001 19:02:32 +0200


On Fri, Apr 06, 2001 at 07:07:01PM +0200, Andrea Arcangeli wrote:
> However we can probably stay with the 512k atomic I/O otherwise the iobuf
> structure will grow again of an order of 2. With 512k of atomic I/O the kiovec
> structure is just 8756 in size (infact probably I should allocate some of the
> structures dynamically instead of statics inside the kiobuf.. as it is now
> with my patch it's not very reliable as it needs an allocation of order 2).

8756bytes wastes most of an order 2 allocation. Wouldn't it make more sense to
round it up to 16k to use the four pages fully ? (if the increased atomic
size doesn't have other bad effects -- i guess it's no problem anymore to
lock down that much memory?)

-Andi

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