Resource allocation in a NUMA architecture based on separate application specified resource and strength preferences for processor and memory resources
First Claim
Patent Images
1. A method of allocating hardware resources for an application program configured to execute in a computer of a type having a Non-Uniform Memory Access (NUMA) architecture, the method comprising:
- in the application program, specifying a resource allocation preference for use in allocating hardware resources for the application program, and specifying an allocation strength preference for use in determining whether to allocate alternate hardware resources when the resource allocation preference specified by the application program cannot be met; and
using the resource allocation preference and allocation strength preference specified by the application program to allocate a selected hardware resource for the application program;
wherein the computer includes a plurality of hardware resources distributed among a plurality of nodes, wherein each node includes processor and memory hardware resources, wherein the processor hardware resources in each node have shorter access times when accessing the memory hardware resources located in the same node than when accessing the memory hardware resources in other nodes, wherein the resource allocation preference includes a home node preference for the application program, wherein the allocation strength preference includes a node strength preference for use in determining whether to allocate hardware resources from another node when a hardware resource disposed in a home node selected using the home node preference is not available, wherein allocating the selected hardware resource for the application program includes allocating memory for the application program from a memory hardware resource disposed in a selected node among the plurality of nodes, and wherein at least one of the resource allocation preference and allocation strength preference for the application program differs for processor and memory hardware resources.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus, program product and method in which application program-specified resource allocation and allocation strength preferences are used to allocate hardware resources from a computer for that application program. The resource allocation preference is used to allocate hardware resources for the application program, while the allocation strength preference is used to determine whether to allocate alternate hardware resources when the resource allocation preference specified by the application program cannot be met.
58 Citations
14 Claims
-
1. A method of allocating hardware resources for an application program configured to execute in a computer of a type having a Non-Uniform Memory Access (NUMA) architecture, the method comprising:
-
in the application program, specifying a resource allocation preference for use in allocating hardware resources for the application program, and specifying an allocation strength preference for use in determining whether to allocate alternate hardware resources when the resource allocation preference specified by the application program cannot be met; and using the resource allocation preference and allocation strength preference specified by the application program to allocate a selected hardware resource for the application program; wherein the computer includes a plurality of hardware resources distributed among a plurality of nodes, wherein each node includes processor and memory hardware resources, wherein the processor hardware resources in each node have shorter access times when accessing the memory hardware resources located in the same node than when accessing the memory hardware resources in other nodes, wherein the resource allocation preference includes a home node preference for the application program, wherein the allocation strength preference includes a node strength preference for use in determining whether to allocate hardware resources from another node when a hardware resource disposed in a home node selected using the home node preference is not available, wherein allocating the selected hardware resource for the application program includes allocating memory for the application program from a memory hardware resource disposed in a selected node among the plurality of nodes, and wherein at least one of the resource allocation preference and allocation strength preference for the application program differs for processor and memory hardware resources. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method of allocating hardware resources for an application program configured to execute in a computer of a type having a Non-Uniform Memory Access (NUMA) architecture, the method comprising:
-
in the application program, specifying a resource allocation preference for use in allocating hardware resources for the application program, and specifying an allocation strength preference for use in determining whether to allocate alternate hardware resources when the resource allocation preference specified by the application program cannot be met; and using the resource allocation preference and allocation strength preference specified by the application program to allocate a selected hardware resource for the application program; wherein the computer includes a plurality of hardware resources distributed among a plurality of nodes, wherein each node includes processor and memory hardware resources, wherein the processor hardware resources in each node have shorter access times when accessing the memory hardware resources located in the same node than when accessing the memory hardware resources in other nodes, wherein the resource allocation preference includes a home node preference for the application program, wherein the allocation strength preference includes a node strength preference for use in determining whether to allocate hardware resources from another node when a hardware resource disposed in a home node selected using the home node preference is not available, wherein allocating the selected hardware resource for the application program includes allocating memory for the application program from a memory hardware resource disposed in a selected node among the plurality of nodes, wherein the node strength preference comprises a first node strength preference for use in determining whether to allocate a processor hardware resource from another node when a processor hardware resource disposed in a home node selected using the home node preference is not available, and wherein the allocation strength preference further includes a second node strength preference for use in determining whether to allocate a memory hardware resource from another node when a memory hardware resource disposed in a home node selected using the home node preference is not available. - View Dependent Claims (14)
-
Specification