Grouping of tasks for distribution among processing entities
AssigneeInternational Business Machines Corporation
InventorsSeamus J. Burke, Trung N. Nguyen, Louis A. Rasor
Life of this patent
Estimating the term…
Abstract
A plurality of processing entities are maintained. A plurality of task control block (TCB) groups are generated, wherein each of the plurality of TCB groups are restricted to one or more different processing entities of the plurality of processing entities. A TCB is assigned to one of the plurality of TCB groups, at TCB creation time.
Claims18
A method, comprising:
- maintaining a plurality of processing entities;
- generating a plurality of task control block (TCB) groups, wherein each of the plurality of TCB groups are restricted to one or more different processing entities of the plurality of processing entities;
- assigning a TCB to one of the plurality of TCB groups, at TCB creation time, wherein TCBs assigned to a TCB group reserve a common set of locks, wherein processing speed of TCBs assigned to the TCB group improves up to a predetermined number of processing entities allocated for processing of the TCBs in the TCB group, and processing speed of TCBs assigned to the TCB group slows down if a greater number of processing entities beyond the predetermined number of processing entities are allocated for processing the TCBs assigned to the TCB group, and wherein no more than the predetermined number of processing entities are allocated for processing the TCBs assigned to the TCB group;
- indicating, for the TCB, a primary processing entities group and a secondary processing entities group;
- and
- in response to determining that the secondary processing entities group has processing cycles available for processing additional TCBs, moving the TCB from the primary processing entities group to the secondary processing entities group for processing.
A system, comprising:
- a memory;
- and
- a processor coupled to the memory, wherein the processor performs operations, the operations comprising:
- maintaining a plurality of processing entities;
- generating a plurality of task control block (TCB) groups, wherein each of the plurality of TCB groups are restricted to one or more different processing entities of the plurality of processing entities;
- assigning a TCB to one of the plurality of TCB groups, at TCB creation time, wherein TCBs assigned to a TCB group reserve a common set of locks, wherein processing speed of TCBs assigned to the TCB group improves up to a predetermined number of processing entities allocated for processing of the TCBs in the TCB group, and processing speed of TCBs assigned to the TCB group slows down if a greater number of processing entities beyond the predetermined number of processing entities are allocated for processing the TCBs assigned to the TCB group, and wherein no more than the predetermined number of processing entities are allocated for processing the TCBs assigned to the TCB group;
- indicating, for the TCB, a primary processing entities group and a secondary processing entities group;
- and
- in response to determining that the secondary processing entities group has processing cycles available for processing additional TCBs, moving the TCB from the primary processing entities group to the secondary processing entities group for processing.
A computer program product, the computer program product comprising a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to perform operations, the operations comprising:
- maintaining a plurality of processing entities;
- generating a plurality of task control block (TCB) groups, wherein each of the plurality of TCB groups are restricted to one or more different processing entities of the plurality of processing entities;
- assigning a TCB to one of the plurality of TCB groups, at TCB creation time, wherein TCBs assigned to a TCB group reserve a common set of locks, wherein processing speed of TCBs assigned to the TCB group improves up to a predetermined number of processing entities allocated for processing of the TCBs in the TCB group, and processing speed of TCBs assigned to the TCB group slows down if a greater number of processing entities beyond the predetermined number of processing entities are allocated for processing the TCBs assigned to the TCB group, and wherein no more than the predetermined number of processing entities are allocated for processing the TCBs assigned to the TCB group;
- indicating, for the TCB, a primary processing entities group and a secondary processing entities group;
- and
- in response to determining that the secondary processing entities group has processing cycles available for processing additional TCBs, moving the TCB from the primary processing entities group to the secondary processing entities group for processing.
Dependencies are inferred from the claim text.