Lune

USENIX ATC2025顶会

PMR: Fast Application Response via Parallel Memory Reclaim on Mobile Devices

Wentong Li, Li-Pin Chang, Yu Mao, Liang Shi

摘要

Mobile applications exhibit increasingly high memory demands, making efficient memory management critical for enabling fast and responsive user experiences. However, our analysis of Android systems reveals inefficiencies in the current kernel-level memory reclaim design, which struggles to meet the performance demands of modern apps and fails to exploit upgraded storage devices. To address this challenge, we propose PMR, a parallel memory reclaim scheme. PMR introduces two key techniques: proactive page shrinking (PPS) and storage-friendly page writeback (SPW). PPS enhances the memory reclaim process by decoupling the timeconsuming steps of page shrinking and page writeback for parallel execution, while SPW optimizes write I/O operations through batched unmapping of victim pages for bulk, efficient writeback. Experimental results on real-world mobile devices demonstrate that PMR can improve application response times by up to 43.6% compared to the original Android memory reclaim approach.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • TMO: transparent memory offloading in datacenters 引用了 Can far memory improve job throughput?
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper14

  1. Can far memory improve job throughput?Emmanuel Amaro, Christopher Branner-Augmon, Zhihong Luo, Amy Ousterhout 等EuroSys 2020 · 163 次引用
  2. TMO: transparent memory offloading in datacentersJohannes Weiner, Niket Agarwal, Dan Schatzberg, Leon Yang 等ASPLOS 2022 · 103 次引用
  3. LLM in a flash: Efficient Large Language Model Inference with Limited MemoryKeivan Alizadeh, Iman Mirzadeh, Dmitry Belenko, S. Khatamifard 等ACL 2024 · 73 次引用
  4. Optimizing Memory-mapped I/O for Fast Storage DevicesAnastasios Papagiannis, Giorgos Xanthakis, Giorgos Saloustros, Manolis Marazakis 等USENIX ATC 2020 · 68 次引用
  5. End the Senseless Killing: Improving Memory Management for Mobile Operating SystemsNiel Lebeck, Arvind Krishnamurthy, Henry M. Levy, Irene ZhangUSENIX ATC 2020 · 61 次引用

相关 Paper

  1. Acclaim: Adaptive Memory Reclaim to Improve User Experience in Android SystemsYu Liang, Jinheng Li, Rachata Ausavarungnirun, Riwei Pan 等USENIX ATC 2020 · 49 次引用
  2. SWAM: Revisiting Swap and OOMK for Improving Application Responsiveness on Mobile DevicesGeunsik Lim, Donghyun Kang, MyungJoo Ham, Young Ik EomMobiCom 2023 · 13 次引用
  3. ElasticZRAM: Revisiting ZRAM for Swapping on Mobile DevicesWentong Li, Dingcui Yu, Yunpeng Song, Longfei Luo 等DAC 2024 · 2 次引用
  4. ASAP: Fast Mobile Application Switch via Adaptive PrepagingSam Son, Seung Yul Lee, Yunho Jin, Jonghyun Bae 等USENIX ATC 2021 · 31 次引用
  5. KFR: Optimal Cache Management with K-Framed Reclamation for Drive-Managed SMR DisksChenlin Ma, Yi Wang, Zhaoyan Shen, Zili ShaoDAC 2020 · 10 次引用
黄昏的海面,两侧是细线勾勒的悬崖