Scheduling threads in multi-core systems
Abstract
Scheduling of threads in a multi-core system is performed using per-processor queues for each core to hold threads with fixed affinity for each core. Cores are configured to pick the highest priority thread among the global run queue, which holds threads without affinity, and their respective per-processor queue. To select between two threads with same priority on both queues, the threads are assigned sequence numbers based on their time of arrival. The sequence numbers may be weighted for either queue to prioritize one over the other.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method to be executed at least in part in a computing device for scheduling threads in a multi-core processor system, the method comprising: receiving a thread to be scheduled for processing by the multi-core processor system; determining whether the received thread has a fixed affinity for a particular core of the multi-core processor system; assigning a sequence number to the received thread based on time of arrival of the thread when the thread is determined to not have a fixed affinity for the particular core and assigning a sequence number to the received thread based on time of arrival
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (40)
Non-Patent Literature (5)
- Chakraborty, K. et al., "Computation Spreading: Employing Hardware Migration to Specialize CMP Cores On-the-fly," ASPLOS '06, San Jose, California, 10 pages (2006).
- David Brash, The ARM Architecture Version 6 (ARMv6), Jan. 2002, http://www.simplemachines.it/doc/ARMv6-Architecture.pdf.
- International Search Report and Written Opinion mailed Feb. 2, 2009.
- Mackerras, P. et al., "Operating system exploitation of the POWER5 system," IBM J. Res. & Dev., vol. 49, No. 4/5, pp. 533-539 (Jul./Sep. 2005).
- Michael M. Swift et al., Improving the Reliability of Commodity Operating Systems, Oct. 19-22, 2003, http://nooks.cs.washington.edu/nooks-sosp.pdf.