On Tue, Jun 06, 2023 at 04:00:56PM -0700, Jianan Wang wrote: > Hi Dave, > > Just to follow up on this. We have performed the testing using the > Ubuntu 20.04 with 5.15 kernel as well as our custom built xfs 5.9, > but we still see significant slab memory build-up during the > process. That's to be expected. Nothing has changed with respect to inode cache size management. All the changes were to how the XFS inode cache gets reclaimed. Are you getting OOM killer reports when under memory pressure on 5.15 like you originally reported for the 5.4 kernel you were running? Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx