linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/2] sched/fair: update scale invariance of PELT
@ 2018-11-20 10:55 Vincent Guittot
  2018-11-20 10:55 ` [PATCH v7 1/2] sched/fair: move rq_of helper function Vincent Guittot
  2018-11-20 10:55 ` [PATCH v7 2/2] sched/fair: update scale invariance of PELT Vincent Guittot
  0 siblings, 2 replies; 23+ messages in thread
From: Vincent Guittot @ 2018-11-20 10:55 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.

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 niptick raised by Dietmar
- Upodated some comments
- Remove some unused variables
- No functional change

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

 include/linux/sched.h   |  23 +++-------
 kernel/sched/core.c     |   1 +
 kernel/sched/deadline.c |   6 +--
 kernel/sched/fair.c     |  58 +++++++++++--------------
 kernel/sched/pelt.c     |  45 +++++++++++---------
 kernel/sched/pelt.h     | 111 ++++++++++++++++++++++++++++++++++++++++++++++--
 kernel/sched/rt.c       |   6 +--
 kernel/sched/sched.h    |  21 ++++++++-
 8 files changed, 190 insertions(+), 81 deletions(-)

-- 
2.7.4


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

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

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-20 10:55 [PATCH v7 0/2] sched/fair: update scale invariance of PELT Vincent Guittot
2018-11-20 10:55 ` [PATCH v7 1/2] sched/fair: move rq_of helper function Vincent Guittot
2018-11-20 10:55 ` [PATCH v7 2/2] sched/fair: update scale invariance of PELT Vincent Guittot
2018-11-28  9:54   ` Vincent Guittot
2018-11-28 10:02     ` Peter Zijlstra
2018-11-28 11:53       ` Patrick Bellasi
2018-11-28 13:33         ` Vincent Guittot
2018-11-28 13:35           ` Vincent Guittot
2018-11-28 14:40           ` Patrick Bellasi
2018-11-28 14:55             ` Vincent Guittot
2018-11-28 15:21               ` Patrick Bellasi
2018-11-28 15:42                 ` Vincent Guittot
2018-11-28 16:35                   ` Patrick Bellasi
2018-11-29 10:43                     ` Vincent Guittot
2018-11-29 15:00                       ` Patrick Bellasi
2018-11-29 16:19                         ` Vincent Guittot
2019-01-10 15:30                           ` Patrick Bellasi
2019-01-11 14:29                             ` Vincent Guittot
2018-11-29 12:53         ` Peter Zijlstra
2018-11-29 15:13           ` Patrick Bellasi
2019-01-24  9:07             ` Peter Zijlstra
2019-01-24 14:04               ` Patrick Bellasi
2019-01-29 19:42                 ` Peter Zijlstra

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