Evaluating the Impact of Transactional Characteristics on the Performance of Transactional Memory Applications

Size: px
Start display at page:

Download "Evaluating the Impact of Transactional Characteristics on the Performance of Transactional Memory Applications"

Transcription

1 Evaluating the Impact of Transactional Characteristics on the Performance of Transactional Memory Applications Fernando Rui, Márcio Castro, Dalvan Griebler, Luiz Gustavo Fernandes Pontifícia Universidade Católica do Rio Grande do Sul - PUCRS - GMAP Universidade Federal do Rio Grande do Sul - UFRGS - INF February / 6

2 / 6 Summary Introduction Methodology Performance Evaluation Conclusions References

3 / 6 Introduction Motivation Multi-core Applications are not embarrassingly parallel Traditional synchronization structures (locks, mutexes and semaphores) Low-level mechanisms Cause Blocking Hard to manage Vulnerable to failures and faults

4 / 6 Introduction Transactional Memory (TM) High-level abstraction Allows to write parallel code as transactions In runtime detect conflicts and solve them

5 / 6 Introduction Challenge of TM systems What kind of applications can really take advantage of TM? Why some TM applications present low performance? Contributions of this research Performance evaluation of the state-of-art STM systems and applications Extend the analysis of [], including the RSTM [] system We find out characteristics that affect the performance TM We identify bottlenecks of TM App. that limit their scalability We show possible improvements to achieve better performance.

6 6 / 6 Methodology Comparative Analysis Four state-of-the-art STM systems using the Stanford Transactional Applications for Multi-Processing (STAMP) benchmark []; Evaluation of STM systems using EigenBench []; We evaluate the impact of certain transactional characteristics using EigenBench. Environment of Tests All experiments were performed on a Dell PowerEdge R6 machine with two quad-core Intel Xeon E.7 GHz processors with 8MB of L cache and 6GB of shared memory; All results are arithmetic means of at least runs to guarantee a confidence level of 9%.

7 7 / 6 STM Systems Using STAMP Benchmark STM Systems Transactional Locking (TL) []: second version of the original TL; TinySTM []: uses shared counter as clock to control the conflicts between transactions and locks to protect shared memory locations; SwissTM [6]: its innovations is the hybrid conflict detection scheme; Rochester Software Transactional Memory (RSTM) []: reduces cache misses by employing a single level of indirection to access shared objects.

8 STM Systems Using STAMP Benchmark Performance Evaluation SwissTM RSTM Speedups bayes genome intruder kmeans labyrinth TinySTM ssca vacation yada bayes genome intruder kmeans labyrinth TL ssca vacation yada bayes genome intruder kmeans labyrinth Legend ssca vacation yada Applications cores cores 8 cores bayes genome intruder kmeans labyrinth ssca vacation yada 8 / 6

9 9 / 6 SwissTM vs. RSTM using EigenBench Set-up: STM systems which presented better performance; STAMP applications with poor (ssca), medium (intruder and vacation) and good (labyrinth and genome) scalability; The evaluation is based on speedup and aborts per commit (ApC). EigenBench Input Parameters Table: Applications characteristics from STAMP benchmark Characteristic ssca intruder vacation labyrinth genome Working-set Size MB MB 6 MB 6 MB MB Transactional Lenght Pollution % % % % % Temporal Locality Contention.% %.% %.% Predominance Low Low High Low High Density High High High Low High

10 SwissTM vs. RSTM using EigenBenach (Cont.) Performance Evaluation SwissTM Speedups genome intruder labyrinth ssca Applications vacation Aborts per commit 6% % % % 8% 6% % % % 8 Number of cores RSTM Legend Speedups genome intruder labyrinth ssca Applications cores cores 8 cores vacation 6% % % % % % % Legend Aborts per commit 8 Number of cores genome intruder labyrinth ssca vacation / 6

11 / 6 SwissTM vs. RSTM using EigenBenach (Cont.) Findings TM applications that use large amounts of memory did not present good performance, since STM systems need to keep track of much more data to detect conflicts; The variation in terms of transaction lengths during the execution is not well treated by most of the STM systems; Low degrees of predominance and density help TM applications to perform better; High levels of ApC generally limit the performance of TM applications.

12 / 6 Evaluating the Impact of Transactional Characteristics Genome - Transactional Length Intruder - Temporal Locality Speedups Original V V V V Ssca - Working-set Size Original V V V V Vacation - Working-set Size Original V V V V Versions Original V V V V Legend cores cores 8 cores

13 / 6 Conclusions About this paper Some Characteristics drive the performance of TM applications; Applications must be analysed carefully to identify relevant characteristics; Future Opportunities We intend to extend this work using some tracing mechanisms as proposed in [7]; We intend to study the impact of the TM characteristics on the performance of TM applications when executed on a real HTM processor such as the Intel Haswell.

14 References I Sungpack Hong et al. Eigenbench: A Simple Exploration Tool for Orthogonal TM Characteristics. In IEEE International Symposium on Workload Characterization (IISWC), pages, Washington, USA,. IEEE Computer Society. Virendra J. Marathe, Michael F. Spear, Christopher Heriot, Athul Acharya, David Eisenstat, William N. Scherer III, and Michael L. Scott. Lowering the Overhead of Nonbacterial Software Transactional Memory. In ACM SIGPLAN Workshop on Transactional Computing. Jun 6. Cao Minh et al. STAMP: Stanford Transactional Applications for Multi-Processing. In IEEE International Symposium on Workload Characterization (IISWC), pages 6, Seattle, USA, 8. IEEE Computer Society. Dave Dice et al. Transactional Locking II. In International Symposium on Distributed Computing (DISC), pages 9 8, 6. Pascal Felber, Christof Fetzer, and Torvald Riegel. Dynamic Performance Tuning of Word-based Software Transactional Memory. In Symposium on Principles and Practice of Parallel Programming (PPoPP), pages 7 6, Salt Lake City, USA, 8. ACM. Aleksandar Dragojević, Rachid Guerraoui, and Michal Kapalka. Stretching Transactional Memory. In Programming Language Design and Implementation (PLDI), pages 6, 9. / 6

15 References II Márcio Castro et al. Analysis and Tracing of Applications Based on Software Transactional Memory on Multicore Architectures. In Euromicro International Conference on Parallel, Distributed and Network-Based Computing (PDP), pages IEEE Computer Society,. / 6

16 Evaluating the Impact of Transactional Characteristics on the Performance of Transactional Memory Applications Fernando Rui, Márcio Castro, Dalvan Griebler, Luiz Gustavo Fernandes Pontifícia Universidade Católica do Rio Grande do Sul - PUCRS - GMAP Universidade Federal do Rio Grande do Sul - UFRGS - INF February 6 / 6

Performance Evaluation of Adaptivity in STM. Mathias Payer and Thomas R. Gross Department of Computer Science, ETH Zürich

Performance Evaluation of Adaptivity in STM. Mathias Payer and Thomas R. Gross Department of Computer Science, ETH Zürich Performance Evaluation of Adaptivity in STM Mathias Payer and Thomas R. Gross Department of Computer Science, ETH Zürich Motivation STM systems rely on many assumptions Often contradicting for different

More information

Analysis and Tracing of Applications Based on Software Transactional Memory on Multicore Architectures

Analysis and Tracing of Applications Based on Software Transactional Memory on Multicore Architectures 2011 19th International Euromicro Conference on Parallel, Distributed and Network-Based Processing Analysis and Tracing of Applications Based on Software Transactional Memory on Multicore Architectures

More information

EigenBench: A Simple Exploration Tool for Orthogonal TM Characteristics

EigenBench: A Simple Exploration Tool for Orthogonal TM Characteristics EigenBench: A Simple Exploration Tool for Orthogonal TM Characteristics Pervasive Parallelism Laboratory, Stanford University Sungpack Hong Tayo Oguntebi Jared Casper Nathan Bronson Christos Kozyrakis

More information

Preventing versus Curing: Avoiding Conflicts in Transactional Memories

Preventing versus Curing: Avoiding Conflicts in Transactional Memories Preventing versus Curing: Avoiding Conflicts in Transactional Memories Aleksandar Dragojević Anmol V. Singh Rachid Guerraoui Vasu Singh EPFL Abstract Transactional memories are typically speculative and

More information

Chí Cao Minh 28 May 2008

Chí Cao Minh 28 May 2008 Chí Cao Minh 28 May 2008 Uniprocessor systems hitting limits Design complexity overwhelming Power consumption increasing dramatically Instruction-level parallelism exhausted Solution is multiprocessor

More information

Evaluating Contention Management Using Discrete Event Simulation

Evaluating Contention Management Using Discrete Event Simulation Evaluating Contention Management Using Discrete Event Simulation Brian Demsky Alokika Dash Department of Electrical Engineering and Computer Science University of California, Irvine Irvine, CA 92697 {bdemsky,adash}@uci.edu

More information

Remote Invalidation: Optimizing the Critical Path of Memory Transactions

Remote Invalidation: Optimizing the Critical Path of Memory Transactions Remote idation: Optimizing the Critical Path of Memory Transactions Ahmed Hassan, Roberto Palmieri, Binoy Ravindran Electrical and Computer Engineering Department Virginia Tech Blacksburg, Virginia, USA

More information

Work Report: Lessons learned on RTM

Work Report: Lessons learned on RTM Work Report: Lessons learned on RTM Sylvain Genevès IPADS September 5, 2013 Sylvain Genevès Transactionnal Memory in commodity hardware 1 / 25 Topic Context Intel launches Restricted Transactional Memory

More information

Lowering the Overhead of Nonblocking Software Transactional Memory

Lowering the Overhead of Nonblocking Software Transactional Memory Lowering the Overhead of Nonblocking Software Transactional Memory Virendra J. Marathe Michael F. Spear Christopher Heriot Athul Acharya David Eisenstat William N. Scherer III Michael L. Scott Background

More information

SELF-TUNING HTM. Paolo Romano

SELF-TUNING HTM. Paolo Romano SELF-TUNING HTM Paolo Romano 2 Based on ICAC 14 paper N. Diegues and Paolo Romano Self-Tuning Intel Transactional Synchronization Extensions 11 th USENIX International Conference on Autonomic Computing

More information

A Machine Learning-Based Approach for Thread Mapping on Transactional Memory Applications

A Machine Learning-Based Approach for Thread Mapping on Transactional Memory Applications A Machine Learning-Based Approach for Thread Mapping on Transactional Memory Applications Márcio Castro, Luís Fabrício Wanderley Góes, Christiane Pousa Ribeiro, Murray Cole, Marcelo Cintra and Jean-François

More information

False Conflict Reduction in the Swiss Transactional Memory (SwissTM) System

False Conflict Reduction in the Swiss Transactional Memory (SwissTM) System False Conflict Reduction in the Swiss Transactional Memory (SwissTM) System Aravind Natarajan Department of Computer Engineering The University of Texas at Dallas Richardson, TX - 75080, USA Email: aravindn@utdallas.edu

More information

Lock-Free Readers/Writers

Lock-Free Readers/Writers www.ijcsi.org 180 Lock-Free Readers/Writers Anupriya Chakraborty 1, Sourav Saha 2, Ryan Saptarshi Ray 3 and Utpal Kumar Ray 4 1 Department of Information Technology, Jadavpur University Salt Lake Campus

More information

TrC-MC: Decentralized Software Transactional Memory for Multi-Multicore Computers

TrC-MC: Decentralized Software Transactional Memory for Multi-Multicore Computers TrC-MC: Decentralized Software Transactional Memory for Multi-Multicore Computers Kinson Chan, Cho-Li Wang The University of Hong Kong {kchan, clwang}@cs.hku.hk Abstract To achieve single-lock atomicity

More information

Enhancing efficiency of Hybrid Transactional Memory via Dynamic Data Partitioning Schemes

Enhancing efficiency of Hybrid Transactional Memory via Dynamic Data Partitioning Schemes Enhancing efficiency of Hybrid Transactional Memory via Dynamic Data Partitioning Schemes Pedro Raminhas Instituto Superior Técnico, Universidade de Lisboa Lisbon, Portugal Email: pedro.raminhas@tecnico.ulisboa.pt

More information

LOCK-FREE DINING PHILOSOPHER

LOCK-FREE DINING PHILOSOPHER LOCK-FREE DINING PHILOSOPHER VENKATAKASH RAJ RAOJILLELAMUDI 1, SOURAV MUKHERJEE 2, RYAN SAPTARSHI RAY 3, UTPAL KUMAR RAY 4 Department of Information Technology, Jadavpur University, Kolkata, India 1,2,

More information

ESTIMA: Extrapolating ScalabiliTy of In-Memory Applications

ESTIMA: Extrapolating ScalabiliTy of In-Memory Applications : Extrapolating ScalabiliTy of In-Memory Applications Georgios Chatzopoulos EPFL georgios.chatzopoulos@epfl.ch Aleksandar Dragojević Microsoft Research alekd@microsoft.com Rachid Guerraoui EPFL rachid.guerraoui@epfl.ch

More information

Cache Affinity Optimization Techniques for Scaling Software Transactional Memory Systems on Multi-CMP Architectures

Cache Affinity Optimization Techniques for Scaling Software Transactional Memory Systems on Multi-CMP Architectures Cache Affinity Optimization Techniques for Scaling Software Transactional Memory Systems on Multi-CMP Architectures Kinson Chan The University of Hong Kong Hong Kong, China Email: kchan@cs.hku.hk King

More information

Profiling Transactional Memory Applications

Profiling Transactional Memory Applications Profiling Transactional Memory Applications Mohammad Ansari, Kim Jarvis, Christos Kotselidis, Mikel Luján, Chris Kirkham and Ian Watson School of Computer Science, University of Manchester Email:{ansari,

More information

The Implications of Shared Data Synchronization Techniques on Multi-Core Energy Efficiency

The Implications of Shared Data Synchronization Techniques on Multi-Core Energy Efficiency The Implications of Shared Data Synchronization Techniques on Multi-Core Energy Efficiency Ashok Gautham 1, Kunal Korgaonkar 1,2, Patanjali SLPSK 1, Shankar Balachandran 1, and Kamakoti Veezhinathan 1

More information

Boosting Timestamp-based Transactional Memory by Exploiting Hardware Cycle Counters

Boosting Timestamp-based Transactional Memory by Exploiting Hardware Cycle Counters Boosting Timestamp-based Transactional Memory by Exploiting Hardware Cycle Counters Wenjia Ruan, Yujie Liu, and Michael Spear Lehigh University {wer1, yul1, spear}@cse.lehigh.edu Abstract Time-based transactional

More information

Cigarette-Smokers Problem with STM

Cigarette-Smokers Problem with STM Rup Kamal, Ryan Saptarshi Ray, Utpal Kumar Ray & Parama Bhaumik Department of Information Technology, Jadavpur University Kolkata, India Abstract - The past few years have marked the start of a historic

More information

Autonomic Parallelism and Thread Mapping Control on Software Transactional Memory

Autonomic Parallelism and Thread Mapping Control on Software Transactional Memory Autonomic Parallelism and Thread Mapping Control on Software Transactional Memory Naweiluo Zhou, Gwenaël Delaval, Bogdan Robu, Eric Rutten, Jean-François Méhaut To cite this version: Naweiluo Zhou, Gwenaël

More information

What Is STM and How Well It Performs? Aleksandar Dragojević

What Is STM and How Well It Performs? Aleksandar Dragojević What Is STM and How Well It Performs? Aleksandar Dragojević 1 Hardware Trends 2 Hardware Trends CPU 2 Hardware Trends CPU 2 Hardware Trends CPU 2 Hardware Trends CPU 2 Hardware Trends CPU CPU 2 Hardware

More information

Reduced Hardware Transactions: A New Approach to Hybrid Transactional Memory

Reduced Hardware Transactions: A New Approach to Hybrid Transactional Memory Reduced Hardware Transactions: A New Approach to Hybrid Transactional Memory Alexander Matveev Tel-Aviv University matveeva@post.tau.ac.il Nir Shavit MIT and Tel-Aviv University shanir@csail.mit.edu ABSTRACT

More information

Lock vs. Lock-free Memory Project proposal

Lock vs. Lock-free Memory Project proposal Lock vs. Lock-free Memory Project proposal Fahad Alduraibi Aws Ahmad Eman Elrifaei Electrical and Computer Engineering Southern Illinois University 1. Introduction The CPU performance development history

More information

EigenBench: A Simple Exploration Tool for Orthogonal TM Characteristics

EigenBench: A Simple Exploration Tool for Orthogonal TM Characteristics EigenBench: A Simple Exploration Tool for Orthogonal TM Characteristics Sungpack Hong, Tayo Oguntebi, Jared Casper, Nathan Bronson, Christos Kozyrakis, and Kunle Olukotun Pervasive Parallelism Laboratory,

More information

Time-based Transactional Memory with Scalable Time Bases

Time-based Transactional Memory with Scalable Time Bases Time-based Transactional Memory with Scalable Time Bases Torvald Riegel Dresden University of Technology, Germany torvald.riegel@inf.tudresden.de Christof Fetzer Dresden University of Technology, Germany

More information

Performance Evaluation of Intel Transactional Synchronization Extensions for High-Performance Computing

Performance Evaluation of Intel Transactional Synchronization Extensions for High-Performance Computing Performance Evaluation of Intel Transactional Synchronization Extensions for High-Performance Computing Richard Yoo, Christopher Hughes: Intel Labs Konrad Lai, Ravi Rajwar: Intel Architecture Group Agenda

More information

On Exploring Markov Chains for Transaction Scheduling Optimization in Transactional Memory

On Exploring Markov Chains for Transaction Scheduling Optimization in Transactional Memory WTTM 2015 7 th Workshop on the Theory of Transactional Memory On Exploring Markov Chains for Transaction Scheduling Optimization in Transactional Memory Pierangelo Di Sanzo, Marco Sannicandro, Bruno Ciciani,

More information

Reduced Hardware NOrec: A Safe and Scalable Hybrid Transactional Memory

Reduced Hardware NOrec: A Safe and Scalable Hybrid Transactional Memory Reduced Hardware NOrec: A Safe and Scalable Hybrid Transactional Memory Alexander Matveev MIT amatveev@csail.mit.edu Nir Shavit MIT shanir@csail.mit.edu Abstract Because of hardware TM limitations, software

More information

Transaction Reordering to Reduce Aborts in Software Transactional Memory

Transaction Reordering to Reduce Aborts in Software Transactional Memory Transaction Reordering to Reduce Aborts in Software Transactional Memory Mohammad Ansari, Mikel Luján, Christos Kotselidis, Kim Jarvis, Chris Kirkham, and Ian Watson The University of Manchester {ansari,mikel,kotselidis,jarvis,chris,watson}@cs.manchester.ac.uk

More information

Scheduling Transactions in Replicated Distributed Transactional Memory

Scheduling Transactions in Replicated Distributed Transactional Memory Scheduling Transactions in Replicated Distributed Transactional Memory Junwhan Kim and Binoy Ravindran Virginia Tech USA {junwhan,binoy}@vt.edu CCGrid 2013 Concurrency control on chip multiprocessors significantly

More information

On Extending TM Primitives using Low Level Semantics

On Extending TM Primitives using Low Level Semantics On Extending TM Primitives using Low Level Semantics Mohamed M. Saad, Roberto Palmieri, Ahmed Hassan, and Binoy Ravindran {msaad, robertop, hassan84, binoy}@vt.edu ECE Dept., Virginia Tech, Blacksburg,

More information

Analyzing Software Transactional Memory Applications by Tracing Transactions

Analyzing Software Transactional Memory Applications by Tracing Transactions INSTITUT NATIONAL DE RECHERCHE EN INFORMATIQUE ET EN AUTOMATIQUE Analyzing Software Transactional Memory Applications by Tracing Transactions Márcio Castro Kiril Georgiev Vania Marangonzova-Martin Jean-François

More information

Analyzing Software Transactional Memory Applications by Tracing Transactions

Analyzing Software Transactional Memory Applications by Tracing Transactions Analyzing Software Transactional Memory Applications by Tracing Transactions Márcio Castro, Kiril Georgiev, Vania Marangonzova-Martin, Jean-François Méhaut, Luiz Gustavo Fernandes, Miguel Santana To cite

More information

Reducing contention in STM

Reducing contention in STM Reducing contention in STM Panagiota Fatourou Department of Computer Science University of Crete & FORTH ICS faturu@csd.uoc.gr Mykhailo Iaremko 1 Institute of Computer Science (ICS) Foundation for Research

More information

Early Foundations of a Transactional Boosting Library for Scala and Java

Early Foundations of a Transactional Boosting Library for Scala and Java Early Foundations of a Transactional Boosting Library for Scala and Java A Masters Project Report Authored by Marquita Ellis Supervised by Maurice Herlihy Conducted at Brown University Department of Computer

More information

Conflict Detection and Validation Strategies for Software Transactional Memory

Conflict Detection and Validation Strategies for Software Transactional Memory Conflict Detection and Validation Strategies for Software Transactional Memory Michael F. Spear, Virendra J. Marathe, William N. Scherer III, and Michael L. Scott University of Rochester www.cs.rochester.edu/research/synchronization/

More information

Cost of Concurrency in Hybrid Transactional Memory. Trevor Brown (University of Toronto) Srivatsan Ravi (Purdue University)

Cost of Concurrency in Hybrid Transactional Memory. Trevor Brown (University of Toronto) Srivatsan Ravi (Purdue University) Cost of Concurrency in Hybrid Transactional Memory Trevor Brown (University of Toronto) Srivatsan Ravi (Purdue University) 1 Transactional Memory: a history Hardware TM Software TM Hybrid TM 1993 1995-today

More information

Commit Phase in Timestamp-based STM

Commit Phase in Timestamp-based STM Commit Phase in Timestamp-based STM Rui Zhang Dept. of Computer Science Rice University Houston, TX 77005, USA ruizhang@rice.edu Zoran Budimlić Dept. of Computer Science Rice University Houston, TX 77005,

More information

Autonomic Thread Parallelism and Mapping Control for Software Transactional Memory

Autonomic Thread Parallelism and Mapping Control for Software Transactional Memory Autonomic Thread Parallelism and Mapping Control for Software Transactional Memory Presented by Naweiluo Zhou PhD Supervisors: Dr. Gwenae l Delaval Dr. E ric Rutten Prof. Jean-Franc ois Me haut PhD Defence

More information

Towards a Domain-Specific Language for Patterns-Oriented Parallel Programming

Towards a Domain-Specific Language for Patterns-Oriented Parallel Programming Towards a Domain-Specific Language for Patterns-Oriented Parallel Programming Dalvan Griebler, Luiz Gustavo Fernandes Pontifícia Universidade Católica do Rio Grande do Sul - PUCRS Programa de Pós-Graduação

More information

A Machine Learning Approach to Adaptive Software Transaction Memory

A Machine Learning Approach to Adaptive Software Transaction Memory Lehigh University Lehigh Preserve Theses and Dissertations 2011 A Machine Learning Approach to Adaptive Software Transaction Memory Qingping Wang Lehigh University Follow this and additional works at:

More information

Sandboxing Transactional Memory

Sandboxing Transactional Memory Sandboxing Transactional Memory Luke Dalessandro Michael L. Scott University of Rochester {luked, scott}@cs.rochester.edu Abstract In a transactional memory (TM) system, conflict detection ensures that

More information

arxiv: v1 [cs.dc] 13 Aug 2013

arxiv: v1 [cs.dc] 13 Aug 2013 Opacity of Memory Management in Software Transactional Memory Holger Machens and Volker Turau Institute of Telematics Hamburg University of Technology {machens,turau}@tuhh.de http://www.ti5.tuhh.de arxiv:1308.2881v1

More information

Efficient Hybrid Transactional Memory Scheme using Near-optimal Retry Computation and Sophisticated Memory Management in Multi-core Environment

Efficient Hybrid Transactional Memory Scheme using Near-optimal Retry Computation and Sophisticated Memory Management in Multi-core Environment J Inf Process Syst, Vol.14, No.2, pp.499~509, April 2018 https://doi.org/10.3745/jips.01.0026 ISSN 1976-913X (Print) ISSN 2092-805X (Electronic) Efficient Hybrid Transactional Memory Scheme using Near-optimal

More information

An Update on Haskell H/STM 1

An Update on Haskell H/STM 1 An Update on Haskell H/STM 1 Ryan Yates and Michael L. Scott University of Rochester TRANSACT 10, 6-15-2015 1 This work was funded in part by the National Science Foundation under grants CCR-0963759, CCF-1116055,

More information

A Relativistic Enhancement to Software Transactional Memory

A Relativistic Enhancement to Software Transactional Memory A Relativistic Enhancement to Software Transactional Memory Philip W. Howard Portland State University Jonathan Walpole Portland State University Abstract Relativistic Programming is a technique that allows

More information

Lightweight, Robust Adaptivity for Software Transactional Memory

Lightweight, Robust Adaptivity for Software Transactional Memory Lightweight, Robust Adaptivity for Software Transactional Memory Michael F. Spear Department of Computer Science and Engineering Lehigh University spear@cse.lehigh.edu ABSTRACT When a program uses Software

More information

Kicking the Tires of Software Transactional Memory: Why the Going Gets Tough

Kicking the Tires of Software Transactional Memory: Why the Going Gets Tough Kicking the Tires of Software Transactional Memory: Why the Going Gets Tough Richard M. Yoo yoo@ece.gatech.edu Bratin Saha bratin.saha@intel.com Yang Ni yang.ni@intel.com Ali-Reza Adl-Tabatabai ali-reza.adltabatabai@intel.com

More information

Agenda. Designing Transactional Memory Systems. Why not obstruction-free? Why lock-based?

Agenda. Designing Transactional Memory Systems. Why not obstruction-free? Why lock-based? Agenda Designing Transactional Memory Systems Part III: Lock-based STMs Pascal Felber University of Neuchatel Pascal.Felber@unine.ch Part I: Introduction Part II: Obstruction-free STMs Part III: Lock-based

More information

Reduced Hardware Lock Elision

Reduced Hardware Lock Elision Reduced Hardware Lock Elision Yehuda Afek Tel-Aviv University afek@post.tau.ac.il Alexander Matveev MIT matveeva@post.tau.ac.il Nir Shavit MIT shanir@csail.mit.edu Abstract Hardware lock elision (HLE)

More information

Performance Tradeoffs in Software Transactional Memory

Performance Tradeoffs in Software Transactional Memory Master Thesis Computer Science Thesis no: MCS-2010-28 May 2010 Performance Tradeoffs in Software Transactional Memory Gulfam Abbas Naveed Asif School School of Computing of Computing Blekinge Blekinge

More information

10 Supporting Time-Based QoS Requirements in Software Transactional Memory

10 Supporting Time-Based QoS Requirements in Software Transactional Memory 1 Supporting Time-Based QoS Requirements in Software Transactional Memory WALTHER MALDONADO, University of Neuchâtel, Switzerland PATRICK MARLIER, University of Neuchâtel, Switzerland PASCAL FELBER, University

More information

Runtime Checking of Serializability in Software Transactional Memory

Runtime Checking of Serializability in Software Transactional Memory Runtime Checking of Serializability in Software Transactional Memory Arnab Sinha, Sharad Malik Dept. of Electrical Engineering, Princeton University {sinha,sharad}@princeton.edu Abstract Ensuring the correctness

More information

EazyHTM: Eager-Lazy Hardware Transactional Memory

EazyHTM: Eager-Lazy Hardware Transactional Memory EazyHTM: Eager-Lazy Hardware Transactional Memory Saša Tomić, Cristian Perfumo, Chinmay Kulkarni, Adrià Armejach, Adrián Cristal, Osman Unsal, Tim Harris, Mateo Valero Barcelona Supercomputing Center,

More information

arxiv: v2 [cs.dc] 2 Mar 2017

arxiv: v2 [cs.dc] 2 Mar 2017 1 DyAdHyTM: A Low Overhead Dynamically Adaptive Hybrid Transactional Memory on Big Data Graphs Mohammad Qayum and Abdel-Hameed Badawy, New Mexico State University Jeanine Cook, Sandia National Laboratories

More information

Stretching Transactional Memory

Stretching Transactional Memory Stretching Transactional Memory Aleksandar Dragojević Rachid Guerraoui Michał Kapałka Ecole Polytechnique Fédérale de Lausanne, School of Computer and Communication Sciences, I&C, Switzerland {aleksandar.dragojevic,

More information

Transactifying Apache

Transactifying Apache IRWIN AND JOAN JACOBS CENTER FOR COMMUNICATION AND INFORMATION TECHNOLOGIES Transactifying Apache Haggai Eran, Ohad Lutzky, Zvika Guz and Idit Keidar CCIT Report #718 February 29 Electronics Computers

More information

Edinburgh Research Explorer

Edinburgh Research Explorer Edinburgh Research Explorer Autotuning Skeleton-Driven Optimizations for Transactional Worklist Applications Citation for published version: Goes, LFW, Ioannou, N, Xekalakis, P, Cole, M & Cintra, M 2012,

More information

Remote Transaction Commit: Centralizing Software Transactional Memory Commits

Remote Transaction Commit: Centralizing Software Transactional Memory Commits IEEE TRANSACTIONS ON COMPUTERS 1 Remote Transaction Commit: Centralizing Software Transactional Memory Commits Ahmed Hassan, Roberto Palmieri, and Binoy Ravindran Abstract Software Transactional Memory

More information

Supporting Time-Based QoS Requirements in Software Transactional Memory

Supporting Time-Based QoS Requirements in Software Transactional Memory Supporting Time-Based QoS Requirements in Software Transactional Memory WALTHER MALDONADO, PATRICK MARLIER, and PASCAL FELBER, University of Neuchâtel, Switzerland JULIA LAWALL and GILLES MULLER, Inria/LIP6/UPMC/Sorbonne

More information

Permissiveness in Transactional Memories

Permissiveness in Transactional Memories Permissiveness in Transactional Memories Rachid Guerraoui, Thomas A. Henzinger, and Vasu Singh EPFL, Switzerland Abstract. We introduce the notion of permissiveness in transactional memories (TM). Intuitively,

More information

Maintaining Consistent Transactional States without a Global Clock

Maintaining Consistent Transactional States without a Global Clock Maintaining Consistent Transactional States without a Global Clock Hillel Avni 1,3 and Nir Shavit 1,2 1 Tel-Aviv University, Tel-Aviv 69978, Israel 2 Sun Microsystems Laboratories, 1 Network Drive, Burlington

More information

Transactifying Apache s Cache Module

Transactifying Apache s Cache Module H. Eran O. Lutzky Z. Guz I. Keidar Department of Electrical Engineering Technion Israel Institute of Technology SYSTOR 2009 The Israeli Experimental Systems Conference Outline 1 Why legacy applications

More information

Markov Chain-based Adaptive Scheduling in Software Transactional Memory

Markov Chain-based Adaptive Scheduling in Software Transactional Memory Markov Chain-based Adaptive Scheduling in Software Transactional Memory Pierangelo Di Sanzo, Marco Sannicandro, Bruno Ciciani, Francesco Quaglia DIAG Sapienza Università di Roma Abstract Software Transactional

More information

Implicit Acceleration of Critical Sections via Unsuccessful Speculation

Implicit Acceleration of Critical Sections via Unsuccessful Speculation Implicit Acceleration of Critical Sections via Unsuccessful Speculation Joseph Izraelevitz University of Rochester jhi1@cs.rochester.edu Alex Kogan Oracle Labs alex.kogan@oracle.com Yossi Lev Oracle Labs

More information

Relaxing Concurrency Control in Transactional Memory. Utku Aydonat

Relaxing Concurrency Control in Transactional Memory. Utku Aydonat Relaxing Concurrency Control in Transactional Memory by Utku Aydonat A thesis submitted in conformity with the requirements for the degree of Doctor of Philosophy Graduate Department of The Edward S. Rogers

More information

Coping With Context Switches in Lock-Based Software Transacional Memory Algorithms

Coping With Context Switches in Lock-Based Software Transacional Memory Algorithms TEL-AVIV UNIVERSITY RAYMOND AND BEVERLY SACKLER FACULTY OF EXACT SCIENCES SCHOOL OF COMPUTER SCIENCE Coping With Context Switches in Lock-Based Software Transacional Memory Algorithms Dissertation submitted

More information

2. Futile Stall HTM HTM HTM. Transactional Memory: TM [1] TM. HTM exponential backoff. magic waiting HTM. futile stall. Hardware Transactional Memory:

2. Futile Stall HTM HTM HTM. Transactional Memory: TM [1] TM. HTM exponential backoff. magic waiting HTM. futile stall. Hardware Transactional Memory: 1 1 1 1 1,a) 1 HTM 2 2 LogTM 72.2% 28.4% 1. Transactional Memory: TM [1] TM Hardware Transactional Memory: 1 Nagoya Institute of Technology, Nagoya, Aichi, 466-8555, Japan a) tsumura@nitech.ac.jp HTM HTM

More information

STMBench7: A Benchmark for Software Transactional Memory

STMBench7: A Benchmark for Software Transactional Memory STMBench7: A Benchmark for Software Transactional Memory Rachid Guerraoui School of Computer and Communication Sciences, EPFL Michał Kapałka School of Computer and Communication Sciences, EPFL Jan Vitek

More information

Software transactional memory

Software transactional memory Transactional locking II (Dice et. al, DISC'06) Time-based STM (Felber et. al, TPDS'08) Mentor: Johannes Schneider March 16 th, 2011 Motivation Multiprocessor systems Speed up time-sharing applications

More information

DESIGNING AN EFFECTIVE HYBRID TRANSACTIONAL MEMORY SYSTEM

DESIGNING AN EFFECTIVE HYBRID TRANSACTIONAL MEMORY SYSTEM DESIGNING AN EFFECTIVE HYBRID TRANSACTIONAL MEMORY SYSTEM A DISSERTATION SUBMITTED TO THE DEPARTMENT OF ELECTRICAL ENGINEERING AND THE COMMITTEE ON GRADUATE STUDIES OF STANFORD UNIVERSITY IN PARTIAL FULFILLMENT

More information

EXPLOITING SEMANTIC COMMUTATIVITY IN HARDWARE SPECULATION

EXPLOITING SEMANTIC COMMUTATIVITY IN HARDWARE SPECULATION EXPLOITING SEMANTIC COMMUTATIVITY IN HARDWARE SPECULATION GUOWEI ZHANG, VIRGINIA CHIU, DANIEL SANCHEZ MICRO 2016 Executive summary 2 Exploiting commutativity benefits update-heavy apps Software techniques

More information

How Live Can a Transactional Memory Be?

How Live Can a Transactional Memory Be? How Live Can a Transactional Memory Be? Rachid Guerraoui Michał Kapałka February 18, 2009 Abstract This paper asks how much liveness a transactional memory (TM) implementation can guarantee. We first devise

More information

Performance Comparison of Various STM Concurrency Control Protocols Using Synchrobench

Performance Comparison of Various STM Concurrency Control Protocols Using Synchrobench Performance Comparison of Various STM Concurrency Control Protocols Using Synchrobench Ajay Singh, Sathya Peri, G Monika and Anila kumari Dept. of Computer Science And Engineering IIT Hyderabad Hyderabad,

More information

Performance Comparison of Various STM Concurrency Control Protocols Using Synchrobench

Performance Comparison of Various STM Concurrency Control Protocols Using Synchrobench Performance Comparison of Various STM Concurrency Control Protocols Using Synchrobench Ajay Singh Dr. Sathya Peri Anila Kumari Monika G. February 24, 2017 STM vs Synchrobench IIT Hyderabad February 24,

More information

TBD A Transactional Memory with Automatic Performance Tuning

TBD A Transactional Memory with Automatic Performance Tuning TBD A Transactional Memory with Automatic Performance Tuning QINGPING WANG, Lehigh University SAMEER KULKARNI, University of Delaware JOHN CAVAZOS, University of Delaware MICHAEL SPEAR, Lehigh University

More information

On the Impact of Serializing Contention Management on STM Performance

On the Impact of Serializing Contention Management on STM Performance On the Impact of Serializing Contention Management on STM Performance Tomer Heber, Danny Hler and Adi Suissa Department of Computer Science Ben-Gurion University of the Negev Be er Sheva, Israel Abstract.

More information

Dynamic Transaction Coalescing

Dynamic Transaction Coalescing Dynamic Transaction Coalescing Sr dan Stipić, Vasileios Karakostas, Vesna Smiljković, Vladimir Gajinov, Osman Unsal, Adrián Cristal, Mateo Valero Barcelona Supercomputing Center, Spain {srdjan.stipic,

More information

Performance and Usability Evaluation of a Pattern-Oriented Parallel Programming Interface for Multi-Core Architectures

Performance and Usability Evaluation of a Pattern-Oriented Parallel Programming Interface for Multi-Core Architectures Performance and Usability Evaluation of a Pattern-Oriented Parallel Programming Interface for Multi-Core Architectures Dalvan Griebler, Daniel Adornes, Luiz Gustavo Fernandes Pontifícia Universidade Católica

More information

Dynamic Performance Tuning for Speculative Threads

Dynamic Performance Tuning for Speculative Threads Dynamic Performance Tuning for Speculative Threads Yangchun Luo, Venkatesan Packirisamy, Nikhil Mungre, Ankit Tarkas, Wei-Chung Hsu, and Antonia Zhai Dept. of Computer Science and Engineering Dept. of

More information

Scalable Software Transactional Memory for Chapel High-Productivity Language

Scalable Software Transactional Memory for Chapel High-Productivity Language Scalable Software Transactional Memory for Chapel High-Productivity Language Srinivas Sridharan and Peter Kogge, U. Notre Dame Brad Chamberlain, Cray Inc Jeffrey Vetter, Future Technologies Group, ORNL

More information

GreenBST: Energy-Efficient Concurrent Search Tree

GreenBST: Energy-Efficient Concurrent Search Tree GreenBST: Energy-Efficient Concurrent Search Tree Ibrahim Umar, Otto J. Anshus, Phuong H. Ha Arctic Green Computing Lab Department of Computer Science UiT The Arctic University of Norway Outline of the

More information

Insights into the Fallback Path of Best-Effort Hardware Transactional Memory Systems

Insights into the Fallback Path of Best-Effort Hardware Transactional Memory Systems Insights into the Fallback Path of Best-Effort Hardware Transactional Memory Systems Ricardo Quislant, Eladio Gutierrez, Emilio L. Zapata, and Oscar Plata Department of Computer Architecture, University

More information

A Competitive Analysis for Balanced Transactional Memory Workloads

A Competitive Analysis for Balanced Transactional Memory Workloads A Competitive Analysis for Balanced Transactional Memory Workloads Gokarna Sharma and Costas Busch Department of Computer Science, Louisiana State University Baton Rouge, LA 70803, USA {gokarna,busch}@csc.lsu.edu

More information

Accelerating Irregular Computations with Hardware Transactional Memory and Active Messages

Accelerating Irregular Computations with Hardware Transactional Memory and Active Messages MACIEJ BESTA, TORSTEN HOEFLER spcl.inf.ethz.ch Accelerating Irregular Computations with Hardware Transactional Memory and Active Messages LARGE-SCALE IRREGULAR GRAPH PROCESSING Becoming more important

More information

SRM-Buffer: An OS Buffer Management Technique to Prevent Last Level Cache from Thrashing in Multicores

SRM-Buffer: An OS Buffer Management Technique to Prevent Last Level Cache from Thrashing in Multicores SRM-Buffer: An OS Buffer Management Technique to Prevent Last Level Cache from Thrashing in Multicores Xiaoning Ding et al. EuroSys 09 Presented by Kaige Yan 1 Introduction Background SRM buffer design

More information

Proactive Transaction Scheduling for Contention Management

Proactive Transaction Scheduling for Contention Management Proactive Transaction for Contention Management Geoffrey Blake University of Michigan Ann Arbor, MI blakeg@umich.edu Ronald G. Dreslinski University of Michigan Ann Arbor, MI rdreslin@umich.edu Trevor

More information

A Hardware/Software Approach for Alleviating Scalability Bottlenecks in Transactional Memory Applications

A Hardware/Software Approach for Alleviating Scalability Bottlenecks in Transactional Memory Applications A Hardware/Software Approach for Alleviating Scalability Bottlenecks in Transactional Memory Applications by Geoffrey Wyman Blake A dissertation submitted in partial fulfillment of the requirements for

More information

Refined Transactional Lock Elision

Refined Transactional Lock Elision Refined Transactional Elision Dave Dice Alex Kogan Yossi Lev Oracle Labs {dave.dice,alex.kogan,yossi.lev}@oracle.com Abstract Transactional lock elision () is a well-known technique that exploits hardware

More information

WormBench - A Configurable Workload for Evaluating Transactional Memory Systems

WormBench - A Configurable Workload for Evaluating Transactional Memory Systems WormBench - A Configurable Workload for Evaluating Transactional Memory Systems Ferad Zyulkyarov ferad.zyulkyarov@bsc.es Adrian Cristal adrian.cristal@bsc.es Sanja Cvijic Belgrade University scvijic@etf.bg.ac.yu

More information

VMM Emulation of Intel Hardware Transactional Memory

VMM Emulation of Intel Hardware Transactional Memory VMM Emulation of Intel Hardware Transactional Memory Maciej Swiech, Kyle Hale, Peter Dinda Northwestern University V3VEE Project www.v3vee.org Hobbes Project 1 What will we talk about? We added the capability

More information

Performance Improvement via Always-Abort HTM

Performance Improvement via Always-Abort HTM 1 Performance Improvement via Always-Abort HTM Joseph Izraelevitz* Lingxiang Xiang Michael L. Scott* *Department of Computer Science University of Rochester {jhi1,scott}@cs.rochester.edu Parallel Computing

More information

Dynamic Fine Grain Scheduling of Pipeline Parallelism. Presented by: Ram Manohar Oruganti and Michael TeWinkle

Dynamic Fine Grain Scheduling of Pipeline Parallelism. Presented by: Ram Manohar Oruganti and Michael TeWinkle Dynamic Fine Grain Scheduling of Pipeline Parallelism Presented by: Ram Manohar Oruganti and Michael TeWinkle Overview Introduction Motivation Scheduling Approaches GRAMPS scheduling method Evaluation

More information

HydraVM: Mohamed M. Saad Mohamed Mohamedin, and Binoy Ravindran. Hot Topics in Parallelism (HotPar '12), Berkeley, CA

HydraVM: Mohamed M. Saad Mohamed Mohamedin, and Binoy Ravindran. Hot Topics in Parallelism (HotPar '12), Berkeley, CA HydraVM: Mohamed M. Saad Mohamed Mohamedin, and Binoy Ravindran Hot Topics in Parallelism (HotPar '12), Berkeley, CA Motivation & Objectives Background Architecture Program Reconstruction Implementation

More information

Opportunities and pitfalls of multi-core scaling using Hardware Transaction Memory

Opportunities and pitfalls of multi-core scaling using Hardware Transaction Memory Opportunities and pitfalls of multi-core scaling using Hardware Transaction Memory Zhaoguo Wang, Hao Qian, Haibo Chen, Jinyang Li School of Computer Science, Fudan University Institute of Parallel and

More information

Integrating Transactionally Boosted Data Structures with STM Frameworks: A Case Study on Set

Integrating Transactionally Boosted Data Structures with STM Frameworks: A Case Study on Set Integrating Transactionally Boosted Data Structures with STM Frameworks: A Case Study on Set Ahmed Hassan Roberto Palmieri Binoy Ravindran Virginia Tech hassan84@vt.edu robertop@vt.edu binoy@vt.edu Abstract

More information

Cost of Concurrency in Hybrid Transactional Memory

Cost of Concurrency in Hybrid Transactional Memory Cost of Concurrency in Hybrid Transactional Memory Trevor Brown University of Toronto tabrown@cs.toronto.ca Srivatsan Ravi Purdue University srivatsanravi@purdue.edu Abstract State-of-the-art software

More information