{"title":"Smart Energy Management of Multi-threaded Java Applications on Multi-core Processors","authors":"Fuh-Gwo Chen, Kuo-Yi Chen, Jr-Shian Chen, Chi-Chen Shui","doi":"10.1109/SNPD.2012.66","DOIUrl":null,"url":null,"abstract":"Multi-core processors are becoming widely deployed in computer systems. While improving the performance of applications with multi-core technology, multi-core CPUs consume more power than a single-core one. We propose a power saving technique for multi-core systems based on the observation of critical sections in multi-threaded applications. First, since only one thread on a core can enter into a critical section for a shared resource, other threads on other cores that would access the same resource would run into busy waiting state. Hence the frequency of those idle cores could be minimized to reduce energy wastages without degrading overall applications' performance. Secondly, the accurate engage/disengage timing of a critical section could be detected by matching particular byte code patterns before a thread actually enters into a critical section. Thus the frequency of busy waiting cores could be tuned in advance. Based on these findings, the power-saving technique of critical sections is proposed and implemented. With the experiments of five multi-threaded Java benchmarks, the proposed power-saving technique leads to good energy savings (11 to 15 percent) with lower values of Energy Delay Product as compared to the other power-saving techniques.","PeriodicalId":387936,"journal":{"name":"2012 13th ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2012-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 13th ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SNPD.2012.66","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Multi-core processors are becoming widely deployed in computer systems. While improving the performance of applications with multi-core technology, multi-core CPUs consume more power than a single-core one. We propose a power saving technique for multi-core systems based on the observation of critical sections in multi-threaded applications. First, since only one thread on a core can enter into a critical section for a shared resource, other threads on other cores that would access the same resource would run into busy waiting state. Hence the frequency of those idle cores could be minimized to reduce energy wastages without degrading overall applications' performance. Secondly, the accurate engage/disengage timing of a critical section could be detected by matching particular byte code patterns before a thread actually enters into a critical section. Thus the frequency of busy waiting cores could be tuned in advance. Based on these findings, the power-saving technique of critical sections is proposed and implemented. With the experiments of five multi-threaded Java benchmarks, the proposed power-saving technique leads to good energy savings (11 to 15 percent) with lower values of Energy Delay Product as compared to the other power-saving techniques.