Energy Consumption and Scalability Evaluation for Software Transactional Memory on a Real Computing Environment

T. Rico, M. Pilla, A. R. D. Bois, R. M. Duarte
{"title":"Energy Consumption and Scalability Evaluation for Software Transactional Memory on a Real Computing Environment","authors":"T. Rico, M. Pilla, A. R. D. Bois, R. M. Duarte","doi":"10.1109/SBAC-PADW.2015.11","DOIUrl":null,"url":null,"abstract":"Transactional Memory is a concurrent programming abstraction that overcomes several of the limitations found in traditional synchronization mechanisms. As it is a more recent abstraction, little is known about energy consumption of Software Transactional Memories (STM). In this context, this work presents an analysis and characterization of energy consumption and performance of four Transactional Memory libraries: TL2, Tiny STM, Swiss TM, and Adapt STM, using the STAMP benchmarks. Although most works in the state-of-the-art chose to evaluate Transactional Memories through simulation, in this work the benchmarks are run in actual computers, avoiding the known issues with modeling power consumption in simulators. Our results show that Swiss TM is the most efficient library of the four in terms of energy consumption and performance for the default configurations, followed by Adapt STM, Tiny STM, and TL2, for most of the execution scenarios and 8 threads at most. STM's scalability is directly tied to the strategies for detection and resolution of conflicts. In this perspective, Adapt STM is the best STM for applications with short transactions, Swiss TM presents the best results for medium transactions, and long transactions with medium/high contention are best handled by TL2. On the other hand, Tiny STM shows the worst scalability for most scenarios, but with good results for applications with very small abort rates.","PeriodicalId":161685,"journal":{"name":"2015 International Symposium on Computer Architecture and High Performance Computing Workshop (SBAC-PADW)","volume":"689 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-10-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 International Symposium on Computer Architecture and High Performance Computing Workshop (SBAC-PADW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SBAC-PADW.2015.11","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Transactional Memory is a concurrent programming abstraction that overcomes several of the limitations found in traditional synchronization mechanisms. As it is a more recent abstraction, little is known about energy consumption of Software Transactional Memories (STM). In this context, this work presents an analysis and characterization of energy consumption and performance of four Transactional Memory libraries: TL2, Tiny STM, Swiss TM, and Adapt STM, using the STAMP benchmarks. Although most works in the state-of-the-art chose to evaluate Transactional Memories through simulation, in this work the benchmarks are run in actual computers, avoiding the known issues with modeling power consumption in simulators. Our results show that Swiss TM is the most efficient library of the four in terms of energy consumption and performance for the default configurations, followed by Adapt STM, Tiny STM, and TL2, for most of the execution scenarios and 8 threads at most. STM's scalability is directly tied to the strategies for detection and resolution of conflicts. In this perspective, Adapt STM is the best STM for applications with short transactions, Swiss TM presents the best results for medium transactions, and long transactions with medium/high contention are best handled by TL2. On the other hand, Tiny STM shows the worst scalability for most scenarios, but with good results for applications with very small abort rates.
真实计算环境下软件事务性内存的能耗与可扩展性评价
事务性内存是一种并发编程抽象,它克服了传统同步机制中的一些限制。由于它是最近才出现的抽象概念,人们对软件事务性内存(STM)的能耗知之甚少。在此背景下,本工作使用STAMP基准对四个事务性内存库(TL2、Tiny STM、Swiss TM和Adapt STM)的能耗和性能进行了分析和表征。尽管大多数研究都选择通过模拟来评估事务性记忆,但在本研究中,基准测试是在实际计算机中运行的,避免了模拟器中建模功耗的已知问题。我们的结果表明,就默认配置的能耗和性能而言,Swiss TM是四个库中效率最高的,其次是Adapt STM、Tiny STM和TL2,适用于大多数执行场景,最多8个线程。STM的可伸缩性与检测和解决冲突的策略直接相关。从这个角度来看,对于短事务的应用程序,Adapt STM是最好的STM,对于中等事务的应用程序,Swiss TM提供了最好的结果,而具有中/高争用的长事务最好由TL2处理。另一方面,Tiny STM在大多数情况下表现出最差的可伸缩性,但对于中断率非常小的应用程序却有很好的结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信