RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1520870 - huge pages per NUMA node are not supported with this QEMU
Summary: huge pages per NUMA node are not supported with this QEMU
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: doc-Virtualization_Tuning_and_Optimization_Guide
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jiri Herrmann
QA Contact: haoliu@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-05 10:44 UTC by Miguel Martin
Modified: 2019-03-06 00:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-16 11:53:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Miguel Martin 2017-12-05 10:44:31 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_tuning_and_optimization_guide/sect-virtualization_tuning_optimization_guide-numa-numa_and_libvirt#sect-Virtualization_Tuning_Optimization_Guide-NUMA-Guest_NUMA_multinode-hugepages

Section Number and Name: 
9.3.10. Assigning Host Huge Pages to Multiple Guest NUMA Nodes

Describe the issue: 
Maybe I am wrong but I think this is incorrect. Assigning Host Huge Pages to Multiple Guest NUMA Nodes is only supported with 'qemu-kvm-rhev' package provided by OSP or RHV subscriptions, not with 'qemu-kvm' package shipped with standard RHEL subscriptions.

If you try a similar setup just as described in section 9.3.10 you will get the following error when trying to start the virtual machine:
~~~
error: Failed to start domain rhel74
error: unsupported configuration: huge pages per NUMA node are not supported with this QEMU
~~~  

Setting up guest NUMA topology as described in section 9.3.9 and using huge pages are supported when used separately, but not when using them together as stated in section 9.3.10.

Suggestions for improvement:


Additional information:
 
For the host huge pages configuration, I followed the steps in section "Procedure 8.3. Allocating 1 GB huge pages at runtime" in the same document.

For the vm the configurations used for this test were:
~~~
...
   <numa>
      <cell id='0' cpus='0-1' memory='2048000' unit='KiB'/>
      <cell id='1' cpus='2-3' memory='2048000' unit='KiB'/>
    </numa>
...

  <memoryBacking>
    <hugepages>
      <page size='1048576' unit='KiB' nodeset='0'/>
      <page size='2048' unit='KiB' nodeset='1'/>
    </hugepages>
  </memoryBacking>
...
~~~ 

And
~~~
...
   <numa>
      <cell id='0' cpus='0-1' memory='2048000' unit='KiB'/>
      <cell id='1' cpus='2-3' memory='2048000' unit='KiB'/>
    </numa>
...

  <memoryBacking>
    <hugepages/>
  </memoryBacking>
...
~~~

Both failed with the same error:
~~~
error: Failed to start domain rhel74
error: unsupported configuration: huge pages per NUMA node are not supported with this QEMU
~~~

When trying to use guest numa topology or huge pages separately with the corresponding configuration fragment it works.

Comment 9 Jiri Herrmann 2018-04-13 17:05:33 UTC
This has gone live with RHEL 7.5 GA publication, and I will therefore be closing this BZ:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_tuning_and_optimization_guide/sect-virtualization_tuning_optimization_guide-numa-numa_and_libvirt#sect-Virtualization_Tuning_Optimization_Guide-NUMA-Guest_NUMA_Topology

Feel free to reopen if any additions or corrections to the current content are needed.


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