Methods and apparatus to implement parallel transactions
Abstract
A computer system includes multiple processing threads that execute in parallel. The multiple processing threads have access to a global environment including different types of metadata enabling the processing threads to carry out simultaneous execution depending on a currently selected type of lock mode. A mode controller monitoring the processing threads initiates switching from one type of lock mode to another depending on current operating conditions such as an amount of contention amongst the multiple processing threads to modify the shared data. The mode controller can switch from one lock mode another regardless of whether any of the multiple processes are in the midst of executing a respective transaction. A most efficient lock mode can be selected to carry out the parallel transactions. In certain cases, switching of lock modes causes one or more of the processing threads to abort and retry a respective transaction according to the new mode.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: maintaining an environment to execute multiple processing threads in parallel; during execution of the multiple processing threads, switching a manner of the execution between non-transactional memory usage in which the multiple processing threads compete to obtain a coarse-grained lock over a region of respective shared data, and transactional memory usage in which the multiple processing threads compete to obtain finer-grained locks over sub-portions of the respective shared data; and initiating the non-transactional memory usage to include global version information and
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- (Amendment) Response to Non-Final Office Action dated Dec. 8, 2010 for U.S. Appl. No. 11/475,604, filed Mar. 17, 2011, 13 pgs.
- Afek, Y., Attiya, H., Dolev, D., Gafni, E., Merritt, M., Shavit, N., "Atomic Snapshots of Shared Memory", J. ACM 40(4), 1993, pp. 873-890.
- Agesen, O., Detlefs, D., Garthwaite, A., Knippel, R., Ramakrishna, Y.S., White, D., "An Efficient Meta-lock for Implementing Ubiquitous Synchronization", ACM SIGPLAN Notices 34(10), 1999, pp. 207-222.
- Amendment filed Feb. 4, 2011 in response to Non-Final Office Action dated Nov. 9, 2010, for U.S. Appl. No. 11/475,716, filed Jun. 27, 2006, 10 pgs.
- Ananian, C.S., Asanovic, K., Kuszmaul, B.C., Leiserson, C.E., Lie, S., "Unbounded Transactional Memory", HPCA '05: Proceedings of the 11th International Symposium on High-Performance Computer Architecture, Washington, DC, IEEE Computer Society, 2005, pp. 316-327.