** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1568086

Title:
  PPC64/hugepages is not supported by nova/libvirt driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1568086/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to