Lune

HPCA2025顶会

Ariadne: A Hotness-Aware and Size-Adaptive Compressed Swap Technique for Fast Application Relaunch and Reduced CPU Usage on Mobile Devices

Yu Liang, Aofeng Shen, Chun Jason Xue, Riwei Pan, Haiyu Mao, Nika Mansouri-Ghiasi, Qingcai Jiang, Rakesh Nadig, Lei Li, Rachata Ausavarungnirun, Mohammad Sadrosadati, Onur Mutlu

摘要

As the memory demands of individual mobile applications continue to grow and the number of concurrently running applications increases, available memory on mobile devices is becoming increasingly scarce. When memory pressure is high, current mobile systems use a RAM-based compressed swap scheme (called ZRAM) to compress unused execution-related data (called anonymous data in Linux) in main memory. This approach avoids swapping data to secondary storage (NAND flash memory) or terminating applications, thereby achieving shorter application relaunch latency.In this paper, we observe that the state-of-the-art ZRAM scheme prolongs relaunch latency and wastes CPU time because it does not differentiate between hot and cold data or leverage different compression chunk sizes and data locality. We make three new observations. First, anonymous data has different levels of hotness. Hot data, used during application relaunch, is usually similar between consecutive relaunches. Second, when compressing the same amount of anonymous data, small-size compression is very fast, while large-size compression achieves a better compression ratio. Third, there is locality in data access during application relaunch.Based on these observations, we propose a hotness-aware and size-adaptive compressed swap scheme, Ariadne, for mobile devices to mitigate relaunch latency and reduce CPU usage. Ariadne incorporates three key techniques. First, a low-overhead hotness-aware data organization scheme aims to quickly identify the hotness of anonymous data without significant overhead. Second, a size-adaptive compression scheme uses different compression chunk sizes based on the data’s hotness level to ensure fast decompression of hot and warm data. Third, a proactive decompression scheme predicts the next set of data to be used and decompresses it in advance, reducing the impact of data swapping back into main memory during application relaunch.We implement and evaluate Ariadne on a commercial smartphone, Google Pixel 7 with the latest Android 14. Our experimental evaluation results show that, on average, Ariadne reduces application relaunch latency by 50% and decreases the CPU usage of compression and decompression procedures by 15% compared to the state-of-the-art compressed swap scheme for mobile devices.

问 Lune

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

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

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • End the Senseless Killing: Improving Memory Management for Mobile Operating Systems 引用了 Acclaim: Adaptive Memory Reclaim to Improve User Experience in Android Systems
  • Acclaim: Adaptive Memory Reclaim to Improve User Experience in Android Systems 引用了 End the Senseless Killing: Improving Memory Management for Mobile Operating Systems
  • Easz: An Agile Transformer-based Image Compression Framework for Resource-constrained IoTs 引用了 TRACE: A Fast Transformer-based General-Purpose Lossless Compressor
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Conduit: Programmer-Transparent Near-Data Processing Using Multiple Compute-Capable Resources in Solid State DrivesRakesh Nadig, Vamanan Arulchelvan, Mayank Kabra, Harshita Gupta 等HPCA 2026 · 2 次引用
  2. Easz: An Agile Transformer-based Image Compression Framework for Resource-constrained IoTsYu Mao, Jingzong Li, Jun Wang, Hong Xu 等DAC 2025 · 1 次引用

它引用的 Paper9

  1. AutoDroid: LLM-powered Task Automation in AndroidHao Wen, Yuanchun Li, Guohong Liu, Shanhui Zhao 等MobiCom 2024 · 94 次引用
  2. End the Senseless Killing: Improving Memory Management for Mobile Operating SystemsNiel Lebeck, Arvind Krishnamurthy, Henry M. Levy, Irene ZhangUSENIX ATC 2020 · 61 次引用
  3. TRACE: A Fast Transformer-based General-Purpose Lossless CompressorYu Mao, Yufei Cui, Tei-Wei Kuo, Chun Jason XueWWW 2022 · 60 次引用
  4. Acclaim: Adaptive Memory Reclaim to Improve User Experience in Android SystemsYu Liang, Jinheng Li, Rachata Ausavarungnirun, Riwei Pan 等USENIX ATC 2020 · 49 次引用
  5. ZNSwap: un-Block your SwapShai Bergman, Niklas Cassel, Matias Bjørling, Mark SilbersteinUSENIX ATC 2022 · 32 次引用

相关 Paper

  1. ASAP: Fast Mobile Application Switch via Adaptive PrepagingSam Son, Seung Yul Lee, Yunho Jin, Jonghyun Bae 等USENIX ATC 2021 · 31 次引用
  2. ElasticZRAM: Revisiting ZRAM for Swapping on Mobile DevicesWentong Li, Dingcui Yu, Yunpeng Song, Longfei Luo 等DAC 2024 · 2 次引用
  3. Archer: Adaptive Memory Compression with Page-Association-Rule Awareness for High-Speed Response of Mobile DevicesChanglong Li, Zongwei Zhu, Chao Wang, Fangming Liu 等FAST 2025 · 5 次引用
  4. 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 次引用
  5. Pattern-Guided File Compression with User-Experience Enhancement for Log-Structured File System on Mobile DevicesCheng Ji, Li-Pin Chang, Riwei Pan, Chao Wu 等FAST 2021 · 31 次引用
黄昏的海面,两侧是细线勾勒的悬崖