Re: [PATCH] sched/rt: Disable RT_RUNTIME_SHARE by default

2020-09-22 Thread Wei Wang
On Tue, Sep 22, 2020 at 12:04 PM Daniel Bristot de Oliveira wrote: > > On 9/22/20 7:14 PM, Wei Wang wrote: > > On Mon, Sep 21, 2020 at 7:40 AM Daniel Bristot de Oliveira > > wrote: > >> > >> The RT_RUNTIME_SHARE sched feature enables the sharing of rt_runtime > >> between CPUs, allowing a CPU to

Re: [PATCH] sched/rt: Disable RT_RUNTIME_SHARE by default

2020-09-22 Thread Daniel Bristot de Oliveira
On 9/22/20 7:14 PM, Wei Wang wrote: > On Mon, Sep 21, 2020 at 7:40 AM Daniel Bristot de Oliveira > wrote: >> >> The RT_RUNTIME_SHARE sched feature enables the sharing of rt_runtime >> between CPUs, allowing a CPU to run a real-time task up to 100% of the >> time while leaving more space for

Re: [PATCH] sched/rt: Disable RT_RUNTIME_SHARE by default

2020-09-22 Thread Wei Wang
On Mon, Sep 21, 2020 at 7:40 AM Daniel Bristot de Oliveira wrote: > > The RT_RUNTIME_SHARE sched feature enables the sharing of rt_runtime > between CPUs, allowing a CPU to run a real-time task up to 100% of the > time while leaving more space for non-real-time tasks to run on the CPU > that lend

[PATCH] sched/rt: Disable RT_RUNTIME_SHARE by default

2020-09-21 Thread Daniel Bristot de Oliveira
The RT_RUNTIME_SHARE sched feature enables the sharing of rt_runtime between CPUs, allowing a CPU to run a real-time task up to 100% of the time while leaving more space for non-real-time tasks to run on the CPU that lend rt_runtime. The problem is that a CPU can easily borrow enough rt_runtime