# US 2011/0239220 A1 · Fine grain performance resource management of computer systems

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

- Number: US 2011/0239220 A1
- Document ID: US20110239220A1
- Status: Published application
- Kind: A1
- Application number: 13/072,596
- Filed: 2011-03-25
- Published: 2011-09-29
- Earliest claimed: 2010-03-26
- Assignees: VirtualMetrix, Inc.
- Inventors: Gary Allen Gibson; Valeri Popescu
- Web page: https://patentgrep.com/patent/US20110239220A1

## CPC

- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- G06F 1/324: by lowering clock frequency
- G06F 1/329: by task scheduling
- G06F 9/4887: {involving deadlines, e.g. rate based, periodic}
- G06F 9/5016: {the resource being the memory}
- G06F 2209/507: Low-level
- G06F 2209/508: Monitor
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Execution of a plurality of tasks by a processor system are monitored. Based on this monitoring, tasks requiring adjustment of performance resources are identified by calculating at least one of a progress error or a progress limit error for each task. Thereafter, performance resources of the processor system allocated to each identified task are adjusted. Such adjustment can comprise: adjusting a clock rate of at least one processor in the processor system executing the task, adjusting an amount of cache and/or buffers to be utilized by the task, and/or adjusting an amount of input/output (I/O) bandwidth to be utilized by the task. Related systems, apparatus, methods and articles are also described.

## Claims

### Claim 1

A method comprising:
monitoring execution of a plurality of tasks by a processor system;
identifying, based on the monitoring, tasks requiring adjustment of performance resources by calculating at least one of a progress error and a progress limit error for each task; and
adjusting performance resources of the processor system allocated to each identified task;
wherein adjusting the performance resources comprise one or more of:
adjusting a clock rate of at least one processor in the processor system executing the task;
adjusting an amount of cache and/or buffers to be utilized by the task; or
adjusting an amount of input/output (I/O) bandwidth to be utilized by the task.

### Claim 2 (depends on 1)

A method as in claim 1, wherein the progress error is equal to a differential between work completed by the task and work to be completed by the task.

### Claim 3 (depends on 1)

A method as in claim 1, wherein the progress limit error is equal to a difference between a work completion rate for completed work and an expected work rate for the remainder of the task.

### Claim 4 (depends on 1)

A method as in claim 1, wherein each task is selected from a group comprising: a single task, a group of tasks, a thread, a group of threads, a single state machine, a group of state machines, a single virtual machine, and a group of virtual machines.

### Claim 5 (depends on 1)

A method as in claim 1, wherein the processor comprises a system selected from a group comprising: a single processor, a multi-processor, a processor system supporting simultaneous multi-threading, a multi-core processor.

### Claim 6 (depends on 1)

A method as in claim 1, wherein each task has an associated execution priority and an execution deadline, and wherein the performance resources of the processor system are adjusted to enable each identified task to be completed by its corresponding execution deadline and according to its corresponding execution priority.

### Claim 7 (depends on 1)

A method as in claim 1, wherein the performance resources are adjusted on a task-by-task basis.

### Claim 8 (depends on 1)

A method as in claim 1, wherein each task has an associated performance profile that is used, by a scheduler module, to establish the execution priority and the execution deadline for the task.

### Claim 9 (depends on 8)

A method as in claim 8, wherein the associated performance profile specifies at least one performance parameter.

### Claim 10 (depends on 9)

A method as in claim 9, wherein the performance parameter is a cache occupancy quota specifying an initial maximum and/or minimum amount of buffers to be used by the task, wherein the cache occupancy quota is dynamically adjusted during execution of the task.

### Claim 11 (depends on 10)

A method as in claim 10, wherein the cache occupancy quota is dynamically adjusted based on progress error for the task.

### Claim 12 (depends on 10)

A method as in claim 10, wherein the performance parameter specifies initial bandwidth requirements for the execution of the task, wherein the bandwidth requirements are dynamically adjusted during execution of the task.

### Claim 13 (depends on 1)

A method as in claim 1, further comprising:
determining a processor clock demand rate required by each task; and
computing an aggregate clock demand rate based on the determined processor clock demand rate for all tasks;
wherein the processor system clock rate is adjusted to accommodate the aggregate clock demand rate.

### Claim 14 (depends on 13)

A method as in claim 13, wherein the processor system clock rate is adjusted to the aggregate clock demand rate plus an overhead demand rate.

### Claim 15 (depends on 13)

A method as in claim 13, wherein determining a processor clock demand rate is a product of a current processor system clock rate with expected execution time for completion of the task divided within a time interval.

### Claim 16 (depends on 13)

A method as in claim 13, wherein the processor clock demand rate for each task is updated based on progress errors affecting the performance of the task, wherein the aggregate clock demand rate is updated based on the updated processor clock demand rate for each task.

### Claim 17 (depends on 16)

A method as in claim 16, wherein the updating of the processor clock demand rate for each task or the aggregate clock demand rate uses at least one adaptation function to dampen or enhance rapid rate changes.

### Claim 18 (depends on 13)

A method as in claim 13, wherein a processor clock rate for each task is added to the aggregate clock demand rate when the task is ready-to-run.

### Claim 19 (depends on 13)

A method as in claim 13, wherein the aggregate clock demand rate is calculated over a period of time such that, at times, the processor system clock rate is higher than the aggregate clock demand rate, and at other times, the processor system clock rate is lower than the aggregate clock demand rate.

### Claim 20 (depends on 13)

A method as in claim 13, wherein the processor system comprises at least two processors, and wherein the aggregate clock demand rate is determined for each of the at least two processors and is based on the processor demand rate for tasks executing using the corresponding processor, and wherein the clock rate for each of the at least two processors are adjusted separately and accordingly.

### Claim 21 (depends on 1)

A method as in claim 1, wherein each task is allocated physical memory, and wherein the method further comprises: enabling at least one task to utilize at least one virtual memory address space, the at least one virtual memory address space being mapped to at least a portion of the physical memory.

### Claim 22

A method comprising:
monitoring execution of a plurality of tasks by a processor system to determine at least one monitored value for each of the tasks, the at least one monitored value characterizing at least one factor affecting performance of the corresponding task by the processor system, each task having an associated task performance profile that specifies at least one performance parameter; and
comparing, for each of the tasks, the corresponding monitored value with the corresponding at least one performance parameter specified in the associated task performance profile;
determining, for each of the tasks based on the comparing, whether performance resources utilized for the execution of the task should be adjusted or whether performance resources utilized for the execution of the task should be maintained; and
adjusting performance resources by modifying a processor clock rate for each of the tasks for which it was determined that performance resources allocated to such task should be adjusted and maintaining performance resources for each of the tasks for which it was determined that performance resources allocated to the task should be maintained.

### Claim 23 (depends on 22)

A method as in claim 22, wherein the monitored value characterizes an amount of work completed by the task.

### Claim 24 (depends on 23)

A method as in claim 23, wherein the amount of work completed by the task is derived from at least one of: an amount of data transferred when executing the task, a number of processor instructions completed when executing the task, processor cycles, and execution time.

### Claim 25 (depends on 22)

A method as in claim 22, further comprising:
determining, for each task, a current program state for the task;
wherein the associated task performance profile specifies two or more program states having different performance parameters, and wherein the monitored value is compared to the performance parameter for the current program state.

### Claim 26 (depends on 22)

A method as in claim 22, further comprising:
modifying at least one performance profile of a task being executed so that a corresponding performance parameter is changed;
wherein the monitored value is compared to the changed performance parameter.

### Claim 27 (depends on 22)

A method as in claim 22, further comprising:
determining a processor clock demand rate required by each task;
computing an aggregate clock demand rate based on the determined processor clock demand rate for all tasks; and
adjusting a processor system clock to accommodate the aggregate clock demand rate.

### Claim 28 (depends on 27)

A method as in claim 27, further comprising:
dynamically adjusting a processor clock demand rate required by a particular task based on a difference between an expected and completed work rate and at least one progress limiting rate.

### Claim 29 (depends on 28)

A method as in claim 28, wherein the processor clock demand rate required by each task is based on an expected time of completion of the corresponding task.

### Claim 30 (depends on 29)

A method as in claim 29, further comprising:
reducing the processor system clock rate to a level that does not affect the expected time of completion of the tasks.

### Claim 31 (depends on 28)

A method as in claim 28, further comprising:
reducing the processor system clock rate in either of a sleep or idle state until such time that the aggregate clock demand is greater than zero.

### Claim 32 (depends on 28)

A method as in claim 28, wherein the processor system clock rate fluctuates above and below the aggregate clock demand rate during a period of time provided that an average processor system clock rate during the period of time is above or equal to the aggregate clock demand rate.

### Claim 33 (depends on 22)

A method as in claim 22, wherein the performance profile further specifies an occupancy quota influencing an amount of cache and/or buffers a task can utilize.

### Claim 34 (depends on 33)

A method as in claim 33, wherein the occupancy quota is dynamically adjusted based on a difference between an expected or completed work rate and at least one progress limiting rate.

### Claim 35 (depends on 22)

A method as in claim 22, wherein utilization of bandwith by an input/output subsystem of the processor system is controlled so that performance requirements of each task are met.

### Claim 36 (depends on 35)

A method as in claim 35, wherein an amount of bandwidth utilized is dynamically adjusted based on a difference between an expected and completed work rate and at least one progress limiting rate.

### Claim 37

A processor system comprising:
at least one processor;
a plurality of buffers;
a scheduler module to schedule a plurality of tasks to be executed by the at least one processor;
a metering module to monitor execution of the plurality of tasks and to identify tasks that require additional processing resources;
an adaptive clock manager module to selectively adjust a clock rate of the at least one processor when executing a task;
a cache occupancy manager module to selectively adjust a maximum amount of cache and/or buffers to be utilized by a task; and
an input/output bandwidth manager module to selectively adjust a maximum amount of input/output (I/O) bandwidth to be utilized by a task.
