Re: Avoiding external fragmentation with a placement policy Version12

From: Christoph Lameter
Date: Fri Jun 10 2005 - 11:22:09 EST


On Wed, 8 Jun 2005, Martin J. Bligh wrote:

> Right. I agree that large allocs should be reliable. Whether we care so
> much about if they're performant or not, I don't know ... is an interesting
> question. I think the answer is maybe not, within reason. The cost of
> fishing in the allocator might well be irrelevant compared to the cost
> of freeing the necessary memory area?

Large consecutive page allocation is important for I/O. Lots of drivers
are able to issue transfer requests spanning multiple pages which is only
possible if the pages are in sequence. If memory is fragmented then this
is no longer possible.
-
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/