Efficient and consistent software transactional memory
Abstract
A method and apparatus for efficient and consistent validation/conflict detection in a Software Transactional Memory (STM) system is herein described. A version check barrier is inserted after a load to compare versions of loaded values before and after the load. In addition, a global timestamp (GTS) is utilized to track a latest committed transaction. Each transaction is associated with a local timestamp (LTS) initialized to the GTS value at the start of a transaction. As a transaction commits it updates the GTS to a new value and sets versions of modified locations to the new value. Pending transactions compare versions determined in read barriers to their LTS. If the version is greater than their LTS indicating another transaction has committed after the pending transaction started and initialized the LTS, then the pending transaction validates its read set to maintain efficient and consistent transactional execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: storing a global transaction value, which is to represent a most recent committed transaction, in a first local transaction value associated with a first transaction, in response to starting execution of the first transaction; maintaining a current version value for a data address in a meta-data location associated with the data address, the current version value being based on the global transaction value that is associated with a most recent transaction to update the data address; in response to encountering a current read operation, which is included in the first transa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (4)
- Jonathan Polley; A fine-grained Senson Network Simulator; 2004; IEEE; pp. 145-152.
- Michael F. Spear; Conflict Detection and Validation Strategies for Software Transactional Memory; 2006; Springer; pp. 180-184.
- Office Action Received for Chinese Patent Application No. 200710306288.5 mailed on Jun. 26, 2009, 7 pages of Office Action including English Translation.
- Office Action Received for European Patent Application No. 07 254 932.2-2221 mailed on Mar. 29, 2011, 6 pages of Office Action.