Patents
US 8,464,261 B2#12248125 Most CitedActiveUnited States (USPTO)Utility

System and method for executing a transaction using parallel co-transactions

9Forward Citations (#12248125 Global)
0.7/yrCitation Velocity (#11131763 Global)
1.47Citation PageRank (#23516646 Global)
32Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The transactional memory system described herein may implement parallel co-transactions that access a shared memory such that at most one of the co-transactions in a set will succeed and all others will fail (e.g., be aborted). Co-transactions may improve the performance of programs that use transactional memory by attempting to perform the same high-level operation using multiple algorithmic approaches, transactional memory implementations and/or speculation options in parallel, and allowing only the first to complete to commit its results. If none of the co-transactions succeeds, one or more may be retried, possibly using a different approach and/or transactional memory implementation. The at-most-one property may be managed through the use of a shared “done” flag. Conflicts between co-transactions in a set and accesses made by transactions or activities outside the set may be managed using lazy write ownership acquisition and/or a priority-based approach. Each co-transaction may execute on a different processor resource.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 9.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method, comprising: using a computer to perform: initiating concurrent execution of two or more different code sequences, each of which is executable to perform a respective task as an atomic transaction, wherein each of the atomic transactions is a transaction in a set of co-transactions, wherein at most one of the atomic transactions in the set of co-transactions is to be allowed to succeed and commit its results, and wherein each of the two or more code sequences comprises one or more memory access operations to locations in a shared memory that is accessible to a plurality of concurrentl

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (32)

PatentTitleYearCitations
US 5,428,761 ASystem for achieving atomic non-sequential multi-word operations in shared memory1995410
US 5,504,899 AGuaranteeing global serializability by applying commitment ordering selectively to global transactions1996173
US 2001014905 A1Method and apparatus for managing a lock for an object—135
US 6,385,715 B1Multi-threading for a processor utilizing a replay queue2002147
US 2003126187 A1Apparatus and method for synchronization in a multi-thread system of JAVA virtual machine—32
US 6,735,760 B1Relaxed lock protocol2004105
US 6,785,803 B1Processor including replay queue to break livelocks200454
US 6,792,446 B2Storing of instructions relating to a stalled thread200428
US 6,862,664 B2Method and apparatus for avoiding locks by speculatively executing critical sections200573
US 6,886,081 B2Method and tool for determining ownership of a multiple owner lock in multithreading environments200532
US 6,912,648 B2Stick and spoke replay with selectable delays200577
US 6,952,764 B2Stopping replay tornadoes200529
US 2005278393 A1System and method for discriminatory replaying of log files during tablespace recovery in a database management system—29
US 2006085591 A1Hybrid hardware and software implementation of transactional memory access—157
US 7,219,349 B2Multi-threading techniques for a processor utilizing a replay queue200712
US 2007143287 A1Coordinating access to memory locations for hardware transactional memory transactions and software transactional memory transactions—123
US 2007186056 A1Hardware acceleration for a software transactional memory system—121
US 7,346,747 B1Exclusive lease instruction support for transient blocking synchronization20087
US 7,395,382 B1Hybrid software/hardware transactional memory2008148
US 2008313645 A1Automatic Mutual Exclusion—16
US 7,487,160 B2Method for determining participation in a distributed transaction200914

Non-Patent Literature (5)

  • Adam Welc, et al, "Transactional Monitors for Concurrent Objects," ECOOP'04, pp. 1-24.
  • Adam Welc, et al, "Transparently Reconciling Transactions with Locking For Java Synchronization," ECOOP'04, pp. 1-26.
  • Ansari, et al., "Adaptive Concurrency Control for Transactional Memory," 2008, pp. 1-12.
  • Attiya, et al., "Transactional contention management as a non-clairvoyant scheduling problem", ACM, 2006, pp. 308-315.
  • Dave Dice, "Implementing Fast Java Monitors with Relaxed-Locks," USENIX JVM'01, pp. 1-13.