Power sandbox: power awareness redefined

Power sandbox: power awareness redefined
复制标题

DOI:
10.1145/3190508.3190533
复制
发表时间:
2018-04
期刊:
Proceedings of the Thirteenth EuroSys Conference
影响因子:
--
通讯作者:
Liwei Guo;Tiantu Xu;Mengwei Xu;Xuanzhe Liu;F. Lin
Liwei Guo;Tiantu Xu;Mengwei Xu;Xuanzhe Liu;F. Lin
中科院分区:
其他
文献类型:
--
作者:
Liwei Guo;Tiantu Xu;Mengwei Xu;Xuanzhe Liu;F. Lin

文献摘要

相似文献

许多应用程序受益于了解它们的功耗并在运行中调整它们的行为。为了在运行时为应用程序提供功率知识,操作系统通常会测量系统功率并将其分配给应用程序。由于并发应用程序对系统功率的影响是纠缠的,这种方法不仅难以对功率进行推理,而且还会产生功率侧信道,这是一个严重的漏洞。为此,我们引入了一种新的操作系统原理,称为功率沙箱,它使一个应用程序能够观察自己在硬件/软件堆栈的垂直部分运行时的细粒度功耗。观察到的功率不受其他应用程序的影响。我们的贡献是一组轻量级的内核扩展,这些扩展可以同时i)加强功率沙盒边界,ii)限制沙盒应用程序的性能损失。我们在两个嵌入式平台上的经验表明,功耗沙盒简化了功耗推理,保持了应用之间的公平性,并最大限度地减少了功耗侧通道,从而促进了功耗感知应用的构建。
Many apps benefit from knowing their power consumption and adapting their behaviors on the fly. To offer apps power knowledge at run time, an OS often meters system power and divides it among apps. Since the impacts of concurrent apps on system power are entangled, this approach not only makes it difficult to reason about power but also results in power side channels, a serious vulnerability. To this end, we introduce a new OS principal called power sandbox, which enables one app to observe the fine-grained power consumption of itself running in its vertical slice of the hardware/software stack. The observed power is insulated from the impacts of other apps. Our contribution is a set of lightweight kernel extensions that simultaneously i) enforce the power sandbox boundaries and ii) confine entailed performance loss to the sandboxed apps. Our experiences on two embedded platforms show that power sandboxes simplify reasoning about power, maintain fairness among apps, and minimize power side channels, thus facilitating construction of power-aware apps.