13-06-2013 дата публикации
Номер: US20130152097A1
A computer-implemented method for allocating threads includes: receiving a registration of a workload, the registration including a workload classification and a workload priority; 1. A computer-implemented method for allocating threads , the method comprising:receiving a registration of a workload, the registration including a workload classification and a workload priority;monitoring statuses of a plurality of resources;identifying, by a computing device, a thread of a resource from the plurality of resources, the thread being programmed to execute a task associated with the workload;evaluating, by the computing device, the workload classification and the workload priority of the workload with workload classifications and workload priorities of other workloads requesting the thread; andallocating the thread to one of the workloads based on evaluation of the workload classification and the workload priority.2. The method of claim 1 , wherein the workload classification is one of internal and external.3. The method of claim 2 , wherein the workload classification is specified by default.4. The method of claim 1 , wherein the allocating is performed in a round-robin fashion when workload priorities are similar.5. The method of claim 1 , wherein the allocating selects a preferred thread allocation when workload priorities are dissimilar.6. The method of claim 1 , wherein the allocating determines whether a thread allocation count parameter exceeds a threshold value.7. The method of claim 6 , wherein the thread allocation count parameter quantifies a number of consecutive times the workload is selected.8. The method of claim 1 , further comprising throttling the workload.9. The method of claim 8 , wherein the throttling is performed when the resource is overloaded.10. The method of claim 9 , further comprising re-allocating the thread for the workload when the resource recovers from overloading.11. The method of claim 1 , further comprising configuring the workload ...
Подробнее