• DocumentCode
    1972885
  • Title

    Characterizing the Performance and Energy Efficiency of Lock-Free Data Structures

  • Author

    Hunt, Nicholas ; Sandhu, Paramjit Singh ; Ceze, Luis

  • Author_Institution
    Comput. Sci. & Eng., Univ. of Washington, Seattle, WA, USA
  • fYear
    2011
  • fDate
    12-12 Feb. 2011
  • Firstpage
    63
  • Lastpage
    70
  • Abstract
    Accesses to shared data structures in multithreaded programs must be correctly synchronized to ensure data consistency and integrity. However, this synchronization between threads is a common source of performance problems in multithreaded applications. Lock-free data structures are an alternative to traditional synchronization methods that have potential for not only better performance and scalability, but better energy efficiency as well.This paper presents a study of the relationship between the performance and energy consumption of various lock-free data structures based on the compare-and-swap primitive. We give a head-to-head comparison of lock-free and locking implementations of three data structures executing a set of highly contentious workloads. We compare the execution time, peak power and total energy consumption of each and explain these results with the help of hardware performance counters. Our results show that under these workloads, the lock-free variants often perform better and use less energy then their traditional locking implementations.
  • Keywords
    data integrity; data structures; information retrieval; multi-threading; synchronisation; compare-and-swap primitive; contentious workloads; data consistency; data integrity; energy consumption; energy efficiency; execution time; hardware performance counters; lock-free data structures; multithreaded program; peak power; shared data structures; Benchmark testing; Data structures; Energy consumption; Hardware; Instruction sets; Parallel processing; Synchronization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Interaction between Compilers and Computer Architectures (INTERACT), 2011 15th Workshop on
  • Conference_Location
    San Antonio, TX
  • ISSN
    1550-6207
  • Print_ISBN
    978-1-4577-0834-3
  • Electronic_ISBN
    1550-6207
  • Type

    conf

  • DOI
    10.1109/INTERACT.2011.13
  • Filename
    5936698