What Really Makes Transactions Faster?

نویسندگان

  • Dave Dice
  • Nir Shavit
چکیده

There has been a flurry of recent work on the design of high performance software and hybrid hardware/software transactional memories (STMs and HyTMs). This paper reexamines the design decisions behind several of these stateof-the-art algorithms, adopting some ideas, rejecting others, all in an attempt to make STMs faster. The results of our evaluation led us to the design of a transactional locking (TL) algorithm which we believe to be the simplest, most flexible, and best performing STM/HyTM to date. It combines seamlessly with hardware transactions and with any system’s memory life-cycle, making it an ideal candidate for multi-language deployment today, long before hardware transactional support becomes commonly available. Most important of all however were the results we derived from a comprehensive comparison of the performance of nonblocking, lock-based, and Hybrid STM algorithms versus fine-grained hand-crafted ones. Contrary to our intuitions, concurrent code generated in a mechanical fashion using our TL algorithm and several other STMs, scaled better than the hand-crafted fine-grained lock-based and lock-free data structures, even though their throughput was lower. We found that it was the lower latency of the hand-crafted data structures that made them faster than STMs, and not better contention management or optimizations based on the programmer’s understanding of the particulars of the structure. This holds great promise for future mechanical generation of concurrent code using hardware transactional support.

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

ثبت نام

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

منابع مشابه

Determinants of Subjective Well-Being; Do We Really Know What Makes People Happy? : A Study Among Rasht Dwellers as a Metropolis in North of Iran

Recently, along with traditional economic indicators, policymakers are increasingly dealing with subjective well-being (SWB) as an evaluation criterion of their performance and as an index for the population’s psychology health. This study tries to define different determinants of SWB with a focus on some specific aspects of the living area. Also, this article investigates outskirt-urban differ...

متن کامل

TOTAL KNEE REPLACEMENT IN VARUS KNEE: WHAT MEASUREMENT REALLY MATTERS? INTRODUCING A NEW CLASSIFICATION SYSTEM

This was Presented in 5th International Congress of Iranian Iranian Society of Knee Surgery, Arthroscopy, and Sports Traumatology (ISKAST), 14-17 Feb 2018- Kish, Iran

متن کامل

What makes a good process?

So what makes a “good process”? This is a question that I am often asked. Usually the person asking is looking for a simple answer: “One that has no more than 10 task boxes” or “only has two handovers” or “one that looks long and thin.” Of course, things are not that simple, and there is a difference between what makes a good process and what makes a good process model. It is often the latter t...

متن کامل

A Faster Bitcoin Network

Bitcoin is an electronic currency based on a peer-to-peer network for the propagation and verification of the transactions. Nowadays, cashless transactions are becoming increasingly popular and bitcoin could be an established currency for such transactions. Its distributed nature, though, and more specifically the delay overhead in transaction verification, not only makes the use of bitcoin ine...

متن کامل

What do scaffold proteins really do?

Scaffold proteins play an important role in coordinating signal transduction cascades. However, their exact mechanism of action and the ultimate effect they have on the signal output remain unclear. Ferrell discusses how computer simulations have provided insight into the multiple possible functions that scaffold proteins may have. What remains is to test the predictions in real cells to determ...

متن کامل

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


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

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

دوره   شماره 

صفحات  -

تاریخ انتشار 2006