[CI] nested virtualization support in OpenStack CI

Guo, Ruijing ruijing.guo at intel.com
Mon Apr 8 23:35:00 UTC 2019


Hi, Clark


  Workload VM
  (cirros or similar small VM running), (don't need large page, memory might be 512M)
       |
      V
  OpenStack Infra Test Node ("middle VM"), (run ovsdpdk here and need 2M huge pages,  total memory might be 2G) 
       |
      V
  Hypervisor (need to enable nested KVM, don't need large pages)







Thanks,
-Ruijing

-----Original Message-----
From: Clark Boylan [mailto:cboylan at sapwetik.org] 
Sent: Tuesday, April 9, 2019 7:05 AM
To: openstack-discuss at lists.openstack.org
Subject: Re: [CI] nested virtualization support in OpenStack CI



On Mon, Apr 8, 2019, at 3:54 PM, Guo, Ruijing wrote:
> Hi, Clark
> 
> I am trying to add ovsdpdk ci job in neutron. Ovsdpdk need nested 
> virtualization.
> 

Can you describe this requirement in a bit more detail? Looking at docs it appears you need to have large pages. Maybe a "picture" will help too:

  Workload VM
  (cirros or similar small VM running under
   emulation or virtualized if nested virt is enabled)
       |
      V
  OpenStack Infra Test Node ("middle VM")
    This is where ovsdpdk runs right? And this requires large pages?
       |
      V
  Hypervisor (managed by our cloud providers)

Are we not able to do large pages with emulated workload VMs? Also can we do large pages on the Workload VM if the Infra Test Node isn't configured for them? If the infra test node isn't configured for them do we also need support for large pages from the Hypervisor?

If we can do large pages with emulated workload VMs and the hypervisor isn't required to support that we should be able to configure large pages on the Infra Test Node and boot emulated guests, but my guess is that at least one of these things won't work.
In any case specific details on what is required and where it is required will be useful.

Clark




More information about the openstack-discuss mailing list