MemSaver: Enabling an All-in-memory Switch Experience for Many Apps in a Smartphone
Open Access
- 7 May 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 267-275
Abstract
The availability of diverse applications (apps) and the need to use many apps simultaneously have propelled users to constantly switch between apps in smartphones. For an instantaneous switch, these apps are often expected to stay in the memory. However, when a user opens more apps and memory pressure increases, Android kills background apps to relieve the memory pressure. When the user switches a killed app back to the foreground, the user experiences a laggy response that compromises his experience. To delay this killing under memory pressure for a smoother user experience, we proposeMemSaver, a low-cost approach for preemptively swapping selected pages of the background apps out of memory to avoid or postpone the killing of apps while ensuring their near-ideal switch time. MemSaver uses pages accessed during events similar to the switch and about the same app context for predicting the pages to be accessed in the next switch. Evaluations on OnePlus 9 Pro using representative apps show that up to 60% of app's memory (RSS) can be saved while maintaining the switch time within the acceptable range.Keywords
This publication has 9 references indexed in Scilit:
- A Survey of Performance Optimization for Mobile ApplicationsIEEE Transactions on Software Engineering, 2021
- Measuring smartphone usage and task switching with log tracking and self-reportsMobile Media & Communication, 2018
- Application-Aware Swapping for Mobile SystemsACM Transactions on Embedded Computing Systems, 2017
- SmartSwap2017
- Which app will you use next?2013
- Practical prediction and prefetch for faster access to applications on mobile phones2013
- Fast app launching for mobile devices using predictive user context2012
- Quantifying Interactive User Experience on Thin ClientsComputer, 2006
- The information visualizer, an information workspace1991