System and method for thread scheduling with weak preemption policy
Abstract
A system and method for thread scheduling with a weak preemption policy is provided. The scheduler receives requests from newly ready work. The scheduler adds a “preempt value” to the current work's priority so that it is somewhat increased for preemption purposes. The preempt value can be adjusted in order to make it more, or less, difficult for newly ready work to preempt the current work. A “less strict” preemption policy allows current work to complete rather than interrupting the current work and resume it at a later time, thus saving system overhead. Newly ready work that is queued with a better priority than the current work is queued in a favorable position to be executed after the current work is completed but before other work that has been queued with the same priority of the current work.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 21.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for preempting tasks performed by a processor in a computer system, said method comprising: configuring, by a user of the computer system, a preempt value, and storing the preempt value in a memory accessible by the processor; receiving, from the user, a range of priorities selected from a plurality of possible priorities, wherein the queuing is only performed when the new task priority and the current task priority are each within the range of priorities; and after the configuring: receiving a request from a new task, wherein the new task includes a new task priority; comparing the n
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 21 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (2)
- Macon, Jr. et al., "Deterministic Priority Inversion Method for Personal Computers," IBM Technical Disclosure Bulletin, vol. 38, No. 5, May 1995.
- Wang et al, Scheduling Fixed-Priority Tasks with Preemption Threshold, Real-Time Computing Systems and Applications, 1999. RTCSA '99. Sixth International Conference on.