Fine grained multi-thread dispatch block mechanism
Abstract
The present invention provides a method, a computer program product, and an apparatus for blocking a thread at dispatch in a multi-thread processor for fine-grained control of thread performance. Multiple threads share a pipeline within a processor. Therefore, a long latency condition for an instruction on one thread can stall all of the threads that share the pipeline. A dispatch-block signaling instruction blocks the thread containing the long latency condition at dispatch. The length of the block matches the length of the latency, so the pipeline can dispatch instructions from the blocked thread after the long latency condition is resolved. In one embodiment the dispatch-block signaling instruction is a modified OR instruction and in another embodiment it is a Nop instruction. By blocking one thread at dispatch, the processor can dispatch instructions from the other threads during the block.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 15.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for blocking one thread at a dispatch point of a pipeline in a multi-thread processor, wherein the pipeline is shared by multiple threads, comprising: detecting a long latency condition on a first thread within the pipeline; determining an exact latency involved with the long latency condition; generating a dispatch-block signaling instruction; in response to the dispatch-block signaling instruction, blocking the first thread at the dispatch point for an amount of cycles; dispatching instructions from other non-blocked threads of the instruction pipeline during the block; and dispatch
- Claim 2Depends on #1
The method of claim 1 , wherein the method is used in a computer system or a data processing system.
- Claim 3Depends on #1
The method of claim 1 , wherein the long latency
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗