Hello Ronny. On Mon, Jun 14, 2021 at 05:29:35PM +0200, Ronny Meeus <ronny.meeus@xxxxxxxxx> wrote: > All apps are running in the realtime domain and I'm using kernel 4.9 > and cgroup v1. [...] when it enters a full load condition [...] > I start to gradually reduce the budget of the cgroup until the system > is idle enough. Has your application some RT requirements or is there other reason why you use group RT allocations? (When your app seems to require all CPU time, you decide to curb it. And it still fullfills RT requirements?) > But sometimes, immediately after the process assignment, it stops for > a short period (something like 1 or 2s) and then starts to consume 40% > again. What if you reduce cpu.rt_period_us (and cpu.rt_runtime_us proportionally)? (Are the pauses shorter?) Is there any useful info in /proc/$PID/stack during these periods? > Is that expected behavior? Someone with RT group schedulling knowledge may tell :-) HTH, Michal
Attachment:
signature.asc
Description: Digital signature