[SRU][jammy][PATCH 0/1] performance: Scheduler: Improve cache bouncing on tg->load_avg

Philip Cox philip.cox at canonical.com
Thu Feb 15 18:07:07 UTC 2024


BugLink: BugLink: https://bugs.launchpad.net/bugs/2053251

SRU Justification:

[Impact]
On high core count systems, the updating of the load average can happen so
often that it impacts performance.

[Fix]
Reduce the updating of the load average to at most once per millisecond.


[Test Plan]
I have tested this patch, as has Intel.

[Where problems could occur]
The risk for regression is low as it is a fairly targetted change, and is just reducing the number
of times that the load average is updated.

--


Aaron Lu (1):
  sched/fair: Ratelimit update to tg->load_avg

 kernel/sched/fair.c  | 13 ++++++++++++-
 kernel/sched/sched.h |  1 +
 2 files changed, 13 insertions(+), 1 deletion(-)

-- 
2.34.1




More information about the kernel-team mailing list