> -----Original Message-----
> From: Jakub Kicinski <[email protected]>
> Sent: Wednesday, April 16, 2025 5:13 PM
> To: Keller, Jacob E <[email protected]>
> Cc: Jaroslav Pulchart <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Damato, Joe <[email protected]>; intel-wired-
> [email protected]; [email protected]; Nguyen, Anthony L
> <[email protected]>; Igor Raits <[email protected]>; Daniel Secik
> <[email protected]>; Zdenek Pesek <[email protected]>;
> Dumazet, Eric <[email protected]>; Martin Karsten
> <[email protected]>; Zaki, Ahmed <[email protected]>; Czapnik,
> Lukasz <[email protected]>; Michal Swiatkowski
> <[email protected]>
> Subject: Re: [Intel-wired-lan] Increased memory usage on NUMA nodes with ICE
> driver after upgrade to 6.13.y (regression in commit 492a044508ad)
>
> On Wed, 16 Apr 2025 22:57:10 +0000 Keller, Jacob E wrote:
> > > > And you're reverting just and exactly 492a044508ad13 ?
> > > > The memory for persistent config is allocated in alloc_netdev_mqs()
> > > > unconditionally. I'm lost as to how this commit could make any
> > > > difference :(
> > >
> > > Yes, reverted the 492a044508ad13.
> >
> > Struct napi_config *is* 1056 bytes
>
> You're probably looking at 6.15-rcX kernels. Yes, the affinity mask
> can be large depending on the kernel config. But report is for 6.13,
> AFAIU. In 6.13 and 6.14 napi_config was tiny.
Regardless, it should still be ~64KB even in that case which is a far cry from
eating all available memory. Something else must be going on....
Thanks,
Jake