USENIX ATC2020顶会
End the Senseless Killing: Improving Memory Management for Mobile Operating Systems
Niel Lebeck, Arvind Krishnamurthy, Henry M. Levy, Irene Zhang
摘要
To ensure low-latency memory allocation, mobile operating systems kill applications instead of swapping memory to disk. This design choice shifts the burden of managing over-utilized memory to application programmers, requiring them to constantly checkpoint their application state to disk. This paper presents Marvin, a new memory manager for mobile platforms that efficiently supports swapping while meeting the strict performance requirements of mobile apps. Marvin's swap-enabled language runtime is co-designed with OS-level memory management to avoid common pitfalls of traditional swap mechanisms. Its key features are: (1) a new swap mechanism, called ahead-of-time (AOT) swap, which pre-writes memory to disk, then harvests it quickly when needed, (2) a modified bookmarking garbage collector that avoids swapping in unused memory, and (3) an object-granularity working set estimator. Our experiments show that Marvin can run more than 2x as many concurrent apps as Android, and that Marvin can reclaim memory over 60x faster than Android with a Linux swap file can allocate memory under memory pressure.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ASAP: Fast Mobile Application Switch via Adaptive Prepaging 引用了 Acclaim: Adaptive Memory Reclaim to Improve User Experience in Android Systems
- CacheSifter: Sifting Cache Files for Boosted Mobile Performance and Lifetime 引用了 Acclaim: Adaptive Memory Reclaim to Improve User Experience in Android Systems
引用它的顶会 Paper17
- FwdLLM: Efficient Federated Finetuning of Large Language Models with Perturbed InferencesMengwei Xu, Dongqi Cai, Yaozong Wu, Xiang Li 等USENIX ATC 2024 · 78 次引用
- Acclaim: Adaptive Memory Reclaim to Improve User Experience in Android SystemsYu Liang, Jinheng Li, Rachata Ausavarungnirun, Riwei Pan 等USENIX ATC 2020 · 49 次引用
- ASAP: Fast Mobile Application Switch via Adaptive PrepagingSam Son, Seung Yul Lee, Yunho Jin, Jonghyun Bae 等USENIX ATC 2021 · 31 次引用
- STI: Turbocharge NLP Inference at the Edge via Elastic PipeliningLiwei Guo, Wonkyo Choe, Felix Xiaozhu LinASPLOS 2023 · 25 次引用
- CacheSifter: Sifting Cache Files for Boosted Mobile Performance and LifetimeYu Liang, Riwei Pan, Tianyu Ren, Yufei Cui 等FAST 2022 · 24 次引用
它引用的 Paper1
相关 Paper
- More Apps, Faster Hot-Launch on Mobile Devices via Fore/Background-aware GC-Swap Co-designJiacheng Huang, Yunmo Zhang, Junqiao Qiu, Yu Liang 等ASPLOS 2024 · 12 次引用
- MobileSwap: Cross-Device Memory Swapping for Mobile DevicesChanglong Li, Liang Shi, Chun Jason XueDAC 2021 · 10 次引用
- SWAM: Revisiting Swap and OOMK for Improving Application Responsiveness on Mobile DevicesGeunsik Lim, Donghyun Kang, MyungJoo Ham, Young Ik EomMobiCom 2023 · 13 次引用
- 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 等HPCA 2025 · 8 次引用
- ElasticZRAM: Revisiting ZRAM for Swapping on Mobile DevicesWentong Li, Dingcui Yu, Yunpeng Song, Longfei Luo 等DAC 2024 · 2 次引用
