Scheduling Threads In A Multi-Processor Computer
AssigneeInternational Business Machines Corporation
InventorsJos Manuel Accapadi, Herman Dietrich Dierks, Andrew Dunshea, Dirk Michel
Life of this patent
Estimating the term…
Abstract
Scheduling threads in a multi-processor computer system including establishing an interrupt threshold for a thread, where the interrupt threshold represents a maximum permissible number of interrupts during thread execution on a processor; executing the thread on a current processor, where the thread has thread affinity for one or more processors including the current processor; counting a number of interrupts during execution of the thread on the current processor; and removing thread affinity for the current processor in dependence upon the counted number of interrupts and the interrupt threshold.
Claims24
A method for scheduling threads in a multi-processor computer, the method comprising:
- establishing an interrupt threshold for a thread, the interrupt threshold comprising a maximum permissible number of interrupts during thread execution on a processor;
- executing the thread on a current processor, the thread having thread affinity for one or more processors including the current processor;
- counting a number of interrupts during execution of the thread on the current processor;
- and
- removing thread affinity for the current processor in dependence upon the counted number of interrupts and the interrupt threshold.
A system for scheduling threads in a multi-processor computer, the system comprising:
- means for establishing an interrupt threshold for a thread, the interrupt threshold comprising a maximum permissible number of interrupts during thread execution on a processor;
- means for executing the thread on a current processor, the thread having thread affinity for one or more processors including the current processor;
- means for counting a number of interrupts during execution of the thread on the current processor;
- and
- means for removing thread affinity for the current processor in dependence upon the counted number of interrupts and the interrupt threshold.
A computer program product for scheduling threads in a multi-processor computer, the computer program product comprising:
- a recording medium;
- means, recorded on the recording medium, for establishing an interrupt threshold for a thread, the interrupt threshold comprising a maximum permissible number of interrupts during thread execution on a processor;
- means, recorded on the recording medium, for executing the thread on a current processor, the thread having thread affinity for one or more processors including the current processor;
- means, recorded on the recording medium, for counting a number of interrupts during execution of the thread on the current processor;
- and
- means, recorded on the recording medium, for removing thread affinity for the current processor in dependence upon the counted number of interrupts and the interrupt threshold.
Dependencies are inferred from the claim text.