5–7 Oct 2026
Europe/Prague timezone

16KB page cache and mTHP on Android

Not scheduled
20m
Android MC Android MC

Speakers

Barry Song Bo Zhang (Xiaomi Corporation) nanzhe zhao (Xiaomi Corporation)

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:

  1. Pros and cons of using 16 KB large folios with 16 KB base pages.

  2. 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.

  3. 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.

Authors

Barry Song Bo Zhang (Xiaomi Corporation) nanzhe zhao (Xiaomi Corporation)

Presentation materials

There are no materials yet.