linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v8 0/3] sched/fair: update scale invariance of PELT
@ 2019-01-16  9:43 Vincent Guittot
  2019-01-16  9:43 ` [PATCH v8 1/3] sched/fair: move rq_of helper function Vincent Guittot
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Vincent Guittot @ 2019-01-16  9:43 UTC (permalink / raw)
  To: peterz, mingo, linux-kernel
  Cc: rjw, dietmar.eggemann, Morten.Rasmussen, patrick.bellasi, pjt,
	bsegall, thara.gopinath, pkondeti, quentin.perret,
	srinivas.pandruvada, Vincent Guittot

This new version of the scale invariance patchset adds an important change
compare to v3 and before. It still scales the time to reflect the
amount of work that has been done during the elapsed running time but this
is now done at rq level instead of per entity and rt/dl/cfs_rq. The main
advantage is that it is done once per clock update and we don't need to
maintain per sched_avg's stolen_idle_time anymore. This also ensures that
all pelt signals will be always synced for a rq.

Changes since v7:
- Add patch 3 to skip updating util_est when utilization is higher than
  cpu's capacity

Vincent Guittot (3):
  sched/fair: move rq_of helper function
  sched/fair: update scale invariance of PELT
  sched/pelt: skip updating util_est when utilization is higher than
    cpu's capacity

 include/linux/sched.h   |  23 +++-------
 kernel/sched/core.c     |   1 +
 kernel/sched/deadline.c |   6 +--
 kernel/sched/fair.c     |  72 ++++++++++++++-----------------
 kernel/sched/pelt.c     |  45 +++++++++++---------
 kernel/sched/pelt.h     | 111 ++++++++++++++++++++++++++++++++++++++++++++++--
 kernel/sched/rt.c       |   6 +--
 kernel/sched/sched.h    |  28 +++++++++++-
 8 files changed, 206 insertions(+), 86 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-01-23 11:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-16  9:43 [PATCH v8 0/3] sched/fair: update scale invariance of PELT Vincent Guittot
2019-01-16  9:43 ` [PATCH v8 1/3] sched/fair: move rq_of helper function Vincent Guittot
2019-01-16  9:43 ` [PATCH v8 2/3] sched/fair: update scale invariance of PELT Vincent Guittot
2019-01-23  8:25   ` Dietmar Eggemann
2019-01-23  9:48     ` Vincent Guittot
2019-01-23 11:19       ` Dietmar Eggemann
2019-01-16  9:43 ` [PATCH v8 3/3] sched/pelt: skip updating util_est when utilization is higher than cpu's capacity Vincent Guittot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).