AppFlow: Memory Scheduling for Cold Launch of Large Apps on Mobile and Vehicle Systems

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Xiaochen, Liu, Sicong, Guo, Bin, Ouyang, Yu, Wu, Fengmin, Xu, Yuan, Yu, Zhiwen
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917351239188480
author Li, Xiaochen
Liu, Sicong
Guo, Bin
Ouyang, Yu
Wu, Fengmin
Xu, Yuan
Yu, Zhiwen
author_facet Li, Xiaochen
Liu, Sicong
Guo, Bin
Ouyang, Yu
Wu, Fengmin
Xu, Yuan
Yu, Zhiwen
contents GB-scale large apps like on-device LLMs and rich media editors are becoming the next-generation trend, but their heavy memory and I/O demands, especially during multitasking, cause devices to reclaim or kill processes, turning warm apps into cold launches. The challenge lies not in storing them, but in fast, accurate launching. For users, 1s is the usability cliff, yet our measurements show 86.6\% of GB-scale cold launches exceed it. Also, Android Vitals flags only $\geq$ 5s as slow, exposing a large satisfaction gap. Existing optimizations are designed in isolation and conflict. For example, preloading reduces I/O stalls but consumes scarce memory and is undone by reclamation, while reclamation and killing free memory but sacrifice background survivability, leading to repeated cold relaunches. Our key insight is that, although multitasking makes runtime behavior complex, each app's file access pattern remains predictable. The challenge lies in exploiting this predictability, i.e., preloading without exhausting memory, reclaiming without undoing gains, and killing selectively to preserve background survivability. We introduce AppFlow, a prediction-based system-wide scheduler that integrates a Selective File Preloader, an Adaptive Memory Reclaimer, and a Context-Aware Process Killer. Implemented across the Android framework and Linux kernel without app changes, AppFlow cuts GB-scale cold-launch latency by 66.5\% (e.g., 2s$\rightarrow$690ms) and sustains 95\% of launches within 1s over a 100-day test, significantly improving responsiveness and multitasking experience.
format Preprint
id arxiv_https___arxiv_org_abs_2603_17259
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle AppFlow: Memory Scheduling for Cold Launch of Large Apps on Mobile and Vehicle Systems
Li, Xiaochen
Liu, Sicong
Guo, Bin
Ouyang, Yu
Wu, Fengmin
Xu, Yuan
Yu, Zhiwen
Operating Systems
D.4.2
GB-scale large apps like on-device LLMs and rich media editors are becoming the next-generation trend, but their heavy memory and I/O demands, especially during multitasking, cause devices to reclaim or kill processes, turning warm apps into cold launches. The challenge lies not in storing them, but in fast, accurate launching. For users, 1s is the usability cliff, yet our measurements show 86.6\% of GB-scale cold launches exceed it. Also, Android Vitals flags only $\geq$ 5s as slow, exposing a large satisfaction gap. Existing optimizations are designed in isolation and conflict. For example, preloading reduces I/O stalls but consumes scarce memory and is undone by reclamation, while reclamation and killing free memory but sacrifice background survivability, leading to repeated cold relaunches. Our key insight is that, although multitasking makes runtime behavior complex, each app's file access pattern remains predictable. The challenge lies in exploiting this predictability, i.e., preloading without exhausting memory, reclaiming without undoing gains, and killing selectively to preserve background survivability. We introduce AppFlow, a prediction-based system-wide scheduler that integrates a Selective File Preloader, an Adaptive Memory Reclaimer, and a Context-Aware Process Killer. Implemented across the Android framework and Linux kernel without app changes, AppFlow cuts GB-scale cold-launch latency by 66.5\% (e.g., 2s$\rightarrow$690ms) and sustains 95\% of launches within 1s over a 100-day test, significantly improving responsiveness and multitasking experience.
title AppFlow: Memory Scheduling for Cold Launch of Large Apps on Mobile and Vehicle Systems
topic Operating Systems
D.4.2
url https://arxiv.org/abs/2603.17259