linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/2] sched/fair: update scale invariance of PELT
@ 2018-11-09 16:20 Vincent Guittot
  2018-11-09 16:20 ` [PATCH v6 1/2] sched/fair: move rq_of helper function Vincent Guittot
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vincent Guittot @ 2018-11-09 16:20 UTC (permalink / raw)
  To: peterz, mingo, linux-kernel
  Cc: rjw, dietmar.eggemann, Morten.Rasmussen, patrick.bellasi, pjt,
	bsegall, thara.gopinath, pkondeti, quentin.perret,
	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.

The 1st patch makes available rq_of() helper function for pelt.c file and
the 2nd patch implements the new scaling algorithm

Changes since v5:
- Fix running_sum scaling in update_tg_cfs_runnable() raised by Dietmar
- Remove unused cpu parameters raised by Dietmar

Vincent Guittot (2):
  sched/fair: move rq_of helper function
  sched/fair: update scale invariance of PELT

 kernel/sched/core.c     |   1 +
 kernel/sched/deadline.c |   6 +--
 kernel/sched/fair.c     |  56 ++++++++++-------------
 kernel/sched/pelt.c     |  45 ++++++++++---------
 kernel/sched/pelt.h     | 115 ++++++++++++++++++++++++++++++++++++++++++++++--
 kernel/sched/rt.c       |   6 +--
 kernel/sched/sched.h    |  21 ++++++++-
 7 files changed, 187 insertions(+), 63 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2018-11-14 23:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 16:20 [PATCH v6 0/2] sched/fair: update scale invariance of PELT Vincent Guittot
2018-11-09 16:20 ` [PATCH v6 1/2] sched/fair: move rq_of helper function Vincent Guittot
2018-11-09 16:20 ` [PATCH v6 2/2] sched/fair: update scale invariance of PELT Vincent Guittot
2018-11-13  2:53   ` Dietmar Eggemann
2018-11-14 23:56     ` Vincent Guittot
2018-11-13  2:58 ` [PATCH v6 0/2] " Dietmar Eggemann

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).