NUMA-aware root bus selection
AssigneeRed Hat Israel, Ltd.
InventorsMarcel Apfelbaum, Michael Tsirkin
Life of this patent
Estimating the term…
Abstract
A method includes determining a first host Non-Uniform Memory Access (NUMA) node of a plurality of host NUMA nodes on a host machine that provides a virtual machine to a guest, the first host NUMA node being associated with a pass-through device, creating a virtual NUMA node on the virtual machine, mapping the virtual NUMA node to the first host NUMA node, adding a virtual expander to a virtual root bus of the virtual machine, and associating the virtual expander with the virtual NUMA node.
Claims20
A method performed by a physical computing system, the method comprising:
- determining a first host Non-Uniform Memory Access (NUMA) node of a plurality of host NUMA nodes on a host machine that provides a virtual machine to a guest, the first host NUMA node being associated with a pass-through device;
- creating a virtual NUMA node on the virtual machine;
- mapping the virtual NUMA node to the first host NUMA node;
- adding a virtual expander to a virtual root bus of the virtual machine;
- and
- associating the virtual expander with the virtual NUMA node.
A method performed by a physical computing system, the method comprising:
- determining that a first host Non-Uniform Memory Access (NUMA) node of a plurality of host NUMA nodes on a host machine is associated with a first pass-through device, the host machine providing a virtual machine to a guest;
- creating a first virtual NUMA node on the virtual machine;
- mapping the first virtual NUMA node to the first host NUMA node;
- adding a first virtual Peripheral Component Interconnect (PCI) expander bridge to the virtual machine;
- associating the first virtual PCI expander bridge with the first virtual NUMA node;
- and
- attaching the first pass-through device to the first virtual PCI expander bridge.
A management system comprising:
- a processor;
- and
- a memory comprising machine readable instructions, that when executed by the processor, cause the system to:
- query a host machine to determine that a first host Non-Uniform Memory Access (NUMA) node of a plurality of host NUMA nodes of the host machine is associated with a pass-through device, the host machine providing a virtual machine to a guest;
- add a virtual NUMA node on the virtual machine, the first virtual NUMA node being mapped to the first host NUMA node;
- add a virtual PCI expander bridge to the virtual machine, the virtual PCI expander bridge being associated with the virtual NUMA node;
- and
- attach the pass-through device to a root bus of the first virtual PCI expander bridge.
Dependencies are inferred from the claim text.