Context switch instruction prefetching in multithreaded computer
Abstract
An apparatus, program product and method initiate, in connection with a context switch operation, a prefetch of at least one instruction likely to be executed by a thread prior to resuming execution of that thread. As a result, once it is known that a context switch will be performed to a particular thread, one or more instructions may be prefetched on behalf of that thread so that when execution of the thread is resumed, those instructions are more likely to be cached, or at least in the process of being retrieved into cache memory, thus enabling a thread to begin executing instructions more quickly than if the thread was required to fetch those instructions upon resumption of its execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of performing a context switch operation in a multithreaded computer, the method comprising initiating a prefetch of at least one instruction likely to be executed by a thread prior to resuming execution of the thread, wherein initiating the prefetch includes: retrieving state information associated with a working state of the thread, wherein the retrieved state information is stored during a prior context switch from the thread and includes a program counter; selecting a prefetch address for the instruction to be prefetched based upon the program counter from the retrieved state info
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 18 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (1)
- U.S. Appl. No. 09/458,883, filed Dec. 10, 1999, by Puzak et al.