Re: [PATCH 5/5] sched_ext: Use shorter slice while bypassing
From: David Vernet
Date: Thu Sep 26 2024 - 18:07:33 EST
On Tue, Sep 24, 2024 at 02:06:07PM -1000, Tejun Heo wrote:
Hi Tejun,
> While bypassing, tasks are scheduled in FIFO order which favors tasks that
> hog CPUs. This can slow down e.g. unloading of the BPF scheduler. While
> bypassing, guaranteeing timely forward progress is the main goal. There's no
> point in giving long slices. Shorten the time slice used while bypassing
> from 20ms to 5ms.
My vote would be to just update SCX_SLICE_DFL to be 5ms, but this is fine as
well if you'd prefer to leave the default slice as something that observably
works well for throughput in fair schedulers.
Acked-by: David Vernet <void@xxxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature