Re: [PATCH 0/5] Sizing zones and holes in an architecture independentmanner V7

From: Mel Gorman
Date: Wed Jun 07 2006 - 12:24:34 EST


On Wed, 7 Jun 2006, Andi Kleen wrote:


Ok, while true, I'm not sure how it affects performance. The only "real"
value affected by present_pages is the number of patches that are
allocated in batches to the per-cpu allocator.

It affects the low/high water marks in the VM zone balancer.


ok, that's true. The watermarks would be higher if memmap and the kernel image is not taken into account. Arguably, the same applies to bootmem allocations. This hits all architectures *except* x86_64.

Especially for the 16MB DMA zone it can make a difference if you
account 4MB kernel in there or not.


I'm guessing it's a difficult-to-trigger problem or it would have been reported for other arches. Assuming it can be triggered and that is what was causing your problems, it's still worth fixing in the arch-independent code rather than burying it in arch/somewhere, right?

--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
-
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/