×

Method and apparatus for strong affinity multiprocessor scheduling

  • US 6,728,959 B1
  • Filed: 08/08/1995
  • Issued: 04/27/2004
  • Est. Priority Date: 08/08/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for scheduling the execution of a plurality of threads on a plurality of processors in a computer system, wherein at least one of the threads can make more than one sleep request, said method comprising the steps of associating a local queue of threads with each of the processors;

  • selecting movable threads from the local queues; and

    on each of the processors, performing the step of yielding control of the processor to a thread that is selected from at least the selected movable threads, wherein said step of selecting movable threads comprises identifying a busiest processor among the plurality of processors, the movable threads being selected only from eligible threads in the local queue of the busiest processor, and wherein said identifying step comprises identifying as a busiest processor a processor which has received the smallest number of sleep requests of any of the processors during a sampling period.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×