[Openstack] How to hit a fast case of nested virtualization

laclasse laclasse at gmail.com
Mon Jun 16 17:24:40 UTC 2014


Hi Mike,

See Rhys post on that: http://www.rdoxenham.com/?p=275

HTH


On Sat, Jun 14, 2014 at 6:01 PM, Mike Spreitzer <mspreitz at us.ibm.com> wrote:

> Suppose I have an OpenStack undercloud, deployed on some Intel Xeon
> E5-2670 boxes running Ubuntu 12.04.  In /proc/cpuinfo I see the following
> flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
> pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb
> rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
> nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2
> ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt
> tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts
> dtherm tpr_shadow vnmi flexpriority ept vpid.
>
> Suppose I create a VM in that undercloud, and use DevStack to install
> OpenStack overcloud inside that VM.  Suppose I create some VMs in that
> overcloud.  Now I am doing nested virtualization.  I am told the speed with
> which the overcloud VMs run can vary greatly, depending on certain
> configuration details.  What do I need to do to get my overcloud to create
> fast VMs?
>
> Following are a couple of remarks I got from one source; do they look
> right?
>
>
>
>
>
>
>
>
>
> *For Ubuntu host, you may try add/replace this line in /etc/modules if it
> is an Intel box: options kvm-intel nested=1 If the host machine is a AMD
> box, you don't have to specify the 'nested=1' parameter. The second option
> for nova.conf can be added directly to the [DEFAULT] section, if it is not
> there.  This is also meant for the 'physical' host. libvirt_cpu_mode =
> host-passthrough*
>
>
> Thanks,
> Mike
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140616/130177f0/attachment.html>


More information about the Openstack mailing list