IP Library › Granted Patent US 9,003,218
Granted Patent B2
US 9,003,218 · App. 13/476,179 · Granted Apr 7, 2015

Power shifting in multicore platforms by varying SMT levels

Inventors: Pradip Bose (Yorktown Heights, NY); Alper Buyuktosunoglu (White Plains, NY); Dilma Menezes Da Silva (White Plains, NY); Hubertus Franke (Cortlandt Manor, NY); Priyanka Tembey (Atlanta, GA)
Assignee: International Business Machines Corporation
G06F1/26G06F1/3203
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,003,218
App. No.
13/476,179
Granted
Apr 7, 2015
Kind
B2
Abstract

Power consumption in a microprocessor platform is managed by setting a peak power level for power consumed by a multi-core microprocessor platform executing multi-threaded applications. The multi-core microprocessor platform contains a plurality of physical cores, and each physical core is configurable into a plurality of logical cores. A simultaneous multithreading level in at least one physical core is adjusted by changing the number of logical cores on that physical core in response to a power consumption level of the multi-core microprocessor platform exceeding the peak power level. Performance and power data based on simultaneous multi-threading levels are used in selecting the physical core to be adjusted.

Claims (52)

1. A method for managing power consumption in a microprocessor platform, the method comprising:

setting a peak power level for power consumed by a multi-core microprocessor platform executing multi-threaded applications, the multi-core microprocessor platform comprising a plurality of physical cores, each physical core configurable into a plurality of logical cores, each logical core executing a hardware thread from the multi-threaded application; and

adjusting a simultaneous multithreading level in at least one physical core by changing a number of hardware threads executing on that physical core in response to a power consumption level of the multi-core microprocessor platform exceeding the peak power level;

wherein the step of adjusting the simultaneous multithreading level further comprises decreasing the number of hardware threads executing for a plurality of physical cores in series until a current power consumption level is less than or equal to the peak power level.

2. The method of claim 1 , wherein the step of adjusting the simultaneous multithreading level further comprises adjusting the multithreading level in a plurality of physical cores by changing the number of hardware threads executing on each physical core.

3. The method of claim 2 , wherein changing the number of hardware threads executing further comprises decreasing the number of hardware threads executing on at least one physical core and increasing the number of hardware threads executing on at least one physical core.

4. The method of claim 1 , wherein:

the method further comprises monitoring the current power level consumption continuously; and

repeating the serial decreasing of the number of hardware threads executing through the plurality of physical cores each time the current power consumption level exceeds the peak power level.

5. The method of claim 1 , wherein the step of adjusting the simultaneous multithreading level further comprises decreasing the number of hardware threads executing for a given physical core having a lowest number of currently executing instructions per second among the plurality of physical cores.

6. The method of claim 1 , wherein the step of adjusting the simultaneous multithreading level further comprises decreasing the number of hardware threads executing for a plurality of physical cores in series based upon a number of currently executing instructions per second on each physical core from a lowest number of instructions per second to a highest number of instructions per second until a current power consumption level is less than or equal to the peak power level.

7. The method of claim 1 , wherein the method further comprises monitoring the number of currently executing instructions per second continuously for each one of the plurality of physical cores.

8. The method of claim 1 , wherein the step of adjusting the simultaneous multithreading level further comprises adjusting the simultaneous multithreading level in a plurality of physical cores to achieve a desired power savings and to maximize performance of the multi-core microprocessor platform in executing multi-threaded applications.

9. The method of claim 1 , wherein the step of adjusting the simultaneous multithreading level further comprises:

using a power consumption curve of multi-threaded application execution time versus power consumption and a performance curve of level of multi-threading versus amount of speedup in multi-threaded application execution for each physical core to select one or more physical cores; and

adjusting the simultaneous multithreading level in the selected physical cores to achieve a desired power savings and to maximize performance of the multi-core microprocessor platform in executing multi-threaded applications.

10. The method of claim 9 , wherein the step of adjusting the simultaneous multi-threading level in the selected physical cores comprises shifting the multi-threading level among the selected physical cores by decreasing the number of hardware threads executing on at least one selected physical core and increasing the number of hardware threads executing on at least one selected physical core.

11. The method of claim 1 , wherein the step of adjusting the simultaneous multi-threading level further comprises:

arranging the plurality of physical cores into a plurality of bins, each bin comprising a subset of the plurality of physical cores, each physical core in a given bin having a common power consumption curve of multi-threaded application execution time versus power consumption and a common performance curve of level of multi-threading versus amount of speedup in multi-threaded application execution for a given adjustment of multi-threading level;

selecting at least one bin from the plurality of bins; and

adjusting simultaneous multi-threading levels for all physical cores in each selected bin.

12. The method of claim 9 , wherein the step of using the power consumption curve and the performance curve further comprises selecting physical cores that realize power savings without a decrease in performance for a given decrease in multi-threading level of those physical cores.

13. The method of claim 9 , wherein the step of using the power consumption curve and the performance curve further comprises selecting physical cores having a largest ratio of power savings to performance decrease for a given decrease in multi-threading level of those physical cores.

14. The method of claim 9 , wherein the step of using the power consumption curve and the performance curve further comprises:

identifying physical cores running applications having memory intensive phases during which a given decrease in multi-threading level is possible without a decrease in performance and central processing unit intensive phases in which the given decrease in multi-threading level yields a decrease in performance; and

selecting physical cores during the memory intensive phases.

15. A method for managing power consumption in a microprocessor platform, the method comprising:

setting a peak power level for power consumed by a multi-core microprocessor platform executing multi-threaded applications, the multi-core microprocessor platform comprising a plurality of physical cores, each physical core configurable into a plurality of logical cores, each logical core executing a hardware thread from the multi-threaded application;

monitoring a number of currently executing instructions per second continuously for each one of the plurality of physical cores; and

adjusting a simultaneous multithreading level in the physical cores in response to a power consumption level of the multi-core microprocessor platform exceeding the peak power level by decreasing the number of hardware threads executing for a plurality of physical cores in series based upon a number of currently executing instructions per second on each physical core from a lowest number of instructions per second to a highest number of instructions per second until a current power consumption level is less than or equal to the peak power level.

16. A method for managing power consumption in a microprocessor platform, the method comprising:

setting a peak power level for power consumed by a multi-core microprocessor platform executing multi-threaded applications, the multi-core microprocessor platform comprising a plurality of physical cores, each physical core configurable into a plurality of logical cores;

maintaining using a power consumption curve of multi-threaded application execution time versus power consumption and a performance curve of level of multi-threading versus amount of speedup in multi-threaded application execution for each physical core;

arranging the plurality of physical cores into a plurality of bins, each bin comprising a subset of the plurality of physical cores, each physical core in a given bin having a common power consumption curve and a common performance curve; and

adjusting a simultaneous multithreading level in the physical cores in response to a power consumption level of the multi-core microprocessor platform exceeding the peak power level by:

selecting at least one bin from the plurality of bins; and

adjusting simultaneous multi-threading levels for all physical cores in each selected bin.

17. A non-transitory computer-readable storage medium containing a computer-readable code that when read by a computer causes the computer to perform a method for managing power consumption in a microprocessor platform, the method comprising:

setting a peak power level for power consumed by a multi-core microprocessor platform executing multi-threaded applications, the multi-core microprocessor platform comprising a plurality of physical cores, each physical core configurable into a plurality of logical cores, each logical core executing a hardware thread from the multi-threaded application; and

adjusting a simultaneous multithreading level in at least one physical core by changing a number of hardware threads executing on that physical core in response to a power consumption level of the multi-core microprocessor platform exceeding the peak power level;

wherein the step of adjusting the simultaneous multithreading level further comprises decreasing the number of hardware threads executing for a plurality of physical cores in series until a current power consumption level is less than or equal to the peak power level.

18. The non-transitory computer-readable storage medium of claim 17 , wherein the step of adjusting the simultaneous multithreading level further comprises adjusting the multithreading level in a plurality of physical cores by decreasing the number of hardware threads executing on at least one physical core and increasing the number of hardware threads executing on at least one physical core.

19. The non-transitory computer-readable storage medium of claim 17 , wherein the step of adjusting the simultaneous multithreading level further comprises decreasing the number of hardware threads executing for a plurality of physical cores in series based upon a number of currently executing instructions per second on each physical core from a lowest number of instructions per second to a highest number of instructions per second until a current power consumption level is less than or equal to the peak power level.

20. The non-transitory computer-readable storage medium of claim 17 , wherein the step of adjusting the simultaneous multithreading level further comprises:

using a power consumption curve of multi-threaded application execution time versus power consumption and a performance curve of level of multi-threading versus amount of speedup in multi-threaded application execution for each physical core to select one or more physical cores; and

adjusting the simultaneous multithreading level in the selected physical cores to achieve a desired power savings and to maximize performance of the multi-core microprocessor platform in executing multi-threaded applications.

21. The non-transitory computer-readable storage medium of claim 20 , wherein the step of adjusting the simultaneous multi-threading level in the selected physical cores comprises shifting the multi-threading level among the selected physical cores by decreasing the number of hardware threads executing on at least one selected physical core and increasing the number of hardware threads executing on at least one selected physical core.

22. The non-transitory computer-readable storage medium of claim 20 , wherein the step of using the power consumption curve and the performance curve further comprises selecting physical cores that realize power savings without a decrease in performance for a given decrease in multi-threading level of those physical cores.

23. The non-transitory computer-readable storage medium of claim 17 , wherein the step of adjusting the simultaneous multi-threading level further comprises:

arranging the plurality of physical cores into a plurality of bins, each bin comprising a subset of the plurality of physical cores, each physical core in a given bin having a common power consumption curve of multi-threaded application execution time versus power consumption and a common performance curve of level of multi-threading versus amount of speedup in multi-threaded application execution for a given adjustment of multi-threading level;

selecting at least one bin from the plurality of bins; and

adjusting simultaneous multi-threading levels for all physical cores in each selected bin.

Assignments (5)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 19, 2026
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: KIDON IP CORPORATION
Reel/Frame 074125/0530 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2026
From: KIDON IP CORPORATION
To: CAPROCK INTEGRATED TECHNOLOGIES LLC
Reel/Frame 073866/0504 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2026
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: KIDON IP CORPORATION
Reel/Frame 074975/0477 →
CORRECTIVE ASSIGNMENT TO CORRECT THE THE RECEIVING PARTY DATA PREVIOUSLY RECORDED AT REEL: 28725 FRAME: 9. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Sep 5, 2024
From: BOSE, PRADIP; BUYUKTOSUNOGLU, ALPER; DA SILVA, DILMA MENEZES; FRANKE, HUBERTUS; TEMBEY, PRIYANKA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 068849/0012 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 5, 2012
From: BOSE, PRADIP; BUYUKTOSUNOGLU, ALPER; DA SILVA, DILMA MENEZES; FRANKE, HUBERTUS; TEMBEY, PRIYANKA
To: INTERNATINOAL BUSINESS MACHINES CORPORATION
Reel/Frame 028725/0009 →
Continuity (1)
Related Publication 20130311811A1 · Nov 21, 2013