Thread (177 messages) 177 messages, 16 authors, 2012-07-14

Re: [PATCH 13/40] autonuma: CPU follow memory algorithm

From: Andrea Arcangeli <hidden>
Date: 2012-06-30 12:49:11

On Sat, Jun 30, 2012 at 10:43:41AM +0800, Nai Xia wrote:
Well, I think I am not convinced by your this many words. And surely
I  will NOT follow your reasoning of "Having information is always
good than nothing".  We all know that  an illy biased balancing is worse
than randomness:  at least randomness means "average, fair play, ...".
The only way to get good performance like the hard bindings is to
fully converge the load into one node (or as fewer nodes as possible),
randomness won't get you very far in this case.
With all uncertain things, I think only a comprehensive survey
of real world workloads can tell if my concern is significant or not.
I welcome more real world tests.

I'm just not particularly concerned about your concern. The young bit
clearing during swapping would also be susceptible to your concern
just to make another example. If that would be a problem swapping
wouldn't possibly work ok either because pte_numa or pte_young works
the same way. In fact pte_young is even less reliable because the scan
frequency will be more variable so the phase effects will be even more
visible.

The VM is an heuristic, it obviously doesn't need to be perfect at all
times, what matters is the probability that it does the right thing.
So I think my suggestion to you is:  Show world some solid and sound
real world proof that your approximation is > 90% accurate, just like
the pioneers already did to LRU(This problem is surely different from
LRU. ).  Tons of words, will not do this.
http://www.kernel.org/pub/linux/kernel/people/andrea/autonuma/autonuma_bench-20120530.pdf
http://dl.dropbox.com/u/82832537/kvm-numa-comparison-0.png

There's more but I haven't updated them yet.

Thanks,
Andrea

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help