Re: [tip:sched/core] [sched] 2ae891b826: hackbench.throughput 6.2% regression
From: Peter Zijlstra
Date: Tue Feb 25 2025 - 07:27:54 EST
On Tue, Feb 25, 2025 at 05:31:34PM +0800, Chen Yu wrote:
>
> But consider that the 6% regression is not that high, and the user might customize
> base_slice via debugfs on-demand, we can keep an eye on this and revist it in the
> future(we have encountered some SPECjbb regression due to over-preemption).
You can specify a per-task slice using sched_attr::sched_runtime. Also
see commit 857b158dc5e8 ("sched/eevdf: Use sched_attr::sched_runtime to
set request/slice suggestion")