# US 2015/0100964 A1 · Apparatus and method for managing migration of tasks between cores based on scheduling policy

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0100964 A1
- Document ID: US20150100964A1
- Status: Published application
- Kind: A1
- Application number: 14/296,783
- Filed: 2014-06-05
- Published: 2015-04-09
- Earliest claimed: 2013-10-08
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Gap Joo NA; Yung Joon JUNG; Chae Deok LIM
- Web page: https://patentgrep.com/patent/US20150100964A1

## CPC

- G06F 9/5088: {involving task migration}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are an apparatus and method for managing migration of tasks between cores based on a scheduling policy, which can provide optimal environments utilizing multiple cores to the tasks with various characteristics. It is possible to schedule tasks in consideration of different characteristics. In particular, it is possible to continuously secure the performance of the multi-core system in an environment for operating a plurality of application programs. It is also possible to optimally utilize all cores of the multi-core system, thereby flexibly handling dynamic variation in characteristics of tasks.

## Claims

### Claim 1

An apparatus for managing migration of tasks between cores based on a scheduling policy, the apparatus comprising:
a task characteristic analysis unit configured to analyze and classify characteristics of the tasks based on a resource allocation history about each task in a multi-core system;
a core-based scheduling policy setting unit configured to set scheduling policies specialized for the cores in the multi-core system based on the classified characteristics of the tasks; and
a scheduling policy-based task migration management unit configured to manage migration policies of the tasks in consideration of the characteristics of the tasks analyzed using the scheduling policies.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein, when the characteristics of the tasks are changed according to a context of the multi-core system, the task characteristic analysis unit analyzes the changed characteristics of the tasks and delivers information on the changed characteristics of the tasks to the scheduling policy-based task migration management unit such that the tasks are migrated according to the changed characteristics of the tasks.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the core-based scheduling policy setting unit sets the scheduling policies specialized for the cores such that the cores in the multi-core system provide optimal operational environments to the tasks with different characteristics.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the core-based scheduling policy setting unit sets a minimum guaranteed execution time and a scheduling unit time of each of the scheduling polices based on information on the classified characteristics of the tasks to form the scheduling polices specialized for the cores and sets the formed scheduling policies for the cores.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the core-based scheduling policy setting unit changes a predetermined scheduling policy for each core to a scheduling policy according to a request from the scheduling policy-based task migration management unit.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the scheduling policy-based task migration management unit determines migration of a specific task based on information on the analyzed characteristics of tasks and scheduling polices for the cores and migrates the specific task to a core suitable for a characteristic of the specific task.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein, when it is determined that the specific task operates at a core not having an optimal scheduling policy, the scheduling policy-based task migration management unit determines migration of the specific task to migrate the specific task to a core having the optimal scheduling policy.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein, when information on the changed characteristics of the tasks is delivered from the task characteristic analysis unit, the scheduling policy-based task migration management unit migrates each task to a core suitable for a changed characteristic of the task based on the delivered information on the changed characteristics of the tasks and the scheduling policies for the cores.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein, when the information on the changed characteristics of the tasks is delivered, the scheduling policy-based task migration management unit determines that the specific task operates at a core not having an optimal scheduling policy to determine migration of the specific task and migrates the specific task to a core having the optimal scheduling policy based on the delivered information on the changed characteristics.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein, when there are a predetermined number or more of tasks with the same characteristic in a specific context of the multi-core system, the scheduling policy-based task migration management unit requests the core-based scheduling policy setting unit to set the same scheduling policy as set for a specific core, for a specific number of cores, in order to prevent the tasks from being concentrated on a specific core according to the characteristics of the tasks.

### Claim 11

A method of managing migration of tasks between cores based on a scheduling policy, the method comprising:
analyzing and classifying characteristics of the tasks based on a resource allocation history about each task in a multi-core system;
setting scheduling policies specialized for the cores in the multi-core system based on the classified characteristics of the tasks; and
managing migration policies of the tasks in consideration of the characteristics of the tasks analyzed using the scheduling policies.

### Claim 12 (depends on 11)

The method of claim 11, wherein the analyzing and classifying comprises, when the characteristic of each task is changed according to a context of the multi-core system, analyzing the changed characteristic of the task.

### Claim 13 (depends on 11)

The method of claim 11, wherein the setting of scheduling policies comprises setting the scheduling policies specialized for the cores such that the cores in the multi-core system provide optimal operational environments to the tasks with different characteristics.

### Claim 14 (depends on 13)

The method of claim 13, wherein the setting of scheduling policies comprises:
setting a minimum guaranteed execution time and a scheduling unit time of each of the scheduling polices based on information on the classified characteristics of the tasks to form the scheduling polices specialized for the cores; and
setting the formed scheduling policies for the cores.

### Claim 15 (depends on 11)

The method of claim 11, wherein the setting of scheduling policies comprises changing a predetermined scheduling policy for each core to a scheduling policy according to a request to manage migration of the tasks.

### Claim 16 (depends on 11)

The method of claim 11, wherein the managing of migration policies comprises:
determining migration of a specific task based on information on the analyzed characteristics of tasks and scheduling polices for the cores; and
migrating the specific task to a core suitable for a characteristic of the specific task.

### Claim 17 (depends on 16)

The method of claim 16, wherein, when it is determined that the specific task operates at a core not having an optimal scheduling policy, the managing of migration policies comprises determining migration of the specific task to migrate the specific task to a core having the optimal scheduling policy.

### Claim 18 (depends on 11)

The method of claim 11, wherein, when information on the changed characteristics of the tasks is delivered, the managing of migration policies comprises migrating each task to a core suitable for a changed characteristic of the task based on the delivered information on the changed characteristics of the tasks and the core-based scheduling policies.

### Claim 19 (depends on 18)

The method of claim 18, wherein, when the information on the changed characteristics of the tasks is delivered, the migrating comprises:
determining that the specific task operates at a core not having an optimal scheduling policy to determine migration of the specific task; and
migrating the specific task to a core having the optimal scheduling policy based on the delivered information on the changed characteristics.

### Claim 20 (depends on 11)

The method of claim 11, wherein, when there are a predetermined number or more of tasks with the same characteristic in a specific context of the multi-core system, the managing of migration policies comprises making a request to set the same scheduling policy as set for a specific core, for a specific number of cores, in order to prevent the tasks from being concentrated on a specific core according to the characteristics of the tasks.
