Re: [PATCH v3 07/22] sched: set initial load avg of new forked task

2013-01-10 Thread Alex Shi
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

Re: [PATCH v3 07/22] sched: set initial load avg of new forked task

2013-01-10 Thread Preeti U Murthy
On 01/05/2013 02:07 PM, Alex Shi wrote: > New task has no runnable sum at its first runnable time, that make > burst forking just select few idle cpus to put tasks. > Set initial load avg of new forked task as its load weight to resolve > this issue. > > Signed-off-by: Alex Shi > --- >

Re: [PATCH v3 07/22] sched: set initial load avg of new forked task

2013-01-10 Thread Preeti U Murthy
On 01/05/2013 02:07 PM, Alex Shi wrote: New task has no runnable sum at its first runnable time, that make burst forking just select few idle cpus to put tasks. Set initial load avg of new forked task as its load weight to resolve this issue. Signed-off-by: Alex Shi alex@intel.com ---

Re: [PATCH v3 07/22] sched: set initial load avg of new forked task

2013-01-10 Thread Alex Shi
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

[PATCH v3 07/22] sched: set initial load avg of new forked task

2013-01-05 Thread Alex Shi
New task has no runnable sum at its first runnable time, that make burst forking just select few idle cpus to put tasks. Set initial load avg of new forked task as its load weight to resolve this issue. Signed-off-by: Alex Shi --- include/linux/sched.h | 1 + kernel/sched/core.c | 2 +-

[PATCH v3 07/22] sched: set initial load avg of new forked task

2013-01-05 Thread Alex Shi
New task has no runnable sum at its first runnable time, that make burst forking just select few idle cpus to put tasks. Set initial load avg of new forked task as its load weight to resolve this issue. Signed-off-by: Alex Shi alex@intel.com --- include/linux/sched.h | 1 +