Accounting method and logic for determining per-thread processor resource utilization in a simultaneous multi-threaded (SMT) processor
Abstract
An accounting method and multi-threaded processor include a mechanism for accounting for processor resource usage by threads within programs. Relative resource use is determined by detecting a particular cycle state of threads active within the processor. If instructions are dispatched for all threads or no threads, the processor cycle is accounted equally to all threads. Alternatively if no threads are in the particular cycle state, the accounting may be made using a prior state, or in conformity with ratios of the threads' priority levels. If only one thread is in the particular cycle state, that thread is accounted the entire processor cycle. If multiple threads are dispatching, but less than all threads are dispatching, the processor cycle is billed evenly across the dispatching threads.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of accounting for processor time usage in a processor core, comprising: at a periodic interval having a rate equal to a clock cycle of the processor core, determining relative internal resource usage by a plurality of threads executing within said processor core by determining whether or not each thread is in a particular cycle state and determining a number of resources for each thread that is determined to be in the particular cycle state, wherein said relative internal resource usage is an indication of a relative amount of utilization of one or more resources within said processor
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 16 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (2)
- Bridges et al., A CPU utilization limit for massively parallel MIMD computers, Frontiers of Massively Parallel Computation, Oct. 19-21, 1992 pp. 83-92.
- Czajkowski et al., Resource management for extensible Internet servers, ACM SIGOPS European Workshop, pp. 33-39, Year of Publication: 1998.