# US 2017/0286135 A1 · Real-time adjustment of application-specific operating parameters for backwards compatibility

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

- Number: US 2017/0286135 A1
- Document ID: US20170286135A1
- Status: Published application
- Kind: A1
- Application number: 15/466,769
- Filed: 2017-03-22
- Published: 2017-10-05
- Earliest claimed: 2016-03-30
- Assignees: Sony Interactive Entertainment Inc.
- Inventors: Mark Evan Cerny; David Simpson
- Web page: https://patentgrep.com/patent/US20170286135A1

## CPC

- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- A63F 13/50: Controlling the output signals based on the game progress
- A63F 13/60: Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3419: {by assessing time}
- G06F 11/3442: {for planning or managing the needed capacity}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 8/76: Adapting program code to run in a different environment; Porting
- G06F 2201/865: Monitoring of software
- G06F 2201/88: Monitoring involving counting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR

## Abstract

Performance of a new system may be optimized to run a legacy application written for a legacy system. Performance information for the legacy application is recorded or derived while running the legacy application on the new system. Performance characteristics for the legacy application running on the new system are determined by analyzing the performance information. The performance characteristics include one or more key performance metrics and other performance information. The key performance metrics must be met when the legacy application is run on the new system. The other performance information is useful for adjusting one or more operating parameters of the new system when running the legacy application on the new system. The one or more operating parameters are adjusted so that the one or more key performance metrics are met.

## Claims

### Claim 1

A method for optimizing performance of a new system to run a legacy application written for a legacy system, comprising:
running the legacy application on the new system;
recording or deriving performance information for the legacy application while running the legacy application on the new system;
determining performance characteristics for the legacy application running on the new system by analyzing the performance information, the performance characteristics including one or more key performance metrics and other performance information, wherein the one or more key performance metrics must be met when the legacy application is run on the new system and wherein the other performance information is useful for adjusting one or more operating parameters of the new system when running the legacy application on the new system; and
adjusting the one or more operating parameters so that the one or more key performance metrics are met.

### Claim 2 (depends on 1)

The method of claim 1, wherein recording or deriving the performance information includes counting clock cycles between events during program execution.

### Claim 3 (depends on 1)

The method of claim 1, wherein recording or deriving the performance information includes reading values stored in one or more dedicated processor registers that keep track of information related to execution of the application.

### Claim 4 (depends on 3)

The method of claim 3, wherein the information stored in the one or more dedicated processor registers includes a counter value.

### Claim 5 (depends on 4)

The method of claim 4, wherein the counter value is a program counter value.

### Claim 6 (depends on 4)

The method of claim 4, wherein the counter value is a value of a counter for memory cycles, arithmetic logic unit (ALU) cycles, or pixels.

### Claim 7 (depends on 1)

The method of claim 1, wherein recording or deriving the performance information includes detecting busy waits.

### Claim 8 (depends on 1)

The method of claim 1, wherein the one or more key performance metrics include to frames per second.

### Claim 9 (depends on 1)

The method of claim 1, wherein the one or more key performance metrics include instructions per cycle (IPC) binned to a program counter (PC) range

### Claim 10 (depends on 1)

The method of claim 1, wherein the other performance information is derived indirectly.

### Claim 11 (depends on 9)

The method of claim 9, wherein the other performance information derived indirectly includes an average parallel processing hardware scheduling unit occupancy per unit time, an average parallel processing hardware scheduling unit lifetime, an average latency for memory operations, or a count of pixels output to render targets per unit time.

### Claim 12 (depends on 1)

The method of claim 1, wherein determining the performance characteristics for the legacy application includes determining which performance information values are useful for tuning operating parameters of the new system.

### Claim 13 (depends on 12)

The method of claim 12, wherein determining which performance information values are useful for tuning operating parameters of the new system includes determining one or more correlations between changes in key performance information values and operating parameters.

### Claim 14 (depends on 12)

The method of claim 12, wherein determining which performance information values are useful for tuning operating parameters of the new system includes determining one or more correlations between changes in key performance information values and operating parameters through multivariate analysis.

### Claim 15 (depends on 1)

The method of claim 1, wherein the legacy system and new system are video game systems.

### Claim 16 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes setting a number of general purpose registers (GPRs) on the new hardware to the same number as the legacy hardware.

### Claim 17 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes using a legacy algorithm for certain operations of the new system.

### Claim 18 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes disabling one or more features of the new hardware.

### Claim 19 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes adjusting execution of legacy application on the new system to match a latency on the new system to a corresponding latency for the legacy system.

### Claim 20 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes allocating more resources on the new system than on the legacy system.

### Claim 21 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes adjusting an instruction launch rate.

### Claim 22 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes not allowing arithmetic logic unit (ALU) operation every N cycles, where N is an integer greater than or equal to 1.

### Claim 23 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes not allowing memory unit operation every N cycles, where N is an integer greater than or equal to 1.

### Claim 24 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes selectively allocating general purpose registers (GPRs)

### Claim 25 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes throttling a parallel processing hardware scheduling unit launch rate.

### Claim 26 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes throttling an output rate from one or more render backends that write pixels out to render targets at a bottom of a graphics pipeline.

### Claim 27 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes stalling one or more memory operations from finishing.

### Claim 28 (depends on 1)

The method of claim 1, wherein adjusting the one or more operating parameters so that the one or more key performance metrics are met includes running a clock on the new system at a different rate.

### Claim 29

A system, comprising:
a processor;
a memory; and
processor executable instructions embodied in the memory, the instructions being configured to implement a method for optimizing performance of a new system to run a legacy application written for a legacy system, the method comprising:
running the legacy application on the new system;
recording or deriving performance information for the legacy application while running the legacy application on the new system;
determining performance characteristics for the legacy application running on the new system by analyzing the performance information, the performance characteristics including one or more key performance metrics and other performance information, wherein the one or more key performance metrics must be met when the legacy application is run on the new system and wherein the other performance information is useful for adjusting one or more operating parameters of the new system when running the legacy application on the new system; and
adjusting the one or more operating parameters so that the one or more key performance metrics are met.

### Claim 30

A non-transitory computer readable medium having computer readable instructions embodied therein, the instructions being configured to implement a method for characterizing performance of a legacy application for subsequent adjustment of operating parameters when running the legacy application on a new system, the method comprising:
running the legacy application on the new system;
recording or deriving performance information for the legacy application while running the legacy application on the new system;
determining performance characteristics for the legacy application running on the new system by analyzing the performance information, the performance characteristics including one or more key performance metrics and other performance information, wherein the one or more key performance metrics must be met when the legacy application is run on the new system and wherein the other performance information is useful for adjusting one or more operating parameters of the new system when running the legacy application on the new system; and
adjusting the one or more operating parameters so that the one or more key performance metrics are met.
