# US 8,578,388 B2 · Optimizing the performance of hybrid CPU systems based upon the thread type of applications to be run on the CPUs

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

- Number: US 8,578,388 B2
- Document ID: US8578388B2
- Status: Granted
- Kind: B2
- Application number: 12/911,102
- Filed: 2010-10-25
- Published: 2012-04-26
- Granted: 2013-11-05
- Earliest claimed: 2010-10-25
- Assignees: International Business Machines Corporation
- Applicants: Diane Flemming; Greg R. Mewhinney; David B. Whitworth; Randal C. Swanberg; Eric P. Fried
- Inventors: Diane Flemming; Greg R. Mewhinney; David B. Whitworth; Randal C. Swanberg; Eric P. Fried
- Web page: https://patentgrep.com/patent/US8578388B2

## CPC

- G06F 1/3293: by switching to a less power-consuming processor, e.g. sub-CPU
- G06F 1/206: {comprising thermal management}
- G06F 1/324: by lowering clock frequency
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 2201/865: Monitoring of software
- 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

A hybrid CPU system wherein the plurality of processors forming the hybrid system are initially undifferentiated by type or class. Responsive to the sampling of the threads of a received and loaded computer application to be executed, the function of at least one of the processors is changed so that the threads of the sampled application may be most effectively processed/run on the hybrid system.

## Claims

### Claim 1

A method for optimizing the performance of application programs in hybrid CPU systems having a plurality of different CPUs comprising:
loading an application program into a hybrid CPU system;
sampling said loaded application program, carried out as static analysis of the threads in the application program, to determine whether the application program is single threaded or multithreaded;
running a multithreaded application program on a first CPU;
running a single threaded application program on a second CPU, having the same performance capacity as the first CPU;
wherein said second CPU is run at a higher speed than said first CPU in response to said carrying out of said static analysis;
sampling the running application program to determine if the single or multithread type of the application has changed; and
changing the CPU on which the application is being run responsive to a thread type change.

### Claim 2 (depends on 1)

The method of claim 1 wherein the running speed of the second CPU is increased by increasing bus ratios in said second CPU.

### Claim 3 (depends on 1)

The method of claim 1 wherein:
said hybrid CPU system comprises a plurality of CPUs of the same performance capacity including said first and second CPUs; and
further including reducing the speed of a CPU on which a multithreaded application program is run by reducing bus ratios in the CPU.

### Claim 4 (depends on 3)

The method of claim 3 further including:
predicting thermal power conditions of the hybrid CPU system; and
reducing bus ratios in said CPU on which said multithreaded application is being run responsive to said monitoring.

### Claim 5

A system for optimizing the performance of application programs in hybrid CPU systems having a plurality of different CPUs, said system comprising:
a processor; and
a computer memory holding computer program instructions which when executed by the processor perform the method comprising:
loading an application program into a hybrid CPU system;
sampling said loaded application program carried out as static analysis of the threads in the application program, to determine whether the application program is single threaded or multithreaded;
running a multithreaded application program on a first CPU;
running a single threaded application program on a second CPU, having the same performance capacity as the first CPU;
wherein said second CPU is run at a higher speed than said first CPU in response to said carrying out of said static analysis;
sampling the running application program to determine if the single or multithread type of the application has changed; and
changing the CPU on which the application is being run responsive to a thread type change.

### Claim 6 (depends on 5)

The system of claim 5 wherein the running speed of the second CPU is increased by increasing bus ratios in said second CPU.

### Claim 7 (depends on 5)

The system of claim 5 wherein:
said hybrid CPU system comprises a plurality of CPUs of the same performance capacity including said first and second CPUs; and
said performed method further includes reducing the speed of a CPU on which a multithreaded application program is run by reducing bus ratios in the CPU.

### Claim 8 (depends on 7)

The system of claim 7, wherein said performed method further includes:
predicting thermal power conditions of the hybrid CP J system; and
reducing bus ratios in said CPU on which said multithreaded application is being run responsive to said monitoring.

### Claim 9

A non-transitory computer usable storage medium having stored thereon a computer readable program for optimizing the performance of application programs in hybrid CPU systems having a plurality of different CPUs, wherein the computer readable program when executed on a computer causes the computer to:
load an application program into a hybrid CPU system;
sample said loaded application program, carried out as static analysis of the threads in the application program, to determine whether the application program is single threaded or multithreaded;
run a multithreaded application program on a first CPU;
run a single threaded application program on a second CPU, having the same performance capacity as the first CPU;
wherein said second CPU is run at a higher speed than said first CPU, in response to said carrying out of said static analysis;
sample the running application program to determine if the single or multithread type of the application has changed; and
change the CPU on which the application is being run responsive to a thread type change.

### Claim 10 (depends on 9)

The computer usable medium of claim 9, wherein the running speed of the second CPU is increased by increasing bus ratios in said second CPU.

### Claim 11 (depends on 9)

The computer usable medium of claim 9 wherein:
said hybrid CPU system comprises a plurality of CPUs of the same performance capacity including said first and second CPUs; and
the computer program when executed on a computer further causes the computer to reduce the speed of a CPU on which a multithreaded application program is run by reducing bus ratios in the CPU.

### Claim 12 (depends on 11)

The computer usable medium of claim 11, wherein said computer program when executed on a computer further causes the computer to:
predict thermal power conditions of the hybrid CPU system; and
reduce bus ratios in said CPU on which said multithreaded application is being run responsive to said monitoring.
