Re: [PATCH] net :mana : Add per-cpu stats for MANA device

From: Jakub Kicinski
Date: Fri Mar 08 2024 - 14:23:01 EST


On Fri, 8 Mar 2024 18:51:58 +0000 Haiyang Zhang wrote:
> > Dynamic is a bit of an exaggeration, right? On a well-configured system
> > each CPU should use a single queue assigned thru XPS. And for manual
> > debug bpftrace should serve the purpose quite well.
>
> Some programs, like irqbalancer can dynamically change the CPU affinity,
> so we want to add the per-CPU counters for better understanding of the CPU
> usage.

Do you have experimental data showing this making a difference
in production?

Seems unlikely, but if it does work we should enable it for all
devices, no driver by driver.