{'fraction_non_alphanumeric': 0.01820464532328939, 'fraction_numerical': 0.0018832391713747645, 'mean_word_length': 5.811965811965812, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Interactive Context for Mobile OS Resource Management

This paper presents an application-transparent execution context for mobile operating systems that reflects the criticality of current execution on the user interactivity. We track Android / Linux system-level events including semantic syscalls, UI actions, and standard inter-process and intra-process communication interfaces that signal the initiation and propagation of interactivity-related executions. This interactive context enables new optimizations in CPU scheduling and power state management. We recognize that online resource scheduling is susceptible to inaccurate contexts—e.g., misidentifying an interactive execution as background leads to possible priority inversion by schedulers. In particular, low-level OS events such as kernel block / wake-up carry ambiguous semantics that could induce false context propagations. We selectively expose such uncertainties to the schedulers so that executions with uncertain contexts are prioritized behind interactive executions but otherwise run as fast as possible to minimize the priority inversion. We further recognize the importance of prompt propagation of the interactivity context at the earliest possible moment to facilitate immediate prioritization. We utilize the interactivity context to enable differential per-core frequency control and background workload consolidation. Experiments on a quad-core smartphone with a dozen mobile workload scenarios show that we can, on average, save 13 percent energy with only 1 percent degradation on the interactive performance.