Re: [PATCH 8/7] sched,numa: do not let a move increase the imbalance

2014-06-24 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/24/2014 10:38 AM, Peter Zijlstra wrote: >> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index >> 4723234..e98d290 100644 --- a/kernel/sched/fair.c +++ >> b/kernel/sched/fair.c @@ -1314,6 +1314,12 @@ static void >>

Re: [PATCH 8/7] sched,numa: do not let a move increase the imbalance

2014-06-24 Thread Rik van Riel
On Tue, 24 Jun 2014 16:38:20 +0200 Peter Zijlstra wrote: > On Mon, Jun 23, 2014 at 06:30:11PM -0400, Rik van Riel wrote: > > The HP DL980 system has a different NUMA topology from the 8 node > > system I am testing on, and showed some bad behaviour I have not > > managed to reproduce. This patch

Re: [PATCH 8/7] sched,numa: do not let a move increase the imbalance

2014-06-24 Thread Peter Zijlstra
On Mon, Jun 23, 2014 at 06:30:11PM -0400, Rik van Riel wrote: > The HP DL980 system has a different NUMA topology from the 8 node > system I am testing on, and showed some bad behaviour I have not > managed to reproduce. This patch makes sure workloads converge. > > When both a task swap and a

Re: [PATCH 8/7] sched,numa: do not let a move increase the imbalance

2014-06-24 Thread Peter Zijlstra
On Mon, Jun 23, 2014 at 06:30:11PM -0400, Rik van Riel wrote: The HP DL980 system has a different NUMA topology from the 8 node system I am testing on, and showed some bad behaviour I have not managed to reproduce. This patch makes sure workloads converge. When both a task swap and a task

Re: [PATCH 8/7] sched,numa: do not let a move increase the imbalance

2014-06-24 Thread Rik van Riel
On Tue, 24 Jun 2014 16:38:20 +0200 Peter Zijlstra pet...@infradead.org wrote: On Mon, Jun 23, 2014 at 06:30:11PM -0400, Rik van Riel wrote: The HP DL980 system has a different NUMA topology from the 8 node system I am testing on, and showed some bad behaviour I have not managed to

Re: [PATCH 8/7] sched,numa: do not let a move increase the imbalance

2014-06-24 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/24/2014 10:38 AM, Peter Zijlstra wrote: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 4723234..e98d290 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -1314,6 +1314,12 @@ static void task_numa_compare(struct

[PATCH 8/7] sched,numa: do not let a move increase the imbalance

2014-06-23 Thread Rik van Riel
The HP DL980 system has a different NUMA topology from the 8 node system I am testing on, and showed some bad behaviour I have not managed to reproduce. This patch makes sure workloads converge. When both a task swap and a task move are possible, do not let the task move cause an increase in the

[PATCH 8/7] sched,numa: do not let a move increase the imbalance

2014-06-23 Thread Rik van Riel
The HP DL980 system has a different NUMA topology from the 8 node system I am testing on, and showed some bad behaviour I have not managed to reproduce. This patch makes sure workloads converge. When both a task swap and a task move are possible, do not let the task move cause an increase in the