# US 2012/0254822 A1 · Processing optimization load adjustment

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

- Number: US 2012/0254822 A1
- Document ID: US20120254822A1
- Status: Published application
- Kind: A1
- Application number: 13/073,626
- Filed: 2011-03-28
- Published: 2012-10-04
- Earliest claimed: 2011-03-28
- Assignees: Microsoft Corporation
- Inventors: Zheng Lin; Akan A. Usoro; Jonathan M. Class
- Web page: https://patentgrep.com/patent/US20120254822A1

## CPC

- G06F 8/41: Compilation
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F 11/3017: {where the computing system is implementing multitasking (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3409: {for performance assessment}
- G06F 2209/5022: Workload threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In embodiments of processing optimization load adjustment, work units of a software build project are processed, and the processing generally maximizes utilization of the processing resources of a computing device. Performance data of the processing resources is collected as the work units of the software build project are processed. A determination is made as to whether utilization of the processing resources is optimal to process the software build project while avoiding adverse resource conditions. The number of the work units that are processing can then be increased in response to determining that utilization of the processing resources is not optimal. Alternatively, the number of the work units that are processing can be decreased in response to determining that utilization of the processing resources exceeds optimal processing. Alternatively, the work units that are processing can be allowed to complete processing without scheduling additional work units for processing.

## Claims

### Claim 1

A computer-implemented method, comprising:
processing work units of a software build project that maximizes utilization of processing resources of a computing device;
collecting performance data of the processing resources as one or more of the work units of the software build project are processed;
determining whether the utilization of the processing resources is optimal to process the software build project while avoiding adverse resource conditions; and
increasing a number of the work units that are processing in response to said determining that utilization of the processing resources is not optimal.

### Claim 2 (depends on 1)

A computer-implemented method as recited in claim 1, further comprising, in response to said determining that utilization of the processing resources exceeds optimal processing, one of:
decreasing the number of the work units that are processing; or
allowing the work units that are processing to complete processing.

### Claim 3 (depends on 1)

A computer-implemented method as recited in claim 1, further comprising scheduling additional work units of the software build project to increase the number of the work units that are processing.

### Claim 4 (depends on 1)

A computer-implemented method as recited in claim 1, wherein parameters of the processing resources are definable as a basis for said determining whether the utilization of the processing resources is optimal.

### Claim 5 (depends on 1)

A computer-implemented method as recited in claim 1, wherein:
the processing resources of the computing device comprise one or more processors (CPU), random access memory (RAM), and a disk input/output (disk I/O) latency threshold; and
the performance data indicates a percentage of CPU utilization, a percentage of available RAM, and disk I/O latency.

### Claim 6 (depends on 1)

A computer-implemented method as recited in claim 1, wherein each work unit of the software build project invokes different levels of processing resources utilization.

### Claim 7 (depends on 1)

A computer-implemented method as recited in claim 1, wherein the performance data for a processing resource is an average of the performance data and collected in real-time intervals.

### Claim 8 (depends on 1)

A computer-implemented method as recited in claim 1, further comprising processing tasks for one or more additional applications that are executing on the computing device;
wherein the performance data indicates utilization of the processing resources to process the tasks for the one or more additional applications and the one or more work units of the software build project; and
wherein said determining whether the utilization of the processing resources is optimal to process the software build project includes avoiding interrupting the processing of the tasks for the one or more additional applications.

### Claim 9

A computing device, comprising:
one or more processors (CPU) configured to execute software instructions;
random access memory (RAM) configured to maintain the software instructions to process work units of a software build project that maximizes utilization of processing resources of the computing device;
performance data counters that maintain performance data of the processing resources as one or more of the work units of the software build project are processed;
a processing optimization service configured to determine whether the utilization of the processing resources is optimal to process the software build project and avoid adverse resource conditions; and
a scheduler configured to schedule additional work units of the software build project to increase a number of the work units for processing in response to a determination that utilization of the processing resources is not optimal.

### Claim 10 (depends on 9)

A computing device as recited in claim 9, wherein, in response to a determination that utilization of the processing resources exceeds optimal processing, the scheduler is further configured to:
decrease the number of the work units for processing; or
allow the work units that are processing to complete processing.

### Claim 11 (depends on 9)

A computing device as recited in claim 9, wherein at least one of:
the scheduler includes the processing optimization service; or
the software build project includes the processing optimization service.

### Claim 12 (depends on 9)

A computing device as recited in claim 9, wherein:
the processing resources of the computing device includes the one or more CPUs, the RAM, and a disk input/output (disk I/O) latency threshold; and
the performance data indicates a percentage of CPU utilization, a percentage of available RAM, and disk I/O latency.

### Claim 13 (depends on 9)

A computing device as recited in claim 9, wherein the processing optimization service is further configured to collect the performance data in real-time intervals from the performance data counters.

### Claim 14 (depends on 9)

A computing device as recited in claim 9, wherein parameters of the processing resources are definable as a basis for said determining whether the utilization of the processing resources is optimal.

### Claim 15 (depends on 9)

A computing device as recited in claim 9, wherein:
the one or more processors are further configured to execute the software instructions for tasks of one or more additional applications that are executed by the computing device; and
wherein the performance data indicates utilization of the processing resources to process the tasks for the one or more additional applications and the one or more work units of the software build project.

### Claim 16 (depends on 15)

A computing device as recited in claim 15, wherein the processing optimization service is further configured to determine whether the utilization of the processing resources is optimal to process the software build project includes to avoid an interruption of the tasks that are processed for the one or more additional applications.

### Claim 17

A computer-implemented method, comprising:
processing tasks of a software application;
processing work units of a software build project;
collecting performance data of processing resources that are utilized for said processing the work units of the software build project and for said processing the tasks of the software application; and
determining whether utilization of the processing resources is optimal for said processing the work units of the software build project without interruption to said processing the tasks of the software application.

### Claim 18 (depends on 17)

The computer-implemented method as recited in claim 17, further comprising increasing a number of the work units that are processing for the software build project if utilization of the processing resources is not optimal.

### Claim 19 (depends on 17)

The computer-implemented method as recited in claim 17, further comprising decreasing a number of the work units that are processing for the software build project if utilization of the processing resources exceeds optimal processing.

### Claim 20 (depends on 17)

The computer-implemented method as recited in claim 17, wherein:
the processing resources comprise one or more processors (CPU), random access memory (RAM), and a disk input/output (disk I/O) latency threshold;
the performance data indicates a percentage of CPU utilization, a percentage of available RAM, and disk I/O latency; and
each work unit of the software build project invokes different levels of processing resources utilization.
