Re: [PATCH linux-next v2] net: record times of netdev_budget exhausted
From: Jakub Kicinski
Date: Mon Dec 05 2022 - 20:54:08 EST
On Mon, 5 Dec 2022 09:36:12 +0800 (CST) yang.yang29@xxxxxxxxxx wrote:
> A long time ago time_squeeze was used to only record netdev_budget
> exhausted[1]. Then we added netdev_budget_usecs to enable softirq
> tuning[2]. And when polling elapsed netdev_budget_usecs, it's also
> record by time_squeeze.
> For tuning netdev_budget and netdev_budget_usecs respectively, we'd
> better distinguish from netdev_budget exhausted and netdev_budget_usecs
> elapsed, so add budget_exhaust to record netdev_budget exhausted.
>
> [1] commit 1da177e4c3f4("Linux-2.6.12-rc2")
> [2] commit 7acf8a1e8a28("Replace 2 jiffies with sysctl netdev_budget_usecs to enable softirq tuning")
Same comments as on v1.