Abstract
Synchronization of concurrent data structures is difficult to get right. Fine-grained synchronization locks small data chunks, but requires too high an overhead per chunk, traditional coarse-grained synchronization locks big data chunks, and thereby makes them unavailable to other threads. Neither synchronization method scales well. Recently, hardware transactional memory was introduced, which allows threads to use transactions instead of locks. So far, applying hardware transactional memory has shown mixed results. We believe this is because transactions are different from locks, and using them efficiently requires reasoning about those differences. In this paper we present 5 guidelines for applying hardware transactional memory efficiently, and apply the guidelines to BT-trees, a concurrent ordered map. Evaluating BT-trees on standard benchmarks shows that they are up to 5.3 times faster than traditional maps using hardware transactional memory, and up to 3.9 times faster than state of the art concurrent ordered maps.
Original language | English |
---|---|
Title of host publication | Proceedings of the 13th IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA 2015) |
Volume | 3 |
Publisher | IEEE |
Publication date | 2015 |
Pages | 124-131 |
ISBN (Print) | 978-1-4673-7951-9 |
DOIs | |
Publication status | Published - 2015 |
Event | 13th IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA 2015) - Helsinki, Finland Duration: 20 Aug 2015 → 22 Aug 2015 Conference number: 13 https://research.comnet.aalto.fi/ISPA2015/ |
Conference
Conference | 13th IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA 2015) |
---|---|
Number | 13 |
Country/Territory | Finland |
City | Helsinki |
Period | 20/08/2015 → 22/08/2015 |
Internet address |