[Bug 1568086] Re: PPC64/hugepages is not supported by nova/libvirt driver.
dann frazier
dann.frazier at canonical.com
Tue Nov 1 11:25:54 UTC 2016
** Description changed:
- Currently nova on ppc64el does not enable huge pages and we would like
- to do so.
+ [Impact]
+ Nova does not recognize PPC64LE as an architecture that supports hugepaged-backed VMs.
- I sent a patch to enable it upstream and I am waiting on reviews:
+ [Test Case]
+ Steps to reproduce:
+ On an openstack environment running on PPC64LE:
+ 1. Configure compute nodes to use hugepages, e.g.:
+ echo 1024 | sudo tee /sys/kernel/mm/hugepages/hugepages-65536kB/nr_hugepages
+ 2. Set mem_page_size="65536" for a flavor
+ 3. Launch a VM using the above flavor.
- https://review.openstack.org/#/c/303564/
+ Expected result:
+ VM should be launched with hugepages and the libvirt xml should have
+
+ <memoryBacking>
+ <hugepages>
+ <page size='65536' unit='KiB' nodeset='0'/>
+ </hugepages>
+ </memoryBacking>
+
+ Actual result:
+ VM is launched without hugepages.
+
+ There are no error logs in nova-scheduler.
+
+ [Regression Risk]
+ Risk is minimized by the fact that this change is just enabling the same code for ppc64el that is already enabled for Ubuntu/x86.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1568086
Title:
PPC64/hugepages is not supported by nova/libvirt driver.
Status in nova package in Ubuntu:
Fix Released
Status in nova source package in Xenial:
Fix Committed
Bug description:
[Impact]
Nova does not recognize PPC64LE as an architecture that supports hugepaged-backed VMs.
[Test Case]
Steps to reproduce:
On an openstack environment running on PPC64LE:
1. Configure compute nodes to use hugepages, e.g.:
echo 1024 | sudo tee /sys/kernel/mm/hugepages/hugepages-65536kB/nr_hugepages
2. Set mem_page_size="65536" for a flavor
3. Launch a VM using the above flavor.
Expected result:
VM should be launched with hugepages and the libvirt xml should have
<memoryBacking>
<hugepages>
<page size='65536' unit='KiB' nodeset='0'/>
</hugepages>
</memoryBacking>
Actual result:
VM is launched without hugepages.
There are no error logs in nova-scheduler.
[Regression Risk]
Risk is minimized by the fact that this change is just enabling the same code for ppc64el that is already enabled for Ubuntu/x86.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1568086/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list