کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
432272 | 688843 | 2016 | 18 صفحه PDF | دانلود رایگان |
• New transactional memory (TM), called WFR-TM, formally proved correct and live.
• WFR-TM combines advantages of pessimistic and optimistic TM.
• Wait-free read-only transactions and optimistic, deadlock-free, update transactions.
• Previous pessimistic TM executes update transactions sequentially.
• Previous optimistic TM ensures weaker progress properties.
Transactional Memory (TM) is a promising concurrent programming paradigm which employs transactions to achieve synchronization in accessing common data known as transactional variables. A transaction may either commit, making its updates to transactional variables visible, or abort, discarding its updates.We introduce WFR-TM, a TM algorithm which attempts to combine the advantages of pessimistic and optimisticTM. In a pessimistic TM, no transaction ever aborts; however, current pessimistic TM implementations, execute update transactions sequentially, decreasing the degree of achieved parallelism. In optimistic TM, transactions are executed concurrently and they commit if they have encountered no conflict during their execution.In WFR-TM, read-only transactions not only are wait-free, but also they never execute expensive synchronization operations (like CAS, LL/SC, etc.). This is achieved without sacrificing the parallelism between update transactions. Update transactions synchronize pessimistically with concurrently executed read-only transactions but they synchronize optimistically with each other.
Journal: Journal of Parallel and Distributed Computing - Volume 96, October 2016, Pages 134–151