Optimizing the performance of hybrid CPU systems based upon the thread type of applications to be run on the CPUs
AssigneeInternational Business Machines Corporation
InventorsDiane Flemming, Greg R. Mewhinney, David B. Whitworth, Randal C. Swanberg, Eric P. Fried
Life of this patent
Estimating the term…
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.
Claims12
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.
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.
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.
Dependencies are inferred from the claim text.