Skip to content

Benchmark Intel TSX (Transactional Synchronization Extension) Hardware Transactional Memory on my sandbox

Notifications You must be signed in to change notification settings

cmpxchg16/tsx.me

Repository files navigation

Benchmarks for TSX (Hardware Transactional Memory) vs STM (Software Transactional Memory) vs lock-free vs Naive lock (std::mutex/spinlock)


Implementations:
----------------
1. Queue
2. Stack
3. Counter

Note: the TSX implementation based on the tbb::speculative_spin_mutex. The mutex fallback to spin lock in case of no TSX support.


Environment:
------------
Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz 16GB RAM
Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz 32GB RAM
Ubuntu 14.04
Boost 1.55
TBB 4.2
g++ 4.8.2

Author: 
-------
Uri Shamay ([email protected])

About

Benchmark Intel TSX (Transactional Synchronization Extension) Hardware Transactional Memory on my sandbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published