Re: [PATCH] delayacct/sched: add SOFTIRQ delay
From: Peter Zijlstra
Date: Tue Aug 19 2025 - 06:14:35 EST
On Tue, Aug 19, 2025 at 05:27:39PM +0800, Tio Zhang wrote:
> Intro SOFTIRQ delay, so we can separate softirq as SOFTIRQ delay
> and hardirq as {IRQ - SOFTIRQ} delay.
>
> A typical scenario is when tasks delayed by network,
> if they delayed by rx net packets, i.e, net_rx_action(),
> SOFTIRQ delay is almost same as IRQ delay;
> if they delayed by, e.g, bad driver or broken hardware,
> SOFTIRQ delay is almost 0 while IRQ delay remains big.
>
> Examples tool usage could be found in
> Documentation/accounting/delay-accounting.rst
accounting will be the death of us :/
How do you account ksoftirqd ?