Ubiquitous mobile platforms such as Android rely on managed language run-time environments, also known as language virtual machines (VMs), as the base for delivery of a diverse range of user applications (apps). Each app runs in its own private VM instance, and each makes its own private local decisions in managing its use of processor and memory resources. Moreover, lower-level control over power management at the operating system and hardware layers does not coordinate with the higher-level app environment. This lack of coordination across layers and across apps poses a barrier to achieving more effective global use of resources on the device.
We attack this problem by devising and implementing a global memory manager service for Android that enables optimizing memory usage, run-time performance, and power consumption globally across all apps running on the device. The service focuses on the impact of garbage collection (GC) on these dimensions, since GC poses a significant overhead within managed run-time environments. Our prototype collects system-wide statistics from all running VMs, makes centralized decisions about memory management across apps and across software layers, and also collects garbage centrally. Furthermore, the global memory manager coordinates with the power manager to tune collector scheduling. In our evaluation, we illustrate the impact of such a central memory management service in reducing total energy consumption (up to 18%) and throughput (up to 12%), and improving memory utilization and adaptability to user activities.
Sun 9 AprDisplayed time zone: Azores change
14:00 - 15:30 | |||
14:00 30mTalk | One Process to Reap Them All: Garbage Collection As A Service Session 5 Ahmed Hussein Purdue University / Huawei, USA, Mathias Payer Purdue University, Tony Hosking Australian National University, Data61, and Purdue University, Christopher A. Vick Qualcomm | ||
14:30 30mTalk | Designing Locality and NUMA Aware MPI Runtime for Nested Virtualization based HPC Cloud with SR-IOV Enabled InfiniBand Session 5 | ||
15:00 30mTalk | Flexible Page-level Memory Access Monitoring Based on Virtualization Hardware Session 5 Kai Lu College of Computer, National University of Defense Technology, Changsha, PR China, Wenzhe Zhang College of Computer, National University of Defense Technology, Changsha, PR China, Xiaoping Wang College of Computer, National University of Defense Technology, Changsha, PR China, Mikel Luján , Andrew Nisbet The University of Manchester File Attached |