# US 11,119,788 B2 · Serialization floors and deadline driven control for performance optimization of asymmetric multiprocessor systems

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

- Number: US 11,119,788 B2
- Document ID: US11119788B2
- Status: Granted
- Kind: B2
- Application number: 16/376,785
- Filed: 2019-04-05
- Published: 2020-03-05
- Granted: 2021-09-14
- Earliest claimed: 2018-09-04
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Aditya Venkataraman; Bryan R. Hinch; John G. Dorsey
- Web page: https://patentgrep.com/patent/US11119788B2

## CPC

- G06F 9/3877: {using a secondary processor, e.g. coprocessor (peripheral processor G06F13/12)}
- G06F 9/4893: {taking into account power or heat criteria (power management in computers in general G06F1/3203; thermal management in computers in general G06F1/206)}
- G06F 1/3228: Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands
- G06F 1/324: by lowering clock frequency
- G06F 1/3243: {Power saving in microcontroller unit}
- G06F 1/329: by task scheduling
- G06F 1/3296: by lowering the supply or operating voltage
- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 9/4887: {involving deadlines, e.g. rate based, periodic}
- G06F 9/5094: {where the allocation takes into account power or heat criteria (power management in computers in general G06F1/3203; thermal management in computers in general G06F1/206)}
- 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

Closed loop performance controllers of asymmetric multiprocessor systems may be configured and operated to improve performance and power efficiency of such systems by adjusting control effort parameters that determine the dynamic voltage and frequency state of the processors and coprocessors of the system in response to the workload. One example of such an arrangement includes applying hysteresis to the control effort parameter and/or seeding the control effort parameter so that the processor or coprocessor receives a returning workload in a higher performance state. Another example of such an arrangement includes deadline driven control, in which the control effort parameter for one or more processing agents may be increased in response to deadlines not being met for a workload and/or decreased in response to deadlines being met too far in advance. The performance increase/decrease may be determined by comparison of various performance metrics for each of the processing agents.

## Claims

### Claim 1

A method of controlling performance of one or more processors or coprocessors of an asymmetric multiprocessor system, the method comprising:
executing a thread group on a processor and a coprocessor of the asymmetric multiprocessor system, wherein the thread group has a first control effort parameter corresponding to the processor and a second control effort parameter corresponding to the coprocessor; and at least one of:
performing a hysteretic adjustment of the first control effort parameter to slow a transition of the processor to a low power state while a workload associated with the thread group is executing on the coprocessor; or
performing a hysteretic adjustment of the second control effort parameter to slow a transition of the coprocessor to a low power state while the workload associated with the thread group is executing on the processor.

### Claim 2 (depends on 1)

The method of claim 1 wherein the hysteretic adjustment of at least one of the first control effort parameter and the second control effort parameter includes delaying a time between the workload being submitted to the coprocessor and decreasing the first control effort parameter.

### Claim 3 (depends on 1)

The method of claim 1 wherein the hysteretic adjustment includes decreasing a rate at which the first control effort parameter decreases.

### Claim 4 (depends on 1)

The method of claim 1 wherein the processor is selected from the group consisting of a central processing unit, a graphics processing unit, a general purpose graphics processing unit, a neural engine, an image signal processor, and a scaling and rotating engine.

### Claim 5 (depends on 1)

The method of claim 1 wherein the coprocessor is selected from the group consisting of a central processing unit, a graphics processing unit, a general purpose graphics processing unit, a neural engine, an image signal processor, and a scaling and rotating engine.

### Claim 6 (depends on 1)

The method of claim 1 wherein the first and second control effort parameters respectively affect at least one of an allocated subset of cores or execution units and a dynamic voltage and frequency state of the processor or the coprocessor.

### Claim 7

An asymmetric multiprocessor system comprising:
a processor complex comprising one or more processors;
one or more coprocessors;
a closed loop performance controller configured to control performance of the one or more processors and the one or more coprocessors; and
an operating system executing on the processor complex, the operating system comprising an input/output service interactive with the closed loop performance controller and one or more drivers corresponding to the one or more coprocessors;
wherein the closed loop performance controller is configured to cooperate with the operating system, the processor complex, and the one or more coprocessors to:
execute a thread group on a processor and a coprocessor of the asymmetric multiprocessor system, wherein the thread group has a first control effort parameter corresponding to the processor and a second control effort parameter corresponding to the coprocessor; and at least one of:
perform a hysteretic adjustment of the first control effort parameter to slow a transition of the processor to a low power state while a workload associated with the thread group is executing on the coprocessor; or
perform a hysteretic adjustment of the second control effort parameter to slow a transition of the coprocessor to a low power state while a workload associated with the thread group is executing on the processor.

### Claim 8 (depends on 7)

The asymmetric multiprocessor system of claim 7 wherein the hysteretic adjustment of at least one of the first control effort parameter and the second control effort parameter includes delaying a time between the workload being submitted to the coprocessor and decreasing the first control effort parameter.

### Claim 9 (depends on 7)

The asymmetric multiprocessor system of claim 7 wherein the hysteretic adjustment includes decreasing a rate at which the first control effort parameter decreases.

### Claim 10 (depends on 7)

The asymmetric multiprocessor system of claim 7 wherein the processor is selected from the group consisting of a central processing unit, a graphics processing unit, a general purpose graphics processing unit, a neural engine, an image signal processor, and a scaling and rotating engine.

### Claim 11 (depends on 7)

The asymmetric multiprocessor system of claim 7 wherein the coprocessor is selected from the group consisting of a central processing unit, a graphics processing unit, a general purpose graphics processing unit, a neural engine, an image signal processor, and a scaling and rotating engine.

### Claim 12 (depends on 7)

The asymmetric multiprocessor system of claim 7 wherein the first and second control effort parameters respectively affect at least one of an allocated subset of cores or execution units and a dynamic voltage and frequency state of the processor or the coprocessor.
