We introduce OPTIK, a new practical design pattern for designing and implementing fast and scalable concurrent data structures. OPTIK relies on the commonly-used technique of version numbers for detecting conflicting concurrent operations. We show how to implement the OPTIK pattern using the novel concept of OPTIK locks. These locks enable the use of version numbers for implementing very efficient optimistic concurrent data structures. Existing state-of-the-art lock-based data structures acquire the lock and then check for conflicts. In contrast, with OPTIK locks, we merge the lock acquisition with the detection of conflicting concurrency in a single atomic step, similarly to lock-free algorithms. We illustrate the power of our OPTIK pattern and its implementation by introducing four new algorithms and by optimizing four state-of-the-art algorithms for linked lists, skip lists, hash tables, and queues. Our results show that concurrent data structures built using OPTIK are more scalable than the state of the art.
Tue 15 MarDisplayed time zone: Belfast change
11:35 - 12:50 | |||
11:35 25mTalk | Optimistic Concurrency with OPTIK Main conference Link to publication DOI | ||
12:00 25mTalk | Refined Transactional Lock Elision Main conference Link to publication DOI | ||
12:25 25mTalk | Drinking from Both Glasses: Combining Pessimistic and Optimistic Tracking of Cross-Thread Dependences Main conference Man Cao Ohio State University, USA, Minjia Zhang Ohio State University, USA, Aritra Sengupta Ohio State University, Michael D. Bond Ohio State University Link to publication DOI |