Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1356161

Summary: [RFE] prefer numa nodes close to host devices when using hostdev passthrough
Product: [oVirt] vdsm Reporter: Martin Polednik <mpoledni>
Component: RFEsAssignee: Martin Polednik <mpoledni>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.18.1CC: bugs, michal.skrivanek, trichard
Target Milestone: ovirt-4.1.0-alphaKeywords: FutureFeature, Performance, Triaged
Target Release: 4.19.2Flags: michal.skrivanek: ovirt-4.1?
alukiano: testing_plan_complete+
rule-engine: planning_ack?
michal.skrivanek: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this release, if you do not specify any NUMA mapping, Red Hat Virtualization defaults to a NUMA node which contains the host device's memory-mapped I/O (MMIO). This configuration is only preferred, rather than strictly required.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:48:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1430233    

Description Martin Polednik 2016-07-13 14:00:31 UTC
Description of problem:
On NUMA aware systems, host device's MMIO memory region resides on one of available numa nodes. We should prefer such node when starting VM with host devices to improve device performance and latency as memory reads and writes are faster within a node (distance 1.0).

Comment 1 Sandro Bonazzola 2016-12-12 13:55:11 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 2 Artyom 2017-01-16 14:32:12 UTC
Verified on vdsm-4.19.1-44.git945b2f6.el7.centos.x86_64 by polarion test cases.

1) The VM with PCI host device(has numa_node=0), runs with preferred NUMA node 0
2) NUMA pinning override PCI host device NUMA mode.

Comment 3 Tahlia Richardson 2017-02-06 06:33:24 UTC
Updated doc text to be appropriate for a release note. I'll be opening a docs bug based on the full doc text shortly.