lkml.org 
[lkml]   [2013]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 07/22] sched: set initial load avg of new forked task
On 01/11/2013 01:10 PM, Preeti U Murthy wrote:
>> > update_curr(cfs_rq);
>> > - enqueue_entity_load_avg(cfs_rq, se, flags & ENQUEUE_WAKEUP);
>> > + enqueue_entity_load_avg(cfs_rq, se, flags);
>> > account_entity_enqueue(cfs_rq, se);
>> > update_cfs_shares(cfs_rq);
>> >
> I had seen in my experiments, that the forked tasks with initial load to
> be 0,would adversely affect the runqueue lengths.Since the load for
> these tasks to pick up takes some time,the cpus on which the forked
> tasks are scheduled, could be candidates for "dst_cpu" many times and
> the runqueue lengths increase considerably.
>
> This patch solves this issue by making the forked tasks contribute
> actively to the runqueue load.
>
> Reviewed-by:Preeti U Murthy
>

Thanks for review, Preeti! :)


--
Thanks Alex


\
 
 \ /
  Last update: 2013-01-11 07:01    [W:0.369 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site