Acclaim: Adaptive Memory Reclaim to Improve User Experience in Android Systems
summary
Acclaim implements a kernel reclaim policy with two concrete pieces: foreground aware eviction moves free pages from background apps to foreground ones, and lightweight prediction-based reclaim uses a lock-free sliding window predictor plus a moderator to shrink background reclaim size and frequency. Evaluation on 52 phones shows page re-faults can be ~31% of evictions and Acclaim cuts launch latency and boosts intensive-write throughput up to 49%. Runtime overhead is tiny: ~0.1% extra memory for per-page UID and ~400 bytes per 100-window.
AI-written summary · about
chapters (17)
- 0:00Intro
- 0:24Executive summary
- 2:06Android mobile device is popular Mobile devices are everywhere!
- 2:47Android inherits Linux kernel
- 3:33Breakdown Android I/O latency Android I/O Latency: read procedure as an example
- 5:15Page re-fault causes page thrashing
- 6:02Direct reclaim can much delay page allocation
- 7:12Analysis of Android memory reclaim
- 10:52Allocation sizes of mobile devices are usually small
- 12:02Foreground apps more important to user experience Background applications keep consuming free pages.
- 12:58Our Solution: Acclaim ► Design goals
- 14:06Lightweight prediction-based reclaim scheme (LWP)
- 16:15Foreground aware eviction (FAE)
- 17:53Evaluation results: read/write performance
- 18:39Evaluation results: app launching
- 19:03Evaluation results: overhead
- 19:57Conclusion
related talks
15mASAP: Fast Mobile Application Switch via Adaptive Prepaging
08mAndroid: memcg v1 - v2
36mAndroid memory and games
38mOptimize your app performance for the next generation of Android
40mAndroid high performance baby
38mOptimize your app performance for the next generation of Android
14mAndroid BOF
20mIntegrated Host-SSD Mapping Table Management for Improving User Experience of Smartphones
