Till Smejkal, Robert Khasanov, Jeronimo Castrillon, Hermann Härtig
{"title":"E-Mapper: Energy-Efficient Resource Allocation for Traditional Operating Systems on Heterogeneous Processors","authors":"Till Smejkal, Robert Khasanov, Jeronimo Castrillon, Hermann Härtig","doi":"arxiv-2406.18980","DOIUrl":null,"url":null,"abstract":"Energy efficiency has become a key concern in modern computing. Major\nprocessor vendors now offer heterogeneous architectures that combine powerful\ncores with energy-efficient ones, such as Intel P/E systems, Apple M1 chips,\nand Samsungs Exyno's CPUs. However, apart from simple cost-based thread\nallocation strategies, today's OS schedulers do not fully exploit these\nsystems' potential for adaptive energy-efficient computing. This is, in part,\ndue to missing application-level interfaces to pass information about\ntask-level energy consumption and application-level elasticity. This paper\npresents E-Mapper, a novel resource management approach integrated into Linux\nfor improved execution on heterogeneous processors. In E-Mapper, we base\nresource allocation decisions on high-level application descriptions that user\ncan attach to programs or that the system can learn automatically at runtime.\nOur approach supports various programming models including OpenMP, Intel TBB,\nand TensorFlow. Crucially, E-Mapper leverages this information to extend beyond\nexisting thread-to-core allocation strategies by actively managing application\nconfigurations through a novel uniform application-resource manager interface.\nBy doing so, E-Mapper achieves substantial enhancements in both performance and\nenergy efficiency, particularly in multi-application scenarios. On an Intel\nRaptor Lake and an Arm big.LITTLE system, E-Mapper reduces the application\nexecution on average by 20 % with an average reduction in energy consumption of\n34 %. We argue that our solution marks a crucial step toward creating a generic\napproach for sustainable and efficient computing across different processor\narchitectures.","PeriodicalId":501333,"journal":{"name":"arXiv - CS - Operating Systems","volume":"161 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.18980","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Energy efficiency has become a key concern in modern computing. Major
processor vendors now offer heterogeneous architectures that combine powerful
cores with energy-efficient ones, such as Intel P/E systems, Apple M1 chips,
and Samsungs Exyno's CPUs. However, apart from simple cost-based thread
allocation strategies, today's OS schedulers do not fully exploit these
systems' potential for adaptive energy-efficient computing. This is, in part,
due to missing application-level interfaces to pass information about
task-level energy consumption and application-level elasticity. This paper
presents E-Mapper, a novel resource management approach integrated into Linux
for improved execution on heterogeneous processors. In E-Mapper, we base
resource allocation decisions on high-level application descriptions that user
can attach to programs or that the system can learn automatically at runtime.
Our approach supports various programming models including OpenMP, Intel TBB,
and TensorFlow. Crucially, E-Mapper leverages this information to extend beyond
existing thread-to-core allocation strategies by actively managing application
configurations through a novel uniform application-resource manager interface.
By doing so, E-Mapper achieves substantial enhancements in both performance and
energy efficiency, particularly in multi-application scenarios. On an Intel
Raptor Lake and an Arm big.LITTLE system, E-Mapper reduces the application
execution on average by 20 % with an average reduction in energy consumption of
34 %. We argue that our solution marks a crucial step toward creating a generic
approach for sustainable and efficient computing across different processor
architectures.