Back to results
US 8,621,470 B2Granted
Wakeup-attribute-based allocation of threads to processors
AssigneeHewlett-Packard Development Company, L.P.
InventorsChristopher P. Ruemmler, Colin Edward Honess, Patrick O. Kilfoyle
Life of this patent
Estimating the term…
Abstract
A method of co-locating threads and corresponding system are described. The method comprises a first thread executing on a first processor awakening a second thread for execution on a second processor and assigning the second thread to execute on the first processor based on a determination that the first thread awakened the second thread at a prior awakening of the second thread.
Claims18
A method comprising:
- putting a first thread executing on a first processor into a most-recent sleep while a second thread executes on a second processor separate from said first processor;
- while said first thread is asleep, said second thread awakening said first thread;
- in response to said awakening, causing thread attributes including,
- a previous-awakened-thread attribute of said first thread to indicate that said second thread was the thread that was most-recently awakened by said first thread,
- a previous-waking-thread attribute of said second thread to indicate that said first thread was the thread that was most recently awakened by said second thread;
- and
- a processor-assignment attribute of said first thread to indicate whether or not said first thread is to be allocated to said second processor based at least in part on said previous-awakened-thread attribute of said first thread and said previous-waking thread attribute of said second thread;
- and
- allocating said first thread to a processor based on its processor-assignment attribute.
6 more elements
A system comprising non-transitory computer-readable media encoded with code configured to, when executed by a processor:
- put a first thread executing on a first processor into a most-recent sleep while a second thread executes on a second processor separate from said first processor;
- while said first thread is asleep, cause said second thread to awaken said first thread;
- in response to the awakening, cause thread attributes including,
- a previous-awakened-thread attribute of said first thread to indicate that said second thread was the thread that was most-recently awakened by said first thread,
- a previous-waking-thread attribute of said second thread to indicate that said first thread was the thread that was most recently awakened by said second thread;
- and
- a processor-assignment attribute of said first thread to indicate whether or not said first thread is to be allocated to said second processor based at least in part on said previous-awakened-thread attribute of said first thread and said previous-waking thread attribute of said second thread;
- and
- allocate said first thread to a processor based on its processor-assignment attribute.
6 more elements
Dependencies are inferred from the claim text.