LWN.net Logo

Memory part 8: Future technologies: transactional memory

Memory part 8: Future technologies: transactional memory

Posted Nov 21, 2007 23:17 UTC (Wed) by PaulMcKenney (subscriber, #9624)
Parent article: Memory part 8: Future technologies

Transactional memory is indeed a very interesting technology, and there has been quite a bit of work in this area of late! Some researchers believe that they have solved the multiple-cache problem, for example. However, there are a few remaining challenges:

  1. Non-idempotent operations (such as I/O) must be excluded from transactions.
  2. Transactions can be subject to priority inversion, see for example Rossbach et al's SOSP paper.
  3. Although there are proposals to handle very large transactions, these have performance consequences. So the performance of transactional memory usually depends heavily on the size and associativity of the hardware caches.
  4. Resolving contention among transactions turns out to be non-trivial, though of course designing for low contention is the best approach, and not just for transactional memory!
  5. As far as I know, transactional memory implementations do not yet take realtime issues into account.
  6. Efficient handling of read-mostly situations is best served by allowing concurrent transactional and non-transactional access to the same locations, which causes extreme discomfort to most of the transactional-memory people I have talked with.

All that aside, transactional memory certainly does seem like a much better approach than non-blocking synchronization!


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.