3 ms·
The research papers linked in wikipedia don't really support what wikipedia claims even though they are very favorable to TSX. In one paper [1] the only way the
by cpleppert 5y ago
The research papers linked in wikipedia don't really support what wikipedia claims even though they are very favorable to TSX. In one paper [1] the only way they could demonstrate a performance improvement in a real world benchmark was changing the underlying lock strategy entirely. The rest are just synthetic benchmarks that transactional memory can look good on due to the lack of actual contention but which required lots of changes to take advantage of. In [2] they used what appears to be a very naive b-tree implementation and an index tree combined with a dictionary. Even though this should probably be a great use case for transaction memory they once again have to make major changes to the implementation.
In a real database, you will run into transaction aborts much more frequently to say nothing of the correctness concerns raised by others in this thread.
[1]:https://web.archive.org/web/20161110144922/http://pcl.intel-research.net/publications/SC13-TSX.pdf https://web.archive.org/web/20161110144922/http://pcl.intel-...
[2]:Improving In-Memory Database Index Performance