TxLinux
Christopher J. Rossbach, Owen S. Hofmann, Donald E. Porter et al. · 2007
TxLinux is a variant of Linux that is the first operating system to use hardware transactional memory (HTM) as a synchronization primitive, and the first to manage HTM in the scheduler. This paper describes and measures TxLinux and discusses two innovations in detail: cooperation between locks and transactions, and theintegration of transactions with the OS scheduler. Mixing locks and transactions requires a new primitive, cooperative transactional spinlocks (cxspinlocks) that allow locks and transactions to protect the same data while maintaining the advantages of both synchronization primitives. Cxspinlocks allow the system to attemptexecution of critical regions with transactions and automatically roll back to use locking if the region performs I/O. Integrating the scheduler with HTM eliminates priority inversion. On a series ofreal-world benchmarks TxLinux has similar performance to Linux, exposing concurrency with as many as 32 concurrent threads on 32 CPUs in the same critical region.
Cited by 121 works. doi:10.1145/1294261.1294271
Authors
References
- Transaction Processing: Concepts and Techniques
- A scheduling philosophy for multiprocessing systems
- Why Aren't Operating Systems Getting Faster As Fast as Hardware?
- On optimistic methods for concurrency control
- Simics: A full system simulation platform
- Wait-free synchronization
- Transactional memory
- Understanding the Linux Kernel
- A survey of rollback-recovery protocols in message-passing systems
- Concurrent reading and writing