Re: [PATCH V7 9/9] sched/rt: Remove default bandwidth control

From: Michal Koutný
Date: Fri Nov 29 2024 - 05:02:50 EST


On Wed, Nov 27, 2024 at 04:35:39PM GMT, Juri Lelli <juri.lelli@xxxxxxxxxx> wrote:
> > The default DL bandwidth is thus is 95%. The fair server is given 5%.
> > Is that 5% of those 95%?
>
> Yes, it is indeed.

Thanks for navigating me. I have followup questions about
/proc/sys/kernel/sched_rt_runtime_us / /proc/sys/kernel/sched_rt_period_us
(a ratio, without CONGIG_RT_GROUP_SCHED)

- 0
- disables DL, (not RT, so they can monopolize a CPU)
- 1
- DL tasks can monopolize CPU, SCHED_NORMAL have 5% thanks to
fair_server
- 1-Δ
- SCHED_NORMAL tasks have
- (1-Δ)*5% on behalf of DL (above RT)
- Δ regularly (below RT)

Is this breakdown correct?
I'm wondering if different values of Δ mean anything or how they can be
used.

Regards,
Michal

Attachment: signature.asc
Description: PGP signature