Enhanced Concurrency Control with Transactional NACKs

نویسندگان

  • Woongki Baek
  • Richard M. Yoo
  • Christos Kozyrakis
چکیده

Transactional memory (TM) is a promising technique that simplifies parallel programming by supporting atomic and isolated execution of code sections. To provide robust performance and fairness guarantees, however, TM must dynamically adjust the degree of concurrency among transactions. To design an efficient concurrency controller for TM, critical system information, such as dependencies among transactions and current utilization level of the system, should be provided in an accurate and inexpensive manner. However, efficiently obtaining such information is often the most challenging design problem. To address the issue, we have looked at hardware features that can be used to characterize transactional behavior. In particular, we identify NACKs, which are readily available in several TM designs to handle conflicts between transactions, as the mechanism to efficiently collect the transactional information of the system. In this paper, we propose three novel, efficient use cases of NACKs for TM systems to demonstrate the potentials of utilizing NACKs intelligently: 1) accurate deadlock detection, 2) dependency tree construction, and 3) carrier sensing. We also describe a prototype design that extends the baseline TM systems to support the proposed techniques. To evaluate the effectiveness of such approach, we use the proposed techniques to implement an enhanced concurrency controller that performs aggressive stalling, dependency chain cutting, and exponential backoff with overshoot avoidance. Our preliminary results demonstrate that the proposed techniques can significantly improve the performance of hardware and hybrid TM systems (up to 21.5%).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Self-tuning the parallelism degree in Parallel-Nested Transactional Memory

In this document we present an overview of Transactional Memory models, as well as a comparison to traditional parallel frameworks. In this context, we follow with an analysis on the problem of self-tuning concurrency control in transactional memory, where different mechanisms are used to predict and adjust an application’s concurrency level with respect to available parallelism. We are particu...

متن کامل

On the analytical modeling of concurrency control algorithms for Software Transactional Memories: The case of Commit-Time-Locking

We present an analytical performance modeling approach for concurrency control algorithms in the context of Software Transactional Memories (STMs). We consider a realistic execution pattern where each thread alternates the execution of transactional and non-transactional code portions. Our model captures dynamics related to the execution of both (i) transactional read/write memory accesses and ...

متن کامل

Concurrency Control in Transactional Drago

The granularity of concurrency control has a big impact on the performance of transactional systems. Concurrency control granularity and data granularity (data size) are usually the same. The e ect of this coupling is that if a coarse granularity is used, the overhead of data access (number of disk accesses) is reduced, but also the degree of concurrency. On the other hand, if a ne granularity ...

متن کامل

On Open Nesting in Distributed Transactional Memory: Technical Report

Distributed Transactional Memory (DTM) is a recent but promising model for programming distributed systems. It aims to present programmers with a simple to use distributed concurrency control abstraction (transactions), while maintaining performance and scalability similar to distributed fine-grained locks. Any complications usually associated with such locks (e.g., distributed deadlocks) are a...

متن کامل

Advanced Concurrency Control for Transactional Memory Using Transaction Commit Rate

Concurrency control for Transactional Memory (TM) is investigated as a means for improving resource usage by adjusting dynamically the number of threads concurrently executing transactions. The proposed control system takes as feedback the measured Transaction Commit Rate to adjust the concurrency. Through an extensive evaluation, a new Concurrency Control Algorithm (CCA), called P-only Concurr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013