Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-20 Thread Alex Shi
On 02/20/2013 04:43 PM, Mike Galbraith wrote: >> > >> > Sounds reasonable too. >> > >> > I have no idea of the of the decision now. >> > And guess many guys dislike to use a knob to let user do the choice. > Nobody likes seeing yet more knobs much, automagical is preferred. > Trouble with

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-20 Thread Mike Galbraith
On Wed, 2013-02-20 at 16:11 +0800, Alex Shi wrote: > On 02/20/2013 03:40 PM, Mike Galbraith wrote: > > On Wed, 2013-02-20 at 13:55 +0800, Alex Shi wrote: > > > >> Joonsoo Kim suggests not packing exec task, since the old task utils is > >> possibly unuseable. > > > > (I'm stumbling around in

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-20 Thread Alex Shi
On 02/20/2013 03:40 PM, Mike Galbraith wrote: > On Wed, 2013-02-20 at 13:55 +0800, Alex Shi wrote: > >> Joonsoo Kim suggests not packing exec task, since the old task utils is >> possibly unuseable. > > (I'm stumbling around in rtmutex PI land, all dazed and confused, so > forgive me if my

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-20 Thread Alex Shi
On 02/20/2013 03:40 PM, Mike Galbraith wrote: On Wed, 2013-02-20 at 13:55 +0800, Alex Shi wrote: Joonsoo Kim suggests not packing exec task, since the old task utils is possibly unuseable. (I'm stumbling around in rtmutex PI land, all dazed and confused, so forgive me if my peripheral

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-20 Thread Mike Galbraith
On Wed, 2013-02-20 at 16:11 +0800, Alex Shi wrote: On 02/20/2013 03:40 PM, Mike Galbraith wrote: On Wed, 2013-02-20 at 13:55 +0800, Alex Shi wrote: Joonsoo Kim suggests not packing exec task, since the old task utils is possibly unuseable. (I'm stumbling around in rtmutex PI land,

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-20 Thread Alex Shi
On 02/20/2013 04:43 PM, Mike Galbraith wrote: Sounds reasonable too. I have no idea of the of the decision now. And guess many guys dislike to use a knob to let user do the choice. Nobody likes seeing yet more knobs much, automagical is preferred. Trouble with automagical heuristics

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-19 Thread Mike Galbraith
On Wed, 2013-02-20 at 13:55 +0800, Alex Shi wrote: > Joonsoo Kim suggests not packing exec task, since the old task utils is > possibly unuseable. (I'm stumbling around in rtmutex PI land, all dazed and confused, so forgive me if my peripheral following of this thread is off target;) Hm,

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-19 Thread Alex Shi
On 02/18/2013 04:56 PM, Alex Shi wrote: > On 02/18/2013 04:44 PM, Joonsoo Kim wrote: >> Hello, Alex. >> >> On Mon, Feb 18, 2013 at 01:07:37PM +0800, Alex Shi wrote: >>> If the waked/execed task is transitory enough, it will has a chance to be >>> packed into a cpu which is busy but still has time

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-19 Thread Alex Shi
On 02/18/2013 04:56 PM, Alex Shi wrote: On 02/18/2013 04:44 PM, Joonsoo Kim wrote: Hello, Alex. On Mon, Feb 18, 2013 at 01:07:37PM +0800, Alex Shi wrote: If the waked/execed task is transitory enough, it will has a chance to be packed into a cpu which is busy but still has time to care it.

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-19 Thread Mike Galbraith
On Wed, 2013-02-20 at 13:55 +0800, Alex Shi wrote: Joonsoo Kim suggests not packing exec task, since the old task utils is possibly unuseable. (I'm stumbling around in rtmutex PI land, all dazed and confused, so forgive me if my peripheral following of this thread is off target;) Hm,

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-18 Thread Alex Shi
On 02/18/2013 04:44 PM, Joonsoo Kim wrote: > Hello, Alex. > > On Mon, Feb 18, 2013 at 01:07:37PM +0800, Alex Shi wrote: >> If the waked/execed task is transitory enough, it will has a chance to be >> packed into a cpu which is busy but still has time to care it. >> For powersaving policy, only

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-18 Thread Joonsoo Kim
Hello, Alex. On Mon, Feb 18, 2013 at 01:07:37PM +0800, Alex Shi wrote: > If the waked/execed task is transitory enough, it will has a chance to be > packed into a cpu which is busy but still has time to care it. > For powersaving policy, only the history util < 25% task has chance to > be packed,

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-18 Thread Joonsoo Kim
Hello, Alex. On Mon, Feb 18, 2013 at 01:07:37PM +0800, Alex Shi wrote: If the waked/execed task is transitory enough, it will has a chance to be packed into a cpu which is busy but still has time to care it. For powersaving policy, only the history util 25% task has chance to be packed, and

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-18 Thread Alex Shi
On 02/18/2013 04:44 PM, Joonsoo Kim wrote: Hello, Alex. On Mon, Feb 18, 2013 at 01:07:37PM +0800, Alex Shi wrote: If the waked/execed task is transitory enough, it will has a chance to be packed into a cpu which is busy but still has time to care it. For powersaving policy, only the history

[patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-17 Thread Alex Shi
If the waked/execed task is transitory enough, it will has a chance to be packed into a cpu which is busy but still has time to care it. For powersaving policy, only the history util < 25% task has chance to be packed, and for balance policy, only histroy util < 12.5% has chance. If there is no

[patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-17 Thread Alex Shi
If the waked/execed task is transitory enough, it will has a chance to be packed into a cpu which is busy but still has time to care it. For powersaving policy, only the history util 25% task has chance to be packed, and for balance policy, only histroy util 12.5% has chance. If there is no cpu