Hardware acceleration of a write-buffering software transactional memory
Abstract
A method and apparatus for accelerating a software transactional memory (STM) system is described herein. Annotation field are associated with lines of a transactional memory. An annotation field associated with a line of the transaction memory is initialized to a first value upon starting a transaction. In response to encountering a read operation in the transaction, then annotation field is checked. If the annotation field includes a first value, the read is serviced from the line of the transaction memory without having to search an additional write space. A second and third value in the annotation field potentially indicates whether a read operation missed the transactional memory or a tentative value is stored in a write space. Additionally, an additional bit in the annotation field, may be utilized to indicate whether previous read operations have been logged, allowing for subsequent redundant read logging to be reduced.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: encountering a read instruction in a first transaction, the read instruction referencing a first address; and in response to encountering the read instruction: checking an attribute field associated with a memory line in a memory, wherein the first address is associated with the memory line; reading a value from the memory line without searching a software maintained write space associated with the first transaction, in response to determining the attribute field holding a first value; reading a write value from the software maintained write space associated with the first
- Claim 2Depends on #1
The method of claim 1 , wherein the a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- Ananian et al., "Unbounded transactional memory", 11 th International Symposium on High-Performance Computer Architecture, 2005. HPCA-1 1, Feb. 12-16, 2005 pp. 316-327.
- Berenson et al, "A critique of ANSI SQL isolation levels", Proceedings of the 1995 ACM SIGMOD international conference on Management of data, vol. 24, No. 2, May 1995, 10 pages.
- Fraser et al., "Concurrent Programming without Locks", May 2007.
- Harris et al., "Composable Memory Transactions". In Proceedings of the Tenth ACM Symposium on Principles and Practice of Parallel Programming, Jun. 15-17, 2005.
- Harris et al., Language Support for Lightweight Transactions, Proceedings of the 2003 ACM SIGPLAN Conference on Object-Oriented Programming Systems, Oct. 26-30, 2003.