<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 1, 2014 at 8:34 AM, Ondrej Hamada <span dir="ltr"><<a href="mailto:ondrej.hamada@acision.com" target="_blank">ondrej.hamada@acision.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Some sort of vCPU quota might be good idea in case the users are allowed to create their own templates. They are able to rise the count of vCPU sky high if their app goes too slow. In KVM the vCPU presents the number of threads the virtual machine could use.
Setting too many vCPUs for several VMs on a same host might kill the hypervisor because of the context switching.<br>
<br>
Ondra<div><div><br></div></div></div></blockquote><div><br></div><div>True. Maybe it's too restrictive, but you can disable VCPU for end users with the vm restricted attributes [1] and set a default in the driver [2].</div>
<div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://docs.opennebula.org/4.6/administration/references/oned_conf.html#restricted-attributes-configuration" target="_blank">http://docs.opennebula.org/4.6/administration/references/oned_conf.html#restricted-attributes-configuration</a></div>
<div>[2] <a href="http://docs.opennebula.org/4.6/administration/virtualization/kvmg.html#default-attributes">http://docs.opennebula.org/4.6/administration/virtualization/kvmg.html#default-attributes</a></div><div><br></div>
<div><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div><div><br></div></div></div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div>
<br>
<div>On 07/28/2014 12:16 PM, Carlos Martín Sánchez wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Jul 22, 2014 at 12:04 PM, Mateusz Skała <span dir="ltr">
<<a href="mailto:mateusz.skala@budikom.net" target="_blank">mateusz.skala@budikom.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi,<br>
It is possible to set up quota for vCPU? I see only quota for CPU.</blockquote>
<div><br>
</div>
<div>
<div dir="ltr">No, it's not possible, but it does not matter because the vCPU is virtual. It does not mater if a user defines 1 or 10 vCPU, the amount of physical host cpu assigned to the VM is determined by the CPU attribute.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Regards.<br>
--<br>
<div>Carlos Martín, MSc<br>
Project Engineer</div>
<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"></span></div>
</div>
</div>
</div>
<div> </div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset> <br>
</div></div><div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</div></blockquote>
<br>
<hr>
<p class="MsoNormal"><span style="font-size:7.5pt;line-height:115%;font-family:Arial,sans-serif;color:gray">This e-mail and any attachment
<span>is</span> for <span>authorised</span> use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained
or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.</span></p>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div></div>