Generational thread scheduler using reservations for fair scheduling
Abstract
Disclosed herein is a generational thread scheduler. One embodiment may be used with processor multithreading logic to execute threads of executable instructions, and a shared resource to be allocated fairly among the threads of executable instructions contending for access to the shared resource. Generational thread scheduling logic may allocate the shared resource efficiently and fairly by granting a first requesting thread access to the shared resource allocating a reservation for the shared resource to each other requesting thread of the executing threads and then blocking the first thread from re-requesting the shared resource until every other thread that has been allocated a reservation, has been granted access to the shared resource. Generation tracking state may be cleared when each requesting thread of the generation that was allocated a reservation has had their request satisfied.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for sharing a resource in a multiprocessing system, the method comprising: receiving, from a first plurality of requesting threads in a processor, requests for a shared resource; granting a first thread of the first plurality of requesting threads access to the shared resource; allocating a reservation to other threads of the first plurality of requesting threads for the shared resource; and blocking the first thread from re-requesting the shared resource at least until each thread of the first plurality of requesting threads has been granted access to the shared resource.
- Claim 2Depends on #1
The method of claim 1 further comprising: granting a second thread of the first plurality of requesting threads access to the shared resource; and blocking the second thread from re-requesting the shared resource at least until each thread
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (31)
Non-Patent Literature (4)
- Office action and Search Report with English translation from Taiwan Patent Application No. 101147516, mailed Jan. 21, 2016, 14 pages.
- PCT/US2012/069448 Notification of Transmittal of the International Search Report and the Written Opinion of the International Searching Authority, mailed Mar. 26, 2013, 9 pages.
- PCT/US2012/09448 Notification Concerning Transmittal of Copy of International Preliminary Report on Patentability, mailed Jun. 26, 2014, 6 pages.
- Tullsen, et al., "Supporting Fine-Grained Synchronization on a Simultaneous Multlithreading Processor", Proceedings of the 5th International Symposium on High Performance Computer Architecture, Jan. 1999, 5 pages.