软件事务性存储器的能耗

T. Rico, M. Pilla, A. R. D. Bois
{"title":"软件事务性存储器的能耗","authors":"T. Rico, M. Pilla, A. R. D. Bois","doi":"10.1109/WSCAD-SSC.2012.26","DOIUrl":null,"url":null,"abstract":"With the spreading of multicore architectures, new challenges have been added to software development. Among those, efficiently avoiding race conditions through synchronization is one of the greatest difficulties in concurrent programming. Transactional memories have been proposed to reduce the issues and limitations found on previous synchronization techniques based in locks, such as mutexes, semaphores, and monitors. The use of transactions allows for a higher abstraction on writing code, leaving for the compiler or library the determination of which variables can be accessed concurrently. The runtime system is responsible for detecting conflicts during execution, and solving them in a way that the desired semantics is preserved. In this context, this paper analyzes energy consumption and performance of three Software Transactional Memory implementations, TL2, TinySTM, and Swiss TM, using the STAMP benchmarks. Different from previous works, the workloads are not simulated but executed in a computer. The results show that TinySTM and Swiss TM have very similar performance, even more when the number of threads is increased. On the other hand, TL2 presents worse performance for all benchmarks but Genome. Energy consumption closely follows the same trend, as no specific power management is employed, hence execution time is the main variable determining power.","PeriodicalId":330222,"journal":{"name":"2012 13th Symposium on Computer Systems","volume":"18 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-10-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Energy Consumption on Software Transactional Memories\",\"authors\":\"T. Rico, M. Pilla, A. R. D. Bois\",\"doi\":\"10.1109/WSCAD-SSC.2012.26\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"With the spreading of multicore architectures, new challenges have been added to software development. Among those, efficiently avoiding race conditions through synchronization is one of the greatest difficulties in concurrent programming. Transactional memories have been proposed to reduce the issues and limitations found on previous synchronization techniques based in locks, such as mutexes, semaphores, and monitors. The use of transactions allows for a higher abstraction on writing code, leaving for the compiler or library the determination of which variables can be accessed concurrently. The runtime system is responsible for detecting conflicts during execution, and solving them in a way that the desired semantics is preserved. In this context, this paper analyzes energy consumption and performance of three Software Transactional Memory implementations, TL2, TinySTM, and Swiss TM, using the STAMP benchmarks. Different from previous works, the workloads are not simulated but executed in a computer. The results show that TinySTM and Swiss TM have very similar performance, even more when the number of threads is increased. On the other hand, TL2 presents worse performance for all benchmarks but Genome. Energy consumption closely follows the same trend, as no specific power management is employed, hence execution time is the main variable determining power.\",\"PeriodicalId\":330222,\"journal\":{\"name\":\"2012 13th Symposium on Computer Systems\",\"volume\":\"18 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-10-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2012 13th Symposium on Computer Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/WSCAD-SSC.2012.26\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 13th Symposium on Computer Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WSCAD-SSC.2012.26","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

随着多核架构的普及,软件开发也面临着新的挑战。其中,通过同步有效地避免竞争条件是并发编程的最大难点之一。事务性内存的提出是为了减少以前基于锁(如互斥锁、信号量和监视器)的同步技术中存在的问题和限制。事务的使用允许在编写代码时进行更高的抽象,而让编译器或库决定哪些变量可以并发访问。运行时系统负责在执行过程中检测冲突,并以保留所需语义的方式解决冲突。在此背景下,本文使用STAMP基准测试分析了三种软件事务性内存实现TL2、TinySTM和Swiss TM的能耗和性能。与以往的工作不同,工作负载不是模拟的,而是在计算机中执行的。结果表明,TinySTM和Swiss TM具有非常相似的性能,当线程数量增加时甚至更相似。另一方面,TL2在除Genome以外的所有基准测试中表现较差。能耗也遵循同样的趋势,因为没有采用特定的电源管理,因此执行时间是决定功率的主要变量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Energy Consumption on Software Transactional Memories
With the spreading of multicore architectures, new challenges have been added to software development. Among those, efficiently avoiding race conditions through synchronization is one of the greatest difficulties in concurrent programming. Transactional memories have been proposed to reduce the issues and limitations found on previous synchronization techniques based in locks, such as mutexes, semaphores, and monitors. The use of transactions allows for a higher abstraction on writing code, leaving for the compiler or library the determination of which variables can be accessed concurrently. The runtime system is responsible for detecting conflicts during execution, and solving them in a way that the desired semantics is preserved. In this context, this paper analyzes energy consumption and performance of three Software Transactional Memory implementations, TL2, TinySTM, and Swiss TM, using the STAMP benchmarks. Different from previous works, the workloads are not simulated but executed in a computer. The results show that TinySTM and Swiss TM have very similar performance, even more when the number of threads is increased. On the other hand, TL2 presents worse performance for all benchmarks but Genome. Energy consumption closely follows the same trend, as no specific power management is employed, hence execution time is the main variable determining power.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信
小红书