Efficient state transition among multiple programs on multi-threaded processors by executing cache priming program
Abstract
A system and method to optimize processor performance and minimizing average thread latency by selectively loading a cache when a program state, resources required for execution of a program or the program itself change, is described. An embodiment of the invention supports a “cache priming program” that is selectively executed for a first thread/program/sub-routine of each process. Such a program is optimized for situations when instructions and other program data are not yet resident in cache(s), and/or whenever resources required for program execution or the program itself changes. By pre-loading the cache with two resources required for two instructions for only a first thread, average thread latency is reduced because the resources are already present in the cache. Since, such a mechanism is carried out only for one thread in a program cycle, pitfalls of a conventional general pre-fetch scheme that involves parsing of the program in advance to determine which resources and instructions will be needed at a later time, are avoided.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: determining whether an instruction sequence includes a first thread of a first normal program, wherein the first normal program comprises: a fetch of a first memory resource, a first instruction which, when executed, uses the first memory resource, a fetch of a second memory resource, and a second instruction which, when executed, uses the second memory resource; in response to the determining being positive, executing a cache priming program for the first thread of the first normal program, wherein a memory stores further instructions for executing the cache priming prog
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| CN 105,607,892 A | Concurrent execution method and system for multiple programs | — | 6 |
References Cited — Backward Prior Art (21)
Non-Patent Literature (1)
- Brown, Andrew et al. Pending U.S. Appl. No. 11/882,305. Thread Sequencing for Multi-Threaded Processor With Instruction Cache. Application Filing Date: Jul. 31, 2007.