| CPC G06F 9/45554 (2013.01) [G06F 9/45558 (2013.01)] | 20 Claims |

|
1. A method comprising:
assigning, by a hypervisor running on a non-uniform memory access (NUMA) computer system, a virtual NUMA topology to a virtual machine (VM), the virtual NUMA topology including a plurality of virtual NUMA nodes;
determining a virtual NUMA locality table for the VM in accordance with a physical NUMA locality table of the NUMA computer system, wherein the physical NUMA locality table comprises latency values for a plurality of physical NUMA nodes of the NUMA computer system, and wherein latency values in the virtual NUMA locality table are based on:
mappings between the plurality of virtual NUMA nodes and the plurality of physical NUMA nodes; and
updating the virtual NUMA locality table in response to migration of a virtual NUMA node; and
exposing the virtual NUMA locality table to a guest operating system (OS) of the VM.
|