Tracking and detecting thread dependencies using speculative versioning cache
Abstract
Mechanisms are provided for tracking dependencies of threads in a multi-threaded computer program execution. The mechanisms detect a dependency of a first thread's execution on results of a second thread's execution in an execution flow of the multi-threaded computer program. The mechanisms further store, in a hardware thread dependency vector storage associated with the first thread's execution, an identifier of the dependency by setting at least one bit in the hardware thread dependency vector storage corresponding to the second thread. Moreover, the mechanisms schedule tasks performed by the multi-threaded computer program based on the hardware thread dependency vector storage to minimize squashing of threads.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, in a data processing system, for tracking dependencies of threads in a multi-threaded computer program execution, comprising: detecting, by a processor of the data processing system, a dependency of a first thread's execution on results of a second thread's execution in an execution flow of the multi-threaded computer program; storing, by the processor, in a hardware thread dependency vector storage associated with the first thread's execution, an identifier of the dependency by setting at least one bit in the hardware thread dependency vector storage corresponding to the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Bhowmik, Anasua et al., "A General Compiler Framework for Speculative Multithreaded Processors", IEEE Transactions on Parallel and Distributed Systems, vol. 15, No. 8, Aug. 2004, pp. 713-724.
- Eichenberger, Alexandre E. et al., "Runtime Dependence-Aware Scheduling Using Assist Thread", U.S. Appl. No. 12/435,809, filed May 5, 2009.
- Gopal, Sridhar et al., "Speculative Versioning Cache", Proceedings of the 4th International Symposium on High-Performance Computer Architecture, Jan. 31 to Feb. 4, 1998, pp. 1-11.
- Hammond et al., The Stanford Hydra CMP, IEEE Micro, Mar. 2000.
- Rundberg et al., Speculative Lock Reordering: Optimistic Out-of-Order Execution of Critical Sections, Proceedings of the 17th International Symposium on Parallel and Distributed Processing, 2003.