Re: [RFC PATCH] arm64: defconfig: Disable fine-grained task level IRQ time accounting

From: Thomas Gleixner
Date: Mon Aug 03 2020 - 06:52:07 EST


Kurt,

Kurt Kanzenbach <kurt.kanzenbach@xxxxxxxxxxxxx> writes:
> On Thu Jul 30 2020, Vladimir Oltean wrote:
> OK. I've reproduced it on a Marvell Armada SoC with v5.6 mainline. See
> splats below. Running with irq time accounting enabled, kills the
> machine immediately. However, I'm not getting the possible deadlock
> warnings in 8250 as you did. So that might be unrelated.
>
> Unfortunately I have no idea what to debug here.

lets look at the facts we have so far.

1) When irq accounting is disabled, RT throttling kicks in as
expected.

2) With irq accounting the RT throttler does not kick in and the RCU
stall/lockups happen.

Not much, but there is clearly interaction between irq time accounting
and scheduler accounting.

Can you please reduce /proc/sys/kernel/sched_rt_runtime_us in steps of
50000? At least in theory, reduction should bring the throttling back.

Thanks,

tglx