skip to main content
10.1145/1840845.1840940acmconferencesArticle/Chapter ViewAbstractPublication PagesislpedConference Proceedingsconference-collections
research-article

STM versus lock-based systems: an energy consumption perspective

Published: 18 August 2010 Publication History

Abstract

The shift towards multicore processors and the well-known drawbacks imposed by lock-based synchronization have forced researchers to devise new alternatives for building concurrent software, of which transactional memory is a promising one. This work presents a comprehensive study on the energy consumption of a state-of-the-art STM (Software Transactional Memory) implementation using STAMP, a representative set of transactional workloads, comparing it to its lock-based counterpart. Our results show that STM can be up to 22x (~3x on average) more energy-inefficient when compared to locks. This work is a novel step towards a better understanding of the energy behavior of STM systems.

References

[1]
L. A. Barroso and U. Holzle. The Case for Energy-Proportional Computing. IEEE Computer, 40(12):33--37, 2007.
[2]
D. Dice, O. Shalev, and N. Shavit. Transactional Locking II. In Proc. of the 20th DISC, 2006.
[3]
C. Ferri, A. Viescas, T. Moreshet, R. I. Bahar, and M. Herlihy. Energy Efficient Synchronization Techniques for Embedded Architectures. In Proc. of the 18th GLSVLSI, pages 435--440, 2008.
[4]
M. Herlihy and J. E. B. Moss. Transactional Memory: Architectural Support for Lock-Free Data Structures. In Proc. of the 20th ISCA, pages 289--300, 1993.
[5]
J. R. Larus and R. Rajwar. Transactional Memory. Morgan & Claypool Publishers, 2007.
[6]
M. Loghi, L. Benini, and M. Poncino. Analyzing Power Consumption of Message Passing Primitives in a Single-Chip Multiprocessor. In Proc. of the ICCD'04, pages 393--396, 2004.
[7]
M. Loghi, M. Poncino, and L. Benini. Cycle-accurate Power Analysis for Multiprocessor Systems-on-a-Chip. In Proc. of the 14th GLSVLSI, pages 410--406, 2004.
[8]
M. Loghi, M. Poncino, and L. Benini. Cache Coherence Tradeoffs in Shared-memory MPSoCs. ACM TECS, 5(2):383--407, 2006.
[9]
A. Macii, L. Benini, and M. Poncino. Memory Design Techniques for Low Energy Embedded Systems. Springer, 2002.
[10]
C. C. Minh, J. W. Chung, C. Kozyrakis, and K. Olukotun. STAMP: Stanford Transactional Applications for Multi-Processing. In Proc. of the IEEE IISWC, pages 35--46, 2008.
[11]
T. Moreshet, R. I. Bahar, and M. Herlihy. Energy Reduction in Multiprocessor Systems Using Transactional Memory. In Proc. of ISLPED, pages 331--334, 2005.
[12]
T. Moreshet, R. I. Bahar, and M. Herlihy. Energy-Aware Microprocessor Synchronization: Transactional Memory vs. Locks. In Proceedings of the Workshop on Memory Performance Issues, 2006.
[13]
H. Sutter and J. R. Larus. Software and the Concurrency Revolution. Queue, 3(7):54--62, 2005.
[14]
S. C. Woo, M. Ohara, E. Torrie, J. P. Singh, and A. Gupta. The SPLASH-2 Programs: Characterization and Methodological Considerations. In Proc. of the ISCA'95, pages 24--36, 1995.

Cited By

View all
  • (2022)Finding Memory Bound of Cloned Objects in Software Transactional Memory ProgramsInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402250013932:06(791-818)Online publication date: 4-Jun-2022
  • (2015)Energy Consumption and Scalability Evaluation for Software Transactional Memory on a Real Computing EnvironmentProceedings of the 2015 International Symposium on Computer Architecture and High Performance Computing Workshop (SBAC-PADW)10.1109/SBAC-PADW.2015.11(7-12)Online publication date: 18-Oct-2015
  • (2012)Energy Consumption on Software Transactional MemoriesProceedings of the 2012 13th Symposium on Computing Systems10.1109/WSCAD-SSC.2012.26(194-201)Online publication date: 17-Oct-2012
  • Show More Cited By

Index Terms

  1. STM versus lock-based systems: an energy consumption perspective

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    ISLPED '10: Proceedings of the 16th ACM/IEEE international symposium on Low power electronics and design
    August 2010
    458 pages
    ISBN:9781450301466
    DOI:10.1145/1840845
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    In-Cooperation

    • IEEE CAS

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 18 August 2010

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. lock-based systems
    2. low power design
    3. multi-core
    4. parallel programming
    5. transactional memory

    Qualifiers

    • Research-article

    Conference

    ISLPED'10
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 398 of 1,159 submissions, 34%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)4
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 22 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2022)Finding Memory Bound of Cloned Objects in Software Transactional Memory ProgramsInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402250013932:06(791-818)Online publication date: 4-Jun-2022
    • (2015)Energy Consumption and Scalability Evaluation for Software Transactional Memory on a Real Computing EnvironmentProceedings of the 2015 International Symposium on Computer Architecture and High Performance Computing Workshop (SBAC-PADW)10.1109/SBAC-PADW.2015.11(7-12)Online publication date: 18-Oct-2015
    • (2012)Energy Consumption on Software Transactional MemoriesProceedings of the 2012 13th Symposium on Computing Systems10.1109/WSCAD-SSC.2012.26(194-201)Online publication date: 17-Oct-2012
    • (2012)Energy-Performance Tradeoffs in Software Transactional MemoryProceedings of the 2012 IEEE 24th International Symposium on Computer Architecture and High Performance Computing10.1109/SBAC-PAD.2012.19(147-154)Online publication date: 24-Oct-2012

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media