Smart Energy Management of Multi-threaded Java Applications on Multi-core Processors

Fuh-Gwo Chen, Kuo-Yi Chen, Jr-Shian Chen, Chi-Chen Shui
{"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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
多核处理器上多线程Java应用程序的智能能源管理
多核处理器在计算机系统中得到了广泛的应用。使用多核技术提高应用程序性能的同时,多核cpu比单核cpu消耗更多的功率。基于对多线程应用中临界区域的观察,提出了一种多核系统的节能技术。首先,由于一个核心上只有一个线程可以进入共享资源的临界区,因此访问同一资源的其他核心上的其他线程将进入繁忙等待状态。因此,这些空闲核心的频率可以最小化,以减少能源浪费,而不会降低整体应用程序的性能。其次,在线程实际进入临界区之前,可以通过匹配特定的字节码模式来检测临界区的准确啮合/脱离时间。因此,繁忙等待核的频率可以提前调整。在此基础上,提出并实施了关键截面节能技术。通过对五个多线程Java基准测试的实验,与其他节能技术相比,所建议的节能技术带来了良好的节能效果(11%到15%),并且能耗延迟产品的值更低。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
KC3 Browser: Semantic Service Mush-up for Global Knowledge Sharing and Discovery DSCLU: A New Data Stream Clustring Algorithm for Multi Density Environments Content Espresso: A Global Secure Large File Sharing System for Media Industries Prototype Implementation of a GPU-based Interactive Coupled Fluid-Structure Simulation Smart Energy Management of Multi-threaded Java Applications on Multi-core Processors
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1