Cryogenic: Enabling Power-Aware Applications on Linux
- https://doi.org/10.2991/ict4s-14.2014.23How to use a DOI?
- Task scheduling, energy efficiency, POSIX.
Modern hardware devices that are idle for a certain period of time enter into sleep mode as a means of reducing power consumption. Naturally, devices should remain in sleep mode for as long as possible to maximize energy savings. However, a growing number of applications perform non-urgent background tasks, which may force hardware to wake up. It would be better if such non-urgent activities could be scheduled to execute only when the respective devices are already in use, as this would maximize the duration of sleep-states. This requires cooperation between applications and the kernel, as only the kernel can coordinate between applications that access the same hardware, and only applications know which tasks can be deferred and for how long. This paper presents the design and implementation of Cryogenic, a POSIX-compatible API that enables the clustering of tasks that access the same hardware. Specifically, the Cryogenic API allows applications to defer tasks until devices are used by other processes. This way, non-urgent tasks can choose not to wake up the device they require and instead defer their execution until either other tasks force the device to be powered on, or until the task becomes urgent. Cryogenic has been realized as a new Linux module, which integrates with the existing POSIX event loop system calls. This allows the use of Cryogenic on many different platforms, as long as the platform uses a Linux-kernel at the heart of the operating system. In addition to describing the design and implementation of Cryogenic, this paper contains experimental results that demonstrate Cryogenic’s ability to reduce power consumption using physical measurements on a Raspberry Pi.
- © 2014, the Authors. Published by Atlantis Press.
- Open Access
- This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).
Cite this article
TY - CONF AU - Alejandra Morales Ruiz AU - Wilfried Daniels AU - Danny Hughes AU - Christian Grothoff PY - 2014/08 DA - 2014/08 TI - Cryogenic: Enabling Power-Aware Applications on Linux BT - Proceedings of the 2014 conference ICT for Sustainability PB - Atlantis Press SP - 189 EP - 198 SN - 2352-538X UR - https://doi.org/10.2991/ict4s-14.2014.23 DO - https://doi.org/10.2991/ict4s-14.2014.23 ID - MoralesRuiz2014/08 ER -