Task allocation device, task allocation method, and storage medium storing task allocation program
First Claim
1. A task allocation device comprising:
- a multi-core processor including a plurality of computational cores with different running performance;
a task pool that stores executable tasks, the task pool being placed for each of the computational cores;
a task scheduler configured to insert a new task into the task pool and acquire a task from the task pool; and
a reference count analysis module configured to calculate a reference count of a task, the reference count indicating a number of other tasks that refer to a processing result of the task, wherein;
the reference count analysis module is configured to;
calculate the reference count of a task newly inserted into the task pool or the reference count of a task existing in the task pool, based on the other tasks currently being executed or the other tasks already done, while other preceding tasks are executed by the computational cores,acquire hint information and a reference count estimation method from a running task, andestimate the reference count from the hint information based on the reference count estimation method; and
the task scheduler is configured to insert or acquire the task into or from the task pool based on the reference count calculated by the reference count analysis module.
1 Assignment
0 Petitions
Accused Products
Abstract
To reduce performance degradation due to a high-performance core'"'"'s waiting for a processing result of a low-performance core in a multi-core processor including a plurality of cores with different running performance, included are a task pool that stores executable tasks for each computational core, a task scheduler, and a reference count analysis module that acquires hint information and a reference count estimation method from a running task and estimates a reference count of a task to be newly inserted into the task pool or a task existing in the task pool based on the specified method. The scheduler performs insertion and acquisition of a task by mainly using performance of the cores and the reference count.
8 Citations
6 Claims
-
1. A task allocation device comprising:
-
a multi-core processor including a plurality of computational cores with different running performance; a task pool that stores executable tasks, the task pool being placed for each of the computational cores; a task scheduler configured to insert a new task into the task pool and acquire a task from the task pool; and a reference count analysis module configured to calculate a reference count of a task, the reference count indicating a number of other tasks that refer to a processing result of the task, wherein; the reference count analysis module is configured to; calculate the reference count of a task newly inserted into the task pool or the reference count of a task existing in the task pool, based on the other tasks currently being executed or the other tasks already done, while other preceding tasks are executed by the computational cores, acquire hint information and a reference count estimation method from a running task, and estimate the reference count from the hint information based on the reference count estimation method; and the task scheduler is configured to insert or acquire the task into or from the task pool based on the reference count calculated by the reference count analysis module. - View Dependent Claims (2)
-
-
3. A task allocation method comprising:
-
calculating a reference count of a task newly inserted into a task pool or the reference count of a task existing in a task pool, based on other tasks currently being executed or other tasks already done, while other preceding tasks are executed by computational cores, the reference count indicating a number of the other tasks that refer to a processing result of the task; acquiring hint information and a reference count estimation method from a running task; estimating the reference count from the hint information based on the reference count estimation method; and performing insertion of a task into the task pool and acquisition of a task from the task pool based on the calculated reference count. - View Dependent Claims (4)
-
-
5. A non-transitory computer readable storage medium ukringu program therein, the program being executed by a computer to cause the computer to execute processing comprising:
-
calculating a reference count of a task newly inserted into a task pool or the reference count of a task existing in a task pool, based on other tasks currently being executed or other tasks already done, while other preceding tasks are executed by computational cores, the reference count indicating a number of the other tasks that refer to a processing result of the task, acquiring hint information and a reference count estimation method from a running task, estimating the reference count from the hint information based on the reference count estimation method; and performing insertion of a task into the task pool and acquisition of a task from the task pool based on the calculated reference count. - View Dependent Claims (6)
-
Specification