Re: -mmX 4G patches feedback [numbers: how much performance impact]

From: Andrea Arcangeli
Date: Wed Apr 07 2004 - 19:19:54 EST


On Wed, Apr 07, 2004 at 04:34:51PM -0700, Martin J. Bligh wrote:
> I measured it - IIRC it was 5-10% on kernel compile ... and that was on a
> high ratio NUMA which it should have made *better* (as with highmem, the
> PTEs can be allocated node locally). I'll try to dig up the old profiles.

but this is a kind of machine where I assume you've plenty of ram and
you really want pte_highmem enabled (the sysctl can still be added but
you really must know what you're doing if you disable pte_highmem
there), I was more interested to hear the impact on mid-low end 1-2G
machines where pte_highmem isn't really necessary for most apps, and
there the sysctl may be useful for general purpose too. If it payoffs
significantly the sysctl could then be elaborated in an heuristic that
prefers lowmem pagetables until a certain threshold, and then it
fallbacks in highmem allocations, and the threshold depends on the
highmem/lowmem ratio plus a further tuning via sysctl).
-
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/