lkml.org 
[lkml]   [2015]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [RFCv3 PATCH 33/48] sched: Energy-aware wake-up task placement
On Wed, Feb 04, 2015 at 06:31:10PM +0000, Morten Rasmussen wrote:
> @@ -5138,6 +5224,10 @@ select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int wake_f
> prev_cpu = cpu;
>
> if (sd_flag & SD_BALANCE_WAKE) {
> + if (energy_aware()) {
> + new_cpu = energy_aware_wake_cpu(p);
> + goto unlock;
> + }
> new_cpu = select_idle_sibling(p, prev_cpu);
> goto unlock;
> }

So that is fundamentally wrong I think. We only care about power aware
scheduling when U < 1, after that we should do the normal thing. This
setup does not allow for that.


\
 
 \ /
  Last update: 2015-03-24 14:21    [W:0.554 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site