More Apps, Faster Hot-Launch on Mobile Devices via Fore/Background-aware GC-Swap Co-design
Open Access
- 27 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 654-670
Abstract
Faster app launching is crucial for the user experience on mobile devices. Apps launched from a background cached state, called hot-launching, have much better performance than apps launched from scratch. To increase the number of hot-launches, leading mobile vendors now cache more apps in the background by enabling swap. Recent work also proposed reducing the Java heap to increase the number of cached apps. However, this paper found that existing methods deteriorate app hot-launch performance while increasing the number of cached apps. To simultaneously improve the number of cached apps and hot-launch performance, this paper proposes Fleet, a foreground/background-aware GC-swap co-design framework. To enhance app-caching capacity, Fleet limits the tracing range of GC to background objects only, avoiding touching long-lifetime foreground objects. To improve hot-launch performance, Fleet identifies objects that will be accessed during the next hot-launch and uses runtime information to guide the swap scheme in the OS. In addition, Fleet aggregates small objects with similar access patterns into the same pages to improve swap efficiency. We implemented Fleet in AOSP and evaluated its performance with different types of apps. Experimental results show that Fleet achieves a 1.59× faster hot-launch time and caches 1.21× more apps than Android.Keywords
Funding Information
- Research Grants Council of the Hong Kong Special Administrative Region (CityU 11209122)
This publication has 20 references indexed in Scilit:
- Defining ‘seamlessly connected’: user perceptions of operation latency in cross-device interactionInternational Journal of Human-Computer Studies, 2023
- SEAL: User Experience-Aware Two-Level Swap for Mobile DevicesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2020
- Two Billion Devices and CountingIEEE Micro, 2018
- Energy-Efficient In-Memory Paging for SmartphonesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2015
- Managing gpu buffers for caching more apps in mobile systems2015
- MARS: Mobile Application Relaunching Speed-Up through Flash-Aware Page SwappingIEEE Transactions on Computers, 2015
- FACADE2015
- Quantifying Interactive User Experience on Thin ClientsComputer, 2006
- Garbage collection without paging2005
- The information visualizer, an information workspace1991