Re: [PATCH 0/2] [tip: sched/core] sched: Disable PLACE_LAG and RUN_TO_PARITY and move them to sysctl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH 0/2] [tip: sched/core] sched: Disable PLACE_LAG and RUN_TO_PARITY and move them to sysctl
- From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
- Date: Wed, 12 Feb 2025 10:43:07 +0100
- Cc: K Prateek Nayak <kprateek.nayak@xxxxxxx>, Hazem Mohamed Abuelfotoh <abuehaze@xxxxxxxxxx>, Ali Saidi <alisaidi@xxxxxxxxxx>, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, Geoff Blake <blakgeof@xxxxxxxxxx>, Csaba Csoma <csabac@xxxxxxxxxx>, Bjoern Doebel <doebel@xxxxxxxxxx>, Gautham Shenoy <gautham.shenoy@xxxxxxx>, Joseph Salisbury <joseph.salisbury@xxxxxxxxxx>, Dietmar Eggemann <dietmar.eggemann@xxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx
- In-reply-to: <20250212054113.19938-1-cpru@amazon.com>
- References: <20250119110410.GAZ4zcKkx5sCjD5XvH@fat_crate.local> <20250212054113.19938-1-cpru@amazon.com>
On Tue, Feb 11, 2025 at 11:41:13PM -0600, Cristian Prundeanu wrote:
> Your find also helps to point out that even when it works, SCHED_BATCH is
> a more complex and error prone mitigation than just disabling PL and RTP.
> The same reproducer setup that uses systemd to set SCHED_BATCH does show
> improvement in 6.12, but not in 6.13+. There may not even be a single
> approach that works well on both.
>
> Conversely, setting NO_PLACE_LAG + NO_RUN_TO_PARITY is simply done at boot
> time, and does not require further user effort.
For your workload. It will wreck other workloads.
Yes, SCHED_BATCH might be more fiddly, but it allows for composition.
You can run multiple workloads together and they all behave.
Maybe the right thing here is to get mysql patched; so that it will
request BATCH itself for the threads that need it.
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]