# US 9,354,935 B2 · Work processing apparatus for scheduling work, control apparatus for scheduling activation, and work scheduling method in a symmetric multi-processing environment

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

- Number: US 9,354,935 B2
- Document ID: US9354935B2
- Status: Granted
- Kind: B2
- Application number: 13/052,365
- Filed: 2011-03-21
- Published: 2012-02-23
- Granted: 2016-05-31
- Earliest claimed: 2010-08-18
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Sung-Hak Lee; Dong-Woo Im; Sung-Jong Seo; Hyo-Jung Song; Seung-Mo Cho
- Inventors: Sung-Hak Lee; Dong-Woo Im; Sung-Jong Seo; Hyo-Jung Song; Seung-Mo Cho
- Web page: https://patentgrep.com/patent/US9354935B2

## CPC

- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 2209/506: Constraint
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A work scheduling technology in a symmetric multi-processing (SMP) environment is provided. A work scheduling function for a SMP environment is implemented in a work processing apparatus, thereby reducing the scheduling overhead, and enhancing the efficiency in use of CPU resources and improving the CPU performance.

## Claims

### Claim 1

A work processing apparatus for work scheduling, the work processing apparatus comprising:
a processor;
a scheduling function activator implemented by the processor and configured to send a scheduling function activating request to a scheduling activation controlling apparatus and configured to activate the function of work scheduling based on an authorization for the scheduling function that is received from the scheduling activation controlling apparatus;
a scheduler implemented by the processor and configured to resolve work dependency of works associated with another work, in response to work scheduling being activated from the scheduling function activator, and configured to perform scheduling on the works of which the work dependency is resolved; and
a work requester implemented by the processor and configured to request at least one other work processing apparatus to process the work scheduled by the scheduler after the work dependency is resolved,
wherein the scheduler is further configured to
search for a work associated with another work in a dependency work queue,
detect works of which a work dependency is resolved, from among works found in a dependency work queue, wherein the works of which a work dependency is processing and that are enqueued in a work finish queue, and
transfer the detected works to a work runnable queue.

### Claim 2 (depends on 1)

The work processing apparatus of claim 1, wherein the scheduler further comprises a dependency resolver configured to resolve work dependency by dequeuing works that finish processing from a work runnable queue and enqueuing the works that finish processing in a work finish queue.

### Claim 3 (depends on 1)

The work processing apparatus of claim 1, wherein the work requester sends another work processing apparatus a signal requesting the other work processing apparatus to process the works that are enqueued in the work runnable queue.

### Claim 4

A work scheduling method in a symmetric multiprocessing environment, the work scheduling method comprising:
sending, at a scheduling function activator, a scheduling function activating request to a scheduling activation controlling apparatus for controlling scheduling function activating;
activating, at the scheduling function activator the function of work scheduling based on an authorization for the scheduling function activating received from the scheduling activation controlling apparatus;
performing at a scheduler, work scheduling in which a work processing apparatus having a function of work scheduling resolves work dependency of works associated with another work, in response to the function of work scheduling being activated; and performing a scheduling on the works of which the work dependency is resolved; and
requesting, at a work requester, work processing in which a request is sent to at least one other work processing apparatus to process the works that are scheduled after dependency is resolved,
wherein the performing of work scheduling comprises
searching for a work associated with another work in a dependency work queue,
detecting works of which a work dependency is resolved, from among works found in a dependency work queue, wherein the works of which a work dependency is resolved, have a work dependency that is dependent on only works that are finished processing and that are enqueued in a work finish queue, and
transferring the detected works to a work runnable queue.

### Claim 5 (depends on 4)

The work scheduling method of claim 4, wherein the performing of work scheduling further comprises resolving work dependency by dequeuing works that finish processing from a work runnable queue and enqueuing the works in a work finish queue, before the searching for the dependency work queue.

### Claim 6 (depends on 4)

The work scheduling method of claim 4, wherein the requesting comprises sending a signal for requesting a processing of the work that is enqueued in the work runnable queue, to another work processing apparatus to process the work that is enqueued in the work runnable queue.

### Claim 7 (depends on 4)

The work scheduling method of claim 4, wherein the scheduling activation controlling apparatus selects a work processing apparatus having sent a scheduling function activating request which is received first by the scheduling activation controlling apparatus as a work processing apparatus to perform work scheduling, and sends the selected work processing apparatus a signal for authorizing scheduling activation.

### Claim 8 (depends on 4)

The work scheduling method of claim 4, wherein the scheduling activation controlling apparatus selects an arbitrary work processing apparatus from among work processing apparatuses having sent scheduling function activating requests to the scheduling activation controlling apparatus, as a work processing apparatus to perform work scheduling, and sends the selected work processing apparatus a signal for authorizing scheduling activation.

### Claim 9 (depends on 4)

The work scheduling method of claim 4, wherein the scheduling activation controlling apparatus selects a work processing apparatus having a smallest working load from among work processing apparatuses having sent scheduling function activating requests to the scheduling activation controlling apparatus, as a work processing apparatus to perform work scheduling, and sends the selected work processing apparatus a signal for authorizing scheduling activation.
