Multi-processor task dispatching apparatus
First Claim
1. Tasking apparatus for a multiprocessor computer system including at least two processors sharing a common main storage containing a task dispatching queue adapted to have task dispatching elements enqueued in priority sequence, each processor having a task dispatcher for dispatching task dispatching elements from said task dispatching queue and for performing task switches when its associated processor is processing a task dispatching element having a priority lower than the priority of a waiting dispatchable task dispatching element on said task dispatching queue, said processors each having an enqueueing mechanism for returning waiting non-dispatchable task dispatching elements to said task dispatching queue, the improvement comprising:
- a signal dispatcher for each processor for scanning the priorities of task dispatching elements on said task dispatching queue and signaling another processor to operate its task dispatcher upon finding a task dispatching element on said task dispatching queue having a priority higher than the priority of the task dispatching element being processed by the processor to be signaled, said signal dispatcher being rendered operable in response to said enqueueing mechanism of the associated processor enqueueing a task dispatching element on said task dispatching queue.
1 Assignment
0 Petitions
Accused Products
Abstract
Task dispatching for an asymmetric or symmetric multiprocessor system is provided where all the processors are dispatched from a single task dispatching queue. The workload, i.e. tasks, of the multiprocessor system is distributed to the available processors. Each processor includes a task dispatcher and a signal dispatcher. The signal dispatcher runs in a processor whenever a task dispatching element (TDE) is put on the task dispatching queue (TDQ) as a result of the task running in the processor. The signal dispatcher examines the TDEs enqueued on the TDQ and determines if any task dispatcher should be invoked, i.e. if any processor is running a lower priority task a task switch should occur. If so, it signals the selected processor to invoke its task dispatcher. After completing the task switch, the selected processor must invoke its signal dispatcher to determine if the task it had been performing should now be performed on some other processor in the multiprocessor system.
-
Citations
6 Claims
-
1. Tasking apparatus for a multiprocessor computer system including at least two processors sharing a common main storage containing a task dispatching queue adapted to have task dispatching elements enqueued in priority sequence, each processor having a task dispatcher for dispatching task dispatching elements from said task dispatching queue and for performing task switches when its associated processor is processing a task dispatching element having a priority lower than the priority of a waiting dispatchable task dispatching element on said task dispatching queue, said processors each having an enqueueing mechanism for returning waiting non-dispatchable task dispatching elements to said task dispatching queue, the improvement comprising:
a signal dispatcher for each processor for scanning the priorities of task dispatching elements on said task dispatching queue and signaling another processor to operate its task dispatcher upon finding a task dispatching element on said task dispatching queue having a priority higher than the priority of the task dispatching element being processed by the processor to be signaled, said signal dispatcher being rendered operable in response to said enqueueing mechanism of the associated processor enqueueing a task dispatching element on said task dispatching queue. - View Dependent Claims (2, 3, 4, 5, 6)
Specification