Re: [PATCH 6/6] numa,sched: normalize faults_from stats and weigh by CPU use

2014-01-17 Thread Rik van Riel
On 01/17/2014 10:04 AM, Peter Zijlstra wrote: > On Fri, Jan 17, 2014 at 09:51:44AM -0500, Rik van Riel wrote: >> On 01/17/2014 04:54 AM, Peter Zijlstra wrote: >>> On Fri, Jan 17, 2014 at 01:17:36AM -0500, r...@redhat.com wrote: + /* + * Normalize the fau

Re: [PATCH 6/6] numa,sched: normalize faults_from stats and weigh by CPU use

2014-01-17 Thread Peter Zijlstra
On Fri, Jan 17, 2014 at 09:51:44AM -0500, Rik van Riel wrote: > On 01/17/2014 04:54 AM, Peter Zijlstra wrote: > > On Fri, Jan 17, 2014 at 01:17:36AM -0500, r...@redhat.com wrote: > >> + /* > >> + * Normalize the faults_from, so all tasks in a group > >> +

Re: [PATCH 6/6] numa,sched: normalize faults_from stats and weigh by CPU use

2014-01-17 Thread Rik van Riel
On 01/17/2014 04:54 AM, Peter Zijlstra wrote: > On Fri, Jan 17, 2014 at 01:17:36AM -0500, r...@redhat.com wrote: >> +/* >> + * Normalize the faults_from, so all tasks in a group >> + * count according to CPU use, instead of by the raw >> +

Re: [PATCH 6/6] numa,sched: normalize faults_from stats and weigh by CPU use

2014-01-17 Thread Peter Zijlstra
On Fri, Jan 17, 2014 at 01:17:36AM -0500, r...@redhat.com wrote: > + /* > + * Normalize the faults_from, so all tasks in a group > + * count according to CPU use, instead of by the raw > + * number of faults. This pr

[PATCH 6/6] numa,sched: normalize faults_from stats and weigh by CPU use

2014-01-16 Thread riel
From: Rik van Riel The tracepoint has made it abundantly clear that the naive implementation of the faults_from code has issues. Specifically, the garbage collector in some workloads will access orders of magnitudes more memory than the threads that do all the active work. This resulted in the n