Thread Selection During Context Switching On A Plurality Of Compute Nodes
First Claim
1. A method of thread selection for context switching on a plurality of compute nodes, the method comprising:
- executing, by a compute node of the plurality of compute nodes, an application using a plurality of threads of execution, including executing one or more of the threads of execution;
predefining power characteristics of each thread available for execution of an application;
selecting, by the compute node from a plurality of available threads of execution for the application, a next thread of execution in dependence upon power characteristics for each of the available threads by determining a current power mode for the compute node while executing a thread of the application, and selecting, from the available threads of execution, the next thread of execution having predefined power characteristics that are consistent with the current power mode; and
executing the selected next thread.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, apparatus, and products are disclosed for thread selection during context switching on a plurality of compute nodes that includes: executing, by a compute node, an application using a plurality of threads of execution, including executing one or more of the threads of execution; selecting, by the compute node from a plurality of available threads of execution for the application, a next thread of execution in dependence upon power characteristics for each of the available threads; determining, by the compute node, whether criteria for a thread context switch are satisfied; and performing, by the compute node, the thread context switch if the criteria for a thread context switch are satisfied, including executing the next thread of execution.
22 Citations
20 Claims
-
1. A method of thread selection for context switching on a plurality of compute nodes, the method comprising:
-
executing, by a compute node of the plurality of compute nodes, an application using a plurality of threads of execution, including executing one or more of the threads of execution; predefining power characteristics of each thread available for execution of an application; selecting, by the compute node from a plurality of available threads of execution for the application, a next thread of execution in dependence upon power characteristics for each of the available threads by determining a current power mode for the compute node while executing a thread of the application, and selecting, from the available threads of execution, the next thread of execution having predefined power characteristics that are consistent with the current power mode; and executing the selected next thread. - View Dependent Claims (2, 3, 5, 6, 7)
-
-
4. (canceled)
-
8. A parallel computer capable of thread selection for context switching on a plurality of compute nodes, the parallel computer comprising the plurality of compute nodes, each of the compute nodes comprising one or more computer processors and computer memory operatively coupled to the computer processors, the computer memory having disposed within it computer program instructions capable of:
-
executing, by a compute node of the plurality of compute nodes, an application using a plurality of threads of execution, including executing one or more of the threads of execution; predefining power characteristics of each thread available for execution of an application; selecting, by the compute node from a plurality of available threads of execution for the application, a next thread of execution in dependence upon power characteristics for each of the available threads by determining a current power mode for the compute node while executing a thread of the application, and selecting, from the available threads of execution, the next thread of execution having predefined power characteristics that are consistent with the current power mode; and executing the selected next thread. - View Dependent Claims (10, 11)
-
-
9. (canceled)
-
12. A computer program product for thread selection for context switching on a plurality of compute nodes, the computer program product disposed upon a computer readable recordable medium, the computer program product comprising computer program instructions capable of:
-
executing, by a compute node of the plurality of compute nodes, an application using a plurality of threads of execution, including executing one or more of the threads of execution; predefining power characteristics of each thread available for execution of an application; selecting, by the compute node from a plurality of available threads of execution for the application, a next thread of execution in dependence upon power characteristics for each of the available threads by determining a current power mode for the compute node while executing a thread of the application, and selecting, from the available threads of execution, the next thread of execution having predefined power characteristics that are consistent with the current power mode; and executing the selected next thread. - View Dependent Claims (13, 14, 16, 17, 18)
-
-
15. (canceled)
-
19. (canceled)
-
20. (canceled)
Specification