On Fri, May 10, 2024 at 02:22:02PM +1200, Barry Song wrote: > - The allocation of mTHP isn't consistently reliable; even after > prolonged use, obtaining large folios > remains uncertain. > As an instance, following a few hours of operation, the likelihood > of successfully allocating large > folios on a phone may decrease to just 2%. I'd be curious to know whether you're using a filesystem that supports large folios or whether the pagecache is full of small folios? The more places that allocate large folios, the easier it becomes to allocate large folios. Also, do you have CONFIG_COMPACTION enabled?