ASAP: Fast Mobile Application Switch via Adaptive Prepaging
Sam Son, Seung Yul Lee, Yunho Jin, Jonghyun Bae, Jinkyu Jeong, Tae Jun Ham, Jae W. Lee, Hongil Yoon
Abstract
© 2021 USENIX Annual Technical Conference. All rights reserved.With mobile applications' ever-increasing demands for memory capacity, along with a steady increase in the number of applications running concurrently, memory capacity is becoming a scarce resource on mobile devices. When the memory pressure is high, current mobile OSes often kill application processes that have not been used recently to reclaim memory space. This leads to a long delay when a user relaunches the killed application, which degrades the user experience. Even if this mechanism is disabled to utilize a compression-based in-memory swap mechanism, relaunching the application still incurs a substantial latency penalty as it requires the decompression of compressed anonymous pages and a stream of I/O accesses to retrieve file-backed pages into memory. This paper identifies conventional demand paging as the primary source of this inefficiency and proposes ASAP, a mechanism for fast application switch via adaptive prepaging on mobile devices. ASAP performs prepaging by combining i) high-precision switch footprint estimators for both file-backed and anonymous pages, and ii) efficient implementation of the prepaging mechanism to minimize resource waste for CPU cycles and disk bandwidth during an application switch. Our evaluation using eight real-world applications on Google Pixel 4 and Pixel 3a demonstrates that ASAP can reduce the switch time by 22.2% and 28.3% on average, respectively (with a maximum of 33.3% and 35.7%, respectively), over the vanilla Android 10.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers7
- Integrated Host-SSD Mapping Table Management for Improving User Experience of SmartphonesYoona Kim, Inhyuk Choi, Juhyung Park, Jaeheon Lee et al.FAST 2023 · 14 citations
- SWAM: Revisiting Swap and OOMK for Improving Application Responsiveness on Mobile DevicesGeunsik Lim, Donghyun Kang, MyungJoo Ham, Young Ik EomMobiCom 2023 · 13 citations
- More Apps, Faster Hot-Launch on Mobile Devices via Fore/Background-aware GC-Swap Co-designJiacheng Huang, Yunmo Zhang, Junqiao Qiu, Yu Liang et al.ASPLOS 2024 · 12 citations
- Ariadne: A Hotness-Aware and Size-Adaptive Compressed Swap Technique for Fast Application Relaunch and Reduced CPU Usage on Mobile DevicesYu Liang, Aofeng Shen, Chun Jason Xue, Riwei Pan et al.HPCA 2025 · 8 citations
- STORM: a Multipath QUIC Scheduler for Quick Streaming Media Transport under Unstable Mobile NetworksLiekun Hu, Changlong LiUSENIX ATC 2025 · 7 citations
Builds on2
- End the Senseless Killing: Improving Memory Management for Mobile Operating SystemsNiel Lebeck, Arvind Krishnamurthy, Henry M. Levy, Irene ZhangUSENIX ATC 2020 · 61 citations
- Acclaim: Adaptive Memory Reclaim to Improve User Experience in Android SystemsYu Liang, Jinheng Li, Rachata Ausavarungnirun, Riwei Pan et al.USENIX ATC 2020 · 49 citations
Related papers
- ElasticZRAM: Revisiting ZRAM for Swapping on Mobile DevicesWentong Li, Dingcui Yu, Yunpeng Song, Longfei Luo et al.DAC 2024 · 2 citations
- PMR: Fast Application Response via Parallel Memory Reclaim on Mobile DevicesWentong Li, Li-Pin Chang, Yu Mao, Liang ShiUSENIX ATC 2025 · 4 citations
- PageFlex: Flexible and Efficient User-space Delegation of Linux Paging Policies with eBPFAnil Yelam, Kan Wu, Zhiyuan Guo, Suli Yang et al.USENIX ATC 2025 · 15 citations
- MobileSwap: Cross-Device Memory Swapping for Mobile DevicesChanglong Li, Liang Shi, Chun Jason XueDAC 2021 · 10 citations
- DiLOS: Do Not Trade Compatibility for Performance in Memory DisaggregationWonsup Yoon, Jisu Ok, Jinyoung Oh, Sue Moon et al.EuroSys 2023 · 21 citations
