Skip to main content

Seminar 2015-03-26

BT-trees - Designing for Hardware Transactional Memory

Speaker: Lars Bonnichsen


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 talk I will 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 2 times faster than traditional maps using hardware transactional memory, and up to 3 times faster than state of the art concurrent ordered maps.

Slides: L.Bonnichsen.pdf (pdf 264 kB)

Page responsible:Web editors at EECS
Belongs to: Software and Computer Systems
Last changed: Apr 28, 2015