[RFC PATCH] sched/numa: do load balance between remote nodes

2012-06-06 Thread Alex Shi
commit cb83b629b remove the NODE sched domain and check if the node distance in SLIT table is farther than REMOTE_DISTANCE, if so, it will lose the load balance chance at exec/fork/wake_affine points. But actually, even the node distance is farther than REMOTE_DISTANCE, Modern CPUs also has QPI

Re: [RFC PATCH] sched/numa: do load balance between remote nodes

2012-06-06 Thread Peter Zijlstra
On Wed, 2012-06-06 at 14:52 +0800, Alex Shi wrote: - if (sched_domains_numa_distance[level] REMOTE_DISTANCE) + if (sched_domains_numa_distance[level] RECLAIM_DISTANCE) I actually considered this.. I just felt a little uneasy re-purposing the RECLAIM_DISTANCE for this, but I guess

Re: [RFC PATCH] sched/numa: do load balance between remote nodes

2012-06-06 Thread Sergei Shtylyov
Hello. On 06-06-2012 10:52, Alex Shi wrote: commit cb83b629b Please also specify that commit's summary in parens. remove the NODE sched domain and check if the node distance in SLIT table is farther than REMOTE_DISTANCE, if so, it will lose the load balance chance at

Re: [RFC PATCH] sched/numa: do load balance between remote nodes

2012-06-06 Thread Alex Shi
On 06/06/2012 05:01 PM, Peter Zijlstra wrote: On Wed, 2012-06-06 at 14:52 +0800, Alex Shi wrote: - if (sched_domains_numa_distance[level] REMOTE_DISTANCE) + if (sched_domains_numa_distance[level] RECLAIM_DISTANCE) I actually considered this.. I just felt a little uneasy