Visible to the public OS-based Resource Accounting for Asynchronous Resource Use in Mobile Systems

TitleOS-based Resource Accounting for Asynchronous Resource Use in Mobile Systems
Publication TypeConference Paper
Year of Publication2016
AuthorsGhanei, Farshad, Tipnis, Pranav, Marcus, Kyle, Dantu, Karthik, Ko, Steve, Ziarek, Lukasz
Conference NameProceedings of the 2016 International Symposium on Low Power Electronics and Design
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-4185-1
Keywordscomposability, Embedded systems, Metrics, network accountability, Operating systems, Power Management, pubcrawl, Resiliency, Resource management
Abstract

One essential functionality of a modern operating system is to accurately account for the resource usage of the underlying hardware. This is especially important for computing systems that operate on battery power, since energy management requires accurately attributing resource uses to processes. However, components such as sensors, actuators and specialized network interfaces are often used in an asynchronous fashion, and makes it difficult to conduct accurate resource accounting. For example, a process that makes a request to a sensor may not be running on the processor for the full duration of the resource usage; and current mechanisms of resource accounting fail to provide accurate accounting for such asynchronous uses. This paper proposes a new mechanism to accurately account for the asynchronous usage of resources in mobile systems. Our insight is that by accurately relating the user requests with kernel requests to device and corresponding device responses, we can accurately attribute resource use to the requesting process. Our prototype implemented in Linux demonstrates that we can account for the usage of asynchronous resources such as GPS and WiFi accurately.

URLhttp://doi.acm.org/10.1145/2934583.2934639
DOI10.1145/2934583.2934639
Citation Keyghanei_os-based_2016