<div dir="ltr">Hi there,<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 9:09 AM, Christoph Pleger <span dir="ltr"><<a href="mailto:Christoph.Pleger@cs.tu-dortmund.de" target="_blank">Christoph.Pleger@cs.tu-dortmund.de</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">Hello,<br>
<div class="im"><br>
> I have a new question about that.<br>
><br>
> On <a href="http://opennebula.org/documentation:rel3.8:kvmg" target="_blank">http://opennebula.org/documentation:rel3.8:kvmg</a>, I read about cgroups:<br>
><br>
> "So, thanks to cgroups a VM with CPU=0.5 will get half of the physical CPU<br>
> cycles than a VM with CPU=1.0."<br>
><br>
> How can a second VM get half of the physical CPU cycles of a first VM if<br>
> the first VM is defined to use 100 % of the CPU cycles?<br>
<br></div></blockquote><div><br></div><div style>I'm not that much familiar with cgroups, but the way I understand it the first VM does not get 100%, it will get 1024 shares out of 1536 (2/3 of cpu time).</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 class="im">
</div>Does really nobody know that? Or was my question too difficult to<br>
understand or just too stupid?<br></blockquote><div style><br></div><div style>Relax buddy, this is a best-effort mailing list, not a commercial support service.</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">

By the way, if every cloudnode has 64 cpu cores and a VM is defined to use<br>
64 virtual cpus, does for example CPU=0.8 mean 80 percent of one cpu core<br>
or 80 percent of 64 cpu cores?<br></blockquote><div><br></div><div style>It will get allocated 80 from the total of 6400 Host CPU. The number of virtual CPUs is not related to the real CPU allocated.</div><div style><br>

</div><div style>Regards</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">
Regards<br>
<span class=""><font color="#888888">  Christoph<br>
<br>
</font></span></blockquote></div><div><div><br class="">--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<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" target="_blank" style="color:rgb(42,93,176)"></a></span></div>

</div><br></div></div></div>