Re: Benchmarking objrmap under memory pressure

From: Hugh Dickins
Date: Wed Apr 14 2004 - 12:49:49 EST


On Wed, 14 Apr 2004, Andrea Arcangeli wrote:
>
> BTW, I've no idea idea why you used an UP machine for this, (plus if you
> can load kde on it it'd be better because kde is extremely smart at
> optimizing the ram usage with cow anonymous memory, the thing anon-vma
> can optimize and anonmm not, plus kde may use even mremap on this
> anonymous ram, and the very single reason it was impossible for me to
> take anonmm in production is that there's no way I can preodict which
> critical app is using mremap on anonymous COW memory to save ram). You
> definitely should use your 32-way booted with mem=512m to run this test
> or there's no way you'll ever botice the additional boost in scalability
> that anon-vma provides compared to anonmm, and that anonmm will never be
> able to reach.

This is just your guess at present, isn't it, Andrea? Any evidence?

Our current intention is to merge anonmm into mainline in a day or two.
The current consensus (in your absence!) seemed to be that anonmm is
likely to be good enough, no obvious need to go beyond it.

We'll happily replace it with anon_vma once we see the practical
problems which anon_vma solves and anonmm cannot, so long as the
greater cost of anon_vma (in complexity, memory usage, and vma
merge limitations) is worth it. Can happen just days later,
but would need evidence.

Hugh

-
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/