From: Peter Zijlstra <peterz@infradead.org>
To: Ryan Roberts <ryan.roberts@arm.com>
Cc: Mel Gorman <mgorman@techsingularity.net>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
x86@kernel.org, linux-kernel@vger.kernel.org,
Aishwarya TCV <Aishwarya.TCV@arm.com>
Subject: Re: [REGRESSION] sched/fair: Reimplement NEXT_BUDDY to align with EEVDF goals
Date: Mon, 12 Jan 2026 10:57:30 +0100 [thread overview]
Message-ID: <20260112095730.GD830755@noisy.programming.kicks-ass.net> (raw)
In-Reply-To: <5265d323-d627-45b1-8e3c-4456df680807@arm.com>
On Mon, Jan 12, 2026 at 08:52:17AM +0000, Ryan Roberts wrote:
> On 12/01/2026 07:47, Peter Zijlstra wrote:
> > On Fri, Jan 09, 2026 at 10:15:46AM +0000, Ryan Roberts wrote:
> >
> >> Here are the updated results, now including column for "revert #1 & #2".
> >>
> >> 6-18-0 (base) (baseline)
> >> 6-19-0-rc1 (New NEXT_BUDDY implementation enabled)
> >> revert #1 & #2 (NEXT_BUDDY disabled)
> >> revert #2 (Old NEXT_BUDDY implementation enabled)
> >>
> >>
> >> The regressions that are fixed by "revert #2" (as originally reported) are still
> >> fixed in "revert #1 & #2". Interestingly, performance actually improves further
> >> for the latter in the multi-node mysql benchmark (which is our VIP workload).
> >> There are a couple of hackbench cases (sockets with high thread counts) that
> >> showed an improvement with "revert #2" but which is gone with "revert #1 & #2".
> >>
> >> Let me know if I can usefully do anything else.
> >
> > If its not too much bother, could you run 6.19-rc with SCHED_BATCH ? The
> > defining characteristic of BATCH is that it fully ignores wakeup
> > preemption.
>
> Is there a way I can force all future tasks to use SCHED_BATCH at the system
> level? (a Kconfig, cmdline arg or sysfs toggle?) If so that would be simple for
> me to do. But if I need to invoke the top level command with chrt -b and hope
> that nothing in the workload explicitly changes the scheduling policy that would
> be both trickier for me to do and (I guess) higher risk that it ends up not
> doing what I expected. Happy to give whatever you recommend a try...
No fancy things here, chrt/schedtool are it.
next prev parent reply other threads:[~2026-01-12 9:57 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-12 12:25 [PATCH 0/2 v5] Reintroduce NEXT_BUDDY for EEVDF Mel Gorman
2025-11-12 12:25 ` [PATCH 1/2] sched/fair: Enable scheduler feature NEXT_BUDDY Mel Gorman
2025-11-14 12:19 ` [tip: sched/core] " tip-bot2 for Mel Gorman
2025-11-17 16:23 ` tip-bot2 for Mel Gorman
[not found] ` <20251112122521.1331238-3-mgorman@techsingularity.net>
2025-11-12 14:48 ` [PATCH 2/2] sched/fair: Reimplement NEXT_BUDDY to align with EEVDF goals Peter Zijlstra
2025-11-13 8:26 ` Madadi Vineeth Reddy
2025-11-13 9:04 ` Mel Gorman
2025-11-14 12:13 ` Peter Zijlstra
2025-11-14 12:19 ` [tip: sched/core] " tip-bot2 for Mel Gorman
2025-11-17 16:23 ` tip-bot2 for Mel Gorman
2025-12-22 10:57 ` [REGRESSION] " Ryan Roberts
2026-01-02 12:38 ` Ryan Roberts
2026-01-02 15:52 ` Dietmar Eggemann
2026-01-05 11:45 ` Ryan Roberts
2026-01-05 14:38 ` Shrikanth Hegde
2026-01-05 16:33 ` Ryan Roberts
2026-01-07 15:30 ` Dietmar Eggemann
2026-01-08 8:50 ` Mel Gorman
2026-01-08 13:15 ` Ryan Roberts
2026-01-09 10:15 ` Ryan Roberts
2026-01-12 7:47 ` Peter Zijlstra
2026-01-12 8:52 ` Ryan Roberts
2026-01-12 9:57 ` Peter Zijlstra [this message]
2026-01-12 10:27 ` Ryan Roberts
2026-01-13 6:31 ` K Prateek Nayak
2026-01-15 10:16 ` Mel Gorman
2026-01-08 10:01 ` [REGRESSION] [PATCH 0/2 v5] Reintroduce NEXT_BUDDY for EEVDF Madadi Vineeth Reddy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260112095730.GD830755@noisy.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=Aishwarya.TCV@arm.com \
--cc=dietmar.eggemann@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@techsingularity.net \
--cc=ryan.roberts@arm.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox