Bug 1626130 - [RFE] Auto-allocate PCIe route complex per NUMA node
Summary: [RFE] Auto-allocate PCIe route complex per NUMA node
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: OSP DFG:Compute
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
: 1697906 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-06 15:52 UTC by Stephen Finucane
Modified: 2023-12-15 16:09 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 09:36:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-7697 0 None None None 2022-08-10 10:05:02 UTC

Internal Links: 1762119

Description Stephen Finucane 2018-09-06 15:52:02 UTC
Description of problem:

Attaching a PCIe devices to an instance will implicitly add a virtual NUMA topology to said instance. Unless otherwise specified (via PCI NUMA policies), the instance will confined to the host NUMA node the the PCI device is affinitized to. If the guest is additionally configured with multiple virtual NUMA nodes (e.g. the 'hw:numa_nodes=2' extra spec), each virtual NUMA node will be associated with a different host NUMA node. However, the PCI device will always be associated with the first virtual NUMA node. If the PCI device were associated with another host NUMA node (and therefore another virtual NUMA node), this would result in cross-NUMA traffic and reduced performance.

Version-Release number of selected component (if applicable):
RHEL OSP 10

How reproducible:
Everytime.

Steps to Reproduce:
1. Using a multi-socket host, ensure a PCI device is located in a NUMA node other than node 0
2. Spawn a two-node instance with the PCI attached

Actual results:

NUMA affinity is not accounted for in the instance XML, resulting in cross-NUMA traffic for the PCI device.

Expected results:

The PCI device should be associated with the virtual NUMA node associated with the same host NUMA node as the PCI device itself.

Comment 1 Stephen Finucane 2019-04-12 14:08:13 UTC
*** Bug 1697906 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.