Peter Zijlstra
1ea6c46a23
sched/fair: Propagate an effective runnable_load_avg
...
The load balancer uses runnable_load_avg as load indicator. For
!cgroup this is:
runnable_load_avg = \Sum se->avg.load_avg ; where se->on_rq
That is, a direct sum of all runnable tasks on that runqueue. As
opposed to load_avg, which is a sum of all tasks on the runqueue,
which includes a blocked component.
However, in the cgroup case, this comes apart since the group entities
are always runnable, even if most of their constituent entities are
blocked.
Therefore introduce a runnable_weight which for task entities is the
same as the regular weight, but for group entities is a fraction of
the entity weight and represents the runnable part of the group
runqueue.
Then propagate this load through the PELT hierarchy to arrive at an
effective runnable load avgerage -- which we should not confuse with
the canonical runnable load average.
Suggested-by: Tejun Heo <tj@kernel.org >
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org >
Cc: Linus Torvalds <torvalds@linux-foundation.org >
Cc: Peter Zijlstra <peterz@infradead.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org >
2017-09-29 19:35:15 +02:00
..
2017-09-08 18:26:48 -07:00
2017-09-06 19:56:49 +02:00
2017-09-13 11:04:14 -07:00
2017-09-09 14:18:40 -07:00
2017-09-07 13:51:13 -07:00
2017-09-15 20:43:33 -07:00
2017-09-09 14:48:21 -07:00
2017-09-06 14:45:08 -07:00
2017-09-06 14:45:08 -07:00
2017-09-07 12:24:50 -07:00
2017-09-01 15:34:30 +02:00
2017-09-04 12:54:42 +02:00
2017-08-30 15:17:45 -07:00
2017-08-31 09:15:21 +02:00
2017-09-10 20:35:46 -07:00
2017-08-30 17:31:51 +02:00
2017-08-29 20:33:57 -07:00
2017-09-06 20:49:49 -07:00
2017-09-10 20:40:00 -07:00
2017-09-11 22:01:44 -07:00
2017-08-31 18:08:47 +02:00
2017-09-05 12:50:00 -07:00
2017-09-01 16:35:50 -05:00
2017-08-29 08:33:24 -07:00
2017-09-22 16:16:41 -10:00
2017-09-07 11:59:42 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:48 -07:00
2017-09-25 08:56:05 -06:00
2017-09-08 21:11:00 -07:00
2017-09-07 21:11:05 -07:00
2017-09-01 14:57:15 -05:00
2017-09-07 11:59:42 -07:00
2017-08-31 18:35:45 -07:00
2017-09-14 17:37:26 -07:00
2017-09-04 12:21:28 -07:00
2017-09-04 12:21:28 -07:00
2017-08-29 15:14:38 +02:00
2017-08-30 14:40:40 +02:00
2017-09-04 00:05:22 +02:00
2017-09-07 10:15:40 -07:00
2017-09-04 00:06:02 +02:00
2017-09-08 18:26:51 -07:00
2017-09-07 11:45:21 +02:00
2017-09-14 13:43:16 -07:00
2017-09-05 12:53:11 +02:00
2017-09-11 11:00:55 -04:00
2017-09-18 13:22:30 +02:00
2017-09-12 13:30:06 -07:00
2017-09-06 21:55:10 +05:30
2017-08-29 15:34:44 -06:00
2017-08-29 15:34:44 -06:00
2017-08-29 15:34:46 -06:00
2017-09-12 13:27:21 -07:00
2017-09-14 20:18:45 -07:00
2017-09-06 17:27:26 -07:00
2017-08-31 15:49:11 -04:00
2017-08-31 09:47:22 -06:00
2017-09-13 18:53:16 -07:00
2017-09-05 11:54:41 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:45 -07:00
2017-09-07 09:25:15 -07:00
2017-08-30 14:36:44 -07:00
2017-09-01 18:38:09 -07:00
2017-09-08 18:26:49 -07:00
2017-09-21 16:31:22 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
Merge branches 'arm/exynos', 'arm/renesas', 'arm/rockchip', 'arm/omap', 'arm/mediatek', 'arm/tegra', 'arm/qcom', 'arm/smmu', 'ppc/pamu', 'x86/vt-d', 'x86/amd', 's390' and 'core' into next
2017-09-01 11:31:42 +02:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:51 -07:00
2017-09-21 11:54:44 +02:00
2017-09-05 12:50:00 -07:00
2017-08-29 15:14:38 +02:00
2017-09-08 18:26:47 -07:00
2017-09-08 18:26:51 -07:00
2017-08-29 21:10:40 +02:00
2017-08-29 08:36:58 -07:00
2017-08-31 15:05:10 -07:00
2017-08-29 15:14:38 +02:00
2017-09-12 13:21:00 -07:00
2017-09-05 14:42:52 -07:00
2017-09-07 11:53:11 +02:00
2017-09-06 17:27:27 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:45 -07:00
2017-09-08 18:26:49 -07:00
2017-08-31 16:13:00 -07:00
2017-09-08 18:26:47 -07:00
2017-09-14 17:37:26 -07:00
2017-09-06 14:45:08 -07:00
2017-09-06 12:32:37 -04:00
2017-09-25 12:42:11 -06:00
2017-09-25 08:56:05 -06:00
2017-09-19 12:20:44 -05:00
2017-09-06 17:27:28 -07:00
2017-09-06 17:27:26 -07:00
2017-09-06 17:27:27 -07:00
2017-08-29 16:00:37 -05:00
2017-09-07 13:24:11 -05:00
2017-09-08 15:47:43 -07:00
2017-09-07 13:24:20 -05:00
2017-09-04 13:56:37 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:47 -07:00
2017-08-30 14:36:44 -07:00
2017-09-08 18:26:48 -07:00
2017-09-08 18:26:48 -07:00
2017-09-07 21:11:05 -07:00
2017-09-01 15:49:13 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-29 19:35:15 +02:00
2017-09-12 13:21:00 -07:00
2017-09-14 17:37:26 -07:00
2017-09-14 17:37:26 -07:00
2017-09-06 17:27:28 -07:00
2017-09-06 17:27:24 -07:00
2017-09-07 20:02:39 -07:00
2017-09-06 17:27:24 -07:00
2017-08-29 15:14:38 +02:00
2017-09-04 11:52:29 -07:00
2017-09-11 12:29:41 -04:00
2017-09-15 16:57:10 +02:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-17 19:45:32 +02:00
2017-08-30 11:20:09 -07:00
2017-09-14 17:37:26 -07:00
2017-09-20 14:10:29 -07:00
2017-08-31 17:32:39 -04:00
2017-09-08 18:26:51 -07:00
2017-09-11 18:34:47 -07:00
2017-09-06 17:27:29 -07:00
2017-09-08 18:26:47 -07:00
2017-09-08 18:26:48 -07:00
2017-08-31 18:50:14 +02:00
2017-09-14 09:56:18 -07:00
2017-09-05 06:34:17 -07:00