Patent ID: 8490094

Claim:
A computer-implemented method for performing non-uniform memory access (NUMA) optimizations in a computer system that includes a plurality of logical partitions defined on a plurality of nodes that each have multiple physical processors coupled to a local memory, the plurality of logical partitions including a plurality of shared logical partitions that share a pool of common nodes in the computer system, the method comprising the steps of: (A) enabling NUMA optimizations in at least one operating system in at least one dedicated logical partition; and (B) enabling NUMA optimizations in a plurality of operating systems in a plurality of shared logical partitions; (C) each operating system in the plurality of shared logical partitions performing the steps of: assigning a home node to a task when the task is created; assigning the task to a first virtual processor corresponding to the home node when the first virtual processor is available; and assigning the task to a second virtual processor corresponding to a node other than the home node with a parameter that specifies the home node when the first virtual processor is not available.