MetaTM/TxLinux
Hany E. Ramadan, Christopher J. Rossbach, Donald E. Porter et al. · Proceedings - International Symposium on Computer Architecture/Proceedings · 2007
This paper quantifies the effect of architectural design decisions onthe performance of TxLinux. TxLinux is a Linux kernel modifiedto use transactions in place of locking primitives in several key subsystems.We run TxLinux on MetaTM, which is a new hardwaretransaction memory (HTM) model.MetaTM contains features that enable efficient and correct interrupthandling for an x86-like architecture. Live stack overwrites can corrupt non-transactional stack memory and requires a smallchange to the transaction register checkpoint hardware to ensurecorrect operation of the operating system. We also propose stack based early release to reduce spurious conflicts on stack memorybetween kernel code and interrupt handlers.We use MetaTM to examine the performance sensitivity of individualarchitectural features. For TxLinux we find that Polka and SizeMatters are effective contention management policies, someform of backoff on transaction contention is vital for performance,and stalling on a transaction conflict reduces transaction restartrates, but does not improve performance. Transaction write setsare small, and performance is insensitive to transaction abort costsbut sensitive to commit costs.
Cited by 77 works. doi:10.1145/1250662.1250675
Authors
References
- On optimistic methods for concurrency control
- Wait-free synchronization
- Transactional memory
- Concurrent reading and writing
- X10
- Software transactional memory
- Software transactional memory for dynamic-sized data structures
- Language support for lightweight transactions
- Transactional Locking II
- Language support for lightweight transactions