Performance optimization engine for processor parameter adjustment
AssigneeInternational Business Machines Corporation
InventorsGiles R. Frazier, Michael Karl Gschwind
Life of this patent
Estimating the term…
Abstract
A method for processor parameter adjustment using a performance optimization engine is provided. An aspect includes receiving, by the performance optimization engine comprising a hardware module in a processor of a computer system, a request to adjust an operating parameter of the processor from software that is executing on the computer system. Another aspect includes determining an adjusted value for the operating parameter by the performance optimization engine during execution of the software. Another aspect includes setting the operating parameter to the adjusted value in a parameter register of the processor. Yet another aspect includes executing the software according to the parameter register by the processor.
Claims15
A computer implemented method for processor parameter adjustment using a performance optimization engine, the method comprising:
- receiving, by the performance optimization engine comprising a hardware module in a processor of a computer system, a request to adjust an operating parameter of the processor from software that is executing on the computer system, wherein the request comprises a target performance range for the processor;
- determining an adjusted value for the operating parameter by the performance optimization engine during execution of the software;
- setting the operating parameter to the adjusted value in a parameter register of the processor;
- executing the software according to the parameter register by the processor;
- and
- performing, by the performance optimization engine:
- determining a current performance of the processor;
- determining whether the current performance is within the target performance range;
- based on determining that the current performance is not within the target performance range, adjusting the operating parameter in the parameter register;
- determining whether the adjusted operating parameter is to a minimum value or a maximum value of the operating parameter;
- and
- based on determining that the adjusted operating parameter is equal to the minimum value or maximum value of the operating parameter, notifying the software that the target performance range cannot be achieved.
A computer program product for implementing processor parameter adjustment using a performance optimization engine, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a processing circuit to cause the processing circuit to perform a method, the method comprising:
- receiving, by a performance optimization engine comprising a hardware module in a processor of a computer system, a request to adjust an operating parameter of the processor from software that is executing on the computer system, wherein the request comprises a target performance rang for the processor;
- determining an adjusted value for the operating parameter by the performance optimization engine during execution of the software;
- setting the operating parameter to the adjusted value in a parameter register of the processor;
- executing the software according to the parameter register by the processor;
- and
- performing, by the performance optimization engine:
- determining a current performance of the processor;
- determining whether the current performance is within the target performance range;
- based on determining that the current performance is not within the target performance range, adjusting the operating parameter in the parameter register;
- determining whether the adjusted operating parameter is equal to a minimum value or a maximum value of the operating parameter;
- and
- based on determining that the adjusted operating parameter is equal to the minimum value or maximum value of the operating parameter, notifying the software that the target performance range cannot be achieved.
A computer system for processor parameter adjustment using a performance optimization engine, the system comprising:
- a memory;
- and
- a processor, communicatively coupled to said memory, the computer system configured to perform a method comprising:
- receiving, by the performance optimization engine comprising a hardware module in the processor of the computer system, a request to adjust an operating parameter of the processor from software that is executing on the computer system, wherein the request comprises a target performance range for the processor;
- determining an adjusted value for the operating parameter by the performance optimization engine during execution of the software;
- setting the operating parameter to the adjusted value in a parameter register of the processor;
- executing the software according to the parameter register by the processor;
- and
- performing, by the performance optimization engine:
- determining a current performance of the processor;
- determining whether the current performance is within the target performance range;
- based on determining that the current performance is not within the target performance range, adjusting the operating parameter in the parameter register;
- determining whether the adjusted operating parameter is equal to a minimum value or a maximum value of the operating parameter;
- and
- based on determining that the adjusted operating parameter is equal to the minimum value or maximum value of the operating parameter, notifying the software that the target performance range cannot be achieved.
Dependencies are inferred from the claim text.