Speakers
Description
This topic proposes exploring the possibility of using 16 KB for both
page cache and mTHP on Android.
Collaborating with Kalesh Singh, Ryan Roberts, David Hildenbrand and
others, Xiaomi is exploring the use of 16 KB large folios for both page
cache and anonymous memory.
We have posted an RFC patchset for large folio support in F2FS, which
has been working well on Android devices so far:
https://lore.kernel.org/lkml/20260622160830.324455-1-zhaonanzhe@xiaomi.com/
In this discussion, we would like to present the data we have collected
using 16 KB page cache and mTHP, and discuss the following topics:
-
Pros and cons of using 16 KB large folios with 16 KB base pages.
-
Memory fragmentation and direct reclaim issues observed with 16 KB
large folios, along with potential compaction optimizations for a
lightweight mechanism targeting 16 KB folios only. -
Potential Scudo and other component optimizations to reduce memory
footprint while using 16 KB as the management granularity. These
optimizations could also be beneficial when using 16 KB as the base
page size.