Re: [External] : Re: [PATCH] slub: limit number of slabs to scan in count_partial()

From: Matthew Wilcox
Date: Sat Apr 13 2024 - 00:43:19 EST


On Fri, Apr 12, 2024 at 10:20:48PM +0200, Vlastimil Babka wrote:
> On 4/12/24 7:29 PM, Jianfeng Wang wrote:
> > Yes.
> > On a server with one NUMA node, I create a case that uses many dentry objects.
>
> Could you describe in more detail how do you make dentry cache to grow such
> a large partial slabs list? Thanks.

I don't know precisely which (customer) problem Jianfeng is looking
at, but here's one we got to publish a couple of years ago:

https://lore.kernel.org/linux-fsdevel/3a7abaca-e20f-ad59-f6f0-caedd8450f9f@xxxxxxxxxx/

(is LSFMM coming up? Must be time to have that discussion again!)
https://lwn.net/Articles/894098/