Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1636371
| From | Dietmar Eggemann <dietmar.eggemann@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] sched/fair: Add load_weight->runnable_load_{sum|avg} |
| Date | 2017-05-05 15:30 +0200 |
| Message-ID | <tDLsZ-2gd-1@gated-at.bofh.it> (permalink) |
| References | <tDvxT-8pV-5@gated-at.bofh.it> <tDvHz-8tt-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Tejun,
On 04/05/17 21:29, Tejun Heo wrote:
> Currently, runnable_load_avg, which represents the portion of load avg
> only from tasks which are currently active, is tracked by cfs_rq but
> not by sched_entity. We want to propagate runnable_load_avg of a
> nested cfs_rq without affecting load_avg propagation. To implement an
> equivalent propagation channel, sched_entity needs to track
> runnable_load_avg too.
>
> This patch moves cfs_rq->runnable_load_{sum|avg} into struct
> load_weight which is already used to track load_avg and shared by both
> cfs_rq and sched_entity.
>
> This patch only changes where runnable_load_{sum|avg} are located and
> doesn't cause any actual behavior changes. The fields are still only
> used for cfs_rqs.
This one doesn't apply cleanly on tip/sched/core. There has been a lot
of changes in the actual PELT code.
e.g.
a481db34b9be - sched/fair: Optimize ___update_sched_avg() (2017-03-30
Yuyang Du)
0ccb977f4c80 - sched/fair: Explicitly generate __update_load_avg()
instances (2017-03-30 Peter Zijlstra)
I stitch this up locally to be able to run some tests.
[...]
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCHSET v2] sched/fair: fix load balancer behavior when cgroup is in use Tejun Heo <tj@kernel.org> - 2017-05-04 22:30 +0200
[PATCH 2/3] sched/fair: Add load_weight->runnable_load_{sum|avg} Tejun Heo <tj@kernel.org> - 2017-05-04 22:40 +0200
Re: [PATCH 2/3] sched/fair: Add load_weight->runnable_load_{sum|avg} Dietmar Eggemann <dietmar.eggemann@arm.com> - 2017-05-05 15:30 +0200
Re: [PATCH 2/3] sched/fair: Add load_weight->runnable_load_{sum|avg} Tejun Heo <tj@kernel.org> - 2017-05-05 15:30 +0200
Re: [PATCH 2/3] sched/fair: Add load_weight->runnable_load_{sum|avg} Dietmar Eggemann <dietmar.eggemann@arm.com> - 2017-05-05 15:50 +0200
[PATCH 3/3] sched/fair: Propagate runnable_load_avg independently from load_avg Tejun Heo <tj@kernel.org> - 2017-05-04 22:40 +0200
Re: [PATCH 3/3] sched/fair: Propagate runnable_load_avg independently from load_avg Vincent Guittot <vincent.guittot@linaro.org> - 2017-05-05 12:50 +0200
Re: [PATCH 3/3] sched/fair: Propagate runnable_load_avg independently from load_avg Vincent Guittot <vincent.guittot@linaro.org> - 2017-05-05 14:20 +0200
Re: [PATCH 3/3] sched/fair: Propagate runnable_load_avg independently from load_avg Tejun Heo <tj@kernel.org> - 2017-05-05 15:30 +0200
Re: [PATCH 3/3] sched/fair: Propagate runnable_load_avg independently from load_avg Vincent Guittot <vincent.guittot@linaro.org> - 2017-05-05 19:00 +0200
[PATCH 1/3] sched/fair: Peter's shares_type patch Tejun Heo <tj@kernel.org> - 2017-05-04 22:40 +0200
Re: [PATCH 1/3] sched/fair: Peter's shares_type patch Vincent Guittot <vincent.guittot@linaro.org> - 2017-05-05 12:50 +0200
Re: [PATCH 1/3] sched/fair: Peter's shares_type patch Tejun Heo <tj@kernel.org> - 2017-05-05 17:40 +0200
Re: [PATCH 1/3] sched/fair: Peter's shares_type patch Tejun Heo <tj@kernel.org> - 2017-05-10 17:20 +0200
Re: [PATCH 1/3] sched/fair: Peter's shares_type patch Vincent Guittot <vincent.guittot@linaro.org> - 2017-05-10 18:10 +0200
Re: [PATCH 1/3] sched/fair: Peter's shares_type patch Peter Zijlstra <peterz@infradead.org> - 2017-05-11 09:00 +0200
Re: [PATCH 1/3] sched/fair: Peter's shares_type patch Peter Zijlstra <peterz@infradead.org> - 2017-05-05 17:50 +0200
Re: [RFC PATCHSET v2] sched/fair: fix load balancer behavior when cgroup is in use Vincent Guittot <vincent.guittot@linaro.org> - 2017-05-05 10:50 +0200
Re: [RFC PATCHSET v2] sched/fair: fix load balancer behavior when cgroup is in use Tejun Heo <tj@kernel.org> - 2017-05-05 15:30 +0200
Re: [RFC PATCHSET v2] sched/fair: fix load balancer behavior when cgroup is in use Vincent Guittot <vincent.guittot@linaro.org> - 2017-05-05 15:40 +0200
csiph-web