2007 · 62 citations · 22 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureParallel AlgorithmsParallel ComputingConcurrency ControlParallel Algorithm DesignParallel ArchitecturesParallel Computer ArchitectureParallel Computing SystemsParallel Performance AnalysisFine-grained SynchronizationLockingLocksSoftware Development MethodologyTransactional Memory
Transactional memory proposes an alternative synchro-nization primitive to traditional locks. Its promise is to sim-plify the software development of multi-threaded applica-tions while at the same time delivering the performance of parallel applications using (complex and error prone) fine grain locking. This study reports our experience implementing a real-istic application using transactional memory (TM). The ap-plication is Lee’s routing algorithm and was selected for its abundance of parallelism but difficulty of expressing it with locks. Each route between a source and a destination point in a grid can be considered a unit of parallelism. Starting from this simple approach, we evaluate the exploitable par-allelism of a transactional parallel implementation and ex-plore how it can be adapted to deliver better performance. The adaptations do not introduce locks nor alter the essence of the implemented algorithm, but deliver up to 20 times more parallelism. The adaptations are derived from un-derstanding the application itself and TM. The evaluation simulates an abstracted TM system and, thus, the results are independent of specific software or hardware TM im-plemented, and describe properties of the application. 1.
22
Maurice Herlihy, J. Eliot B. Moss · 1993 · 2.2K citations
An Algorithm for Path Connections and Its Applications
C. Y. Lee · IEEE Transactions on Electronic Computers · 1961 · 1.6K citations
Nir Shavit, Dan Touitou · 1995 · 1.2K citations · Full text
Software transactional memory for dynamic-sized data structures
Maurice Herlihy, Victor Luchangco, Mark Moir et al. · 2003 · 999 citations
Language support for lightweight transactions
Tim Harris, Keir Fraser · ACM SIGPLAN Notices · 2014 · 638 citations