Patents
US 8,544,014 B2#9275567 Most CitedActiveUnited States (USPTO)Utility

Scheduling threads in multi-core systems

11Forward Citations (#9275567 Global)
0.8/yrCitation Velocity (#8595004 Global)
2.31Citation PageRank (#11543392 Global)
40Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (40)

PatentTitleYearCitations
US 5,185,861 ACache affinity scheduler1993144
US 5,745,778 AApparatus and method for improved CPU affinity in a multiprocessor system1998530
US 5,784,614 ACache affinity scheduling method for multi-processor nodes in a split transaction bus architecture199820
US 5,826,079 AMethod for improving the execution efficiency of frequently communicating processes utilizing affinity process scheduling by identifying and assigning the frequently communicating processes to the same processor199870
US 5,826,081 AReal time thread dispatcher for multiprocessor applications1998225
US 5,872,972 AMethod for load balancing a per processor affinity scheduler wherein processes are strictly affinitized to processors and the migration of a process from an affinitized processor to another available processor is limited1999207
US 6,105,053 AOperating system for a non-uniform memory access multiprocessor system2000301
US 6,243,788 B1Cache architecture to enable accurate cache sensitivity2001114
US 6,289,369 B1Affinity, locality, and load balancing in scheduling user program-level threads for execution by a computer system2001278
US 6,327,630 B1Ordered message reception in a distributed data processing system2001147
US 2003018691 A1Queues for soft affinity code threads and hard affinity code threads for allocation of processors to execute the threads in a multi-processor system—91
US 2003110203 A1Apparatus and method for dispatching fixed priority threads using a global run queue in a multiple run queue system—25
US 6,584,488 B1Controlling allocation of system resources with an enhanced priority calculation200377
US 2003191794 A1Apparatus and method for dispatching fixed priority threads using a global run queue in a multiple run queue system—14
US 6,633,897 B1Method and system for scheduling threads within a multiprocessor data processing system using an affinity scheduler200383
US 6,665,699 B1Method and data processing system providing processor affinity dispatching200367
US 6,681,320 B1Causality-based memory ordering in a multiprocessing environment20047
US 6,728,959 B1Method and apparatus for strong affinity multiprocessor scheduling2004116
US 6,766,515 B1Distributed scheduling of parallel jobs with no kernel-to-kernel communication2004114

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.