Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-11 Thread Alex Shi
On 11/12/2012 02:49 AM, Preeti Murthy wrote: > Hi Alex > I apologise for the delay in replying . That's all right. I often also busy on other Intel tasks and have no time to look at LKML. :) > > On Wed, Nov 7, 2012 at 6:57 PM, Alex Shi wrote: >> On 11/07/2012 12:37 PM, Preeti Murthy wrote: >>>

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-11 Thread Preeti Murthy
Hi Alex I apologise for the delay in replying . On Wed, Nov 7, 2012 at 6:57 PM, Alex Shi wrote: > On 11/07/2012 12:37 PM, Preeti Murthy wrote: >> Hi Alex, >> >> What I am concerned about in this patchset as Peter also >> mentioned in the previous discussion of your approach >>

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-11 Thread Preeti Murthy
Hi Alex I apologise for the delay in replying . On Wed, Nov 7, 2012 at 6:57 PM, Alex Shi alex@intel.com wrote: On 11/07/2012 12:37 PM, Preeti Murthy wrote: Hi Alex, What I am concerned about in this patchset as Peter also mentioned in the previous discussion of your approach

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-11 Thread Alex Shi
On 11/12/2012 02:49 AM, Preeti Murthy wrote: Hi Alex I apologise for the delay in replying . That's all right. I often also busy on other Intel tasks and have no time to look at LKML. :) On Wed, Nov 7, 2012 at 6:57 PM, Alex Shi alex@intel.com wrote: On 11/07/2012 12:37 PM, Preeti Murthy

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-07 Thread Alex Shi
On 11/07/2012 12:37 PM, Preeti Murthy wrote: > Hi Alex, > > What I am concerned about in this patchset as Peter also > mentioned in the previous discussion of your approach > (https://lkml.org/lkml/2012/8/13/139) > is that: > > 1.Using nr_running of two different sched groups to decide which one

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-07 Thread Alex Shi
On 11/07/2012 03:51 AM, Andrew Morton wrote: > On Tue, 6 Nov 2012 21:09:58 +0800 > Alex Shi wrote: > >> $for ((i=0; i < I; i++)) ; do while true; do : ; done & done >> >> Checking the power consuming with a powermeter on the NHM EP. >> powersaving performance >> I = 2 148w

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-07 Thread Alex Shi
On 11/07/2012 03:51 AM, Andrew Morton wrote: On Tue, 6 Nov 2012 21:09:58 +0800 Alex Shi alex@intel.com wrote: $for ((i=0; i I; i++)) ; do while true; do : ; done done Checking the power consuming with a powermeter on the NHM EP. powersaving performance I = 2 148w

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-07 Thread Alex Shi
On 11/07/2012 12:37 PM, Preeti Murthy wrote: Hi Alex, What I am concerned about in this patchset as Peter also mentioned in the previous discussion of your approach (https://lkml.org/lkml/2012/8/13/139) is that: 1.Using nr_running of two different sched groups to decide which one can be

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-06 Thread Preeti Murthy
Hi Alex, What I am concerned about in this patchset as Peter also mentioned in the previous discussion of your approach (https://lkml.org/lkml/2012/8/13/139) is that: 1.Using nr_running of two different sched groups to decide which one can be group_leader or group_min might not be be the right

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-06 Thread Andrew Morton
On Tue, 6 Nov 2012 21:09:58 +0800 Alex Shi wrote: > $for ((i=0; i < I; i++)) ; do while true; do : ; done & done > > Checking the power consuming with a powermeter on the NHM EP. > powersaving performance > I = 2 148w160w > I = 4 175w181w > I = 8 207w

[RFC PATCH 2/3] sched: power aware load balance,

2012-11-06 Thread Alex Shi
This patch enabled the power aware consideration in load balance. As mentioned in the power aware scheduler proposal, Power aware scheduling has 2 assumptions: 1, race to idle is helpful for power saving 2, shrink tasks on less sched_groups will reduce power consumption The first assumption make

[RFC PATCH 2/3] sched: power aware load balance,

2012-11-06 Thread Alex Shi
This patch enabled the power aware consideration in load balance. As mentioned in the power aware scheduler proposal, Power aware scheduling has 2 assumptions: 1, race to idle is helpful for power saving 2, shrink tasks on less sched_groups will reduce power consumption The first assumption make

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-06 Thread Andrew Morton
On Tue, 6 Nov 2012 21:09:58 +0800 Alex Shi alex@intel.com wrote: $for ((i=0; i I; i++)) ; do while true; do : ; done done Checking the power consuming with a powermeter on the NHM EP. powersaving performance I = 2 148w160w I = 4 175w181w I = 8

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-06 Thread Preeti Murthy
Hi Alex, What I am concerned about in this patchset as Peter also mentioned in the previous discussion of your approach (https://lkml.org/lkml/2012/8/13/139) is that: 1.Using nr_running of two different sched groups to decide which one can be group_leader or group_min might not be be the right