Partitioning processor resources based on memory usage
Abstract
Processor resources are partitioned based on memory usage. A compiler determines the extent to which a process is memory-bound and accordingly divides the process into a number of threads. When a first thread encounters a prolonged instruction, the compiler inserts a conditional branch to a second thread. When the second thread encounters a prolonged instruction, a conditional branch to a third thread is executed. This continues until the last thread conditionally branches back to the first thread. An indirect segmented register file is used so that the “return to” and “branch to” logical registers within each thread are the same (e.g., R 1 and R 2 )for each thread. These logical registers are mapped to hardware registers that store actual addresses. The indirect mapping is altered to bypass completed threads. When the last thread completes it may signal an external process.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method comprising: identifying one or more prolonged instructions in a process; dividing the process into a plurality of threads based upon the number of identified prolonged instructions; inserting, by a compiler, conditional branching logic after each of the identified prolonged instructions in each of the plurality of threads, wherein a first of the plurality of threads is programmed to conditionally branch to a second of the plurality of threads and wherein a last of the plurality of threads is programmed to conditionally branch back to the first thread; and executin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗