Hi,

Indeed I didn't realized the answer. The one we set in a service offering
is allocated for each core or in total for whole the VM?

On Sat, Mar 2, 2019 at 10:35 PM Ivan Kudryavtsev <kudryavtsev...@bw-sw.com>
wrote:

> Actually, it works like everyone expects. In case of KVM you can just take
> a look at running instance with ps xa. But, I don't recommend setting CPU
> cap, though... VM will experience CPU steal, and users will not be happy.
> Better to deploy nodes with low cpu frequency and many cores.
>
> Without capping, the frequency is only for the resource calculation, when
> VMs are deployed, specifically:
> node.core-freq > freq && aggregate-node-freq-avail - cores x freq > 0 ->
> permit
>
> сб, 2 мар. 2019 г., 13:51 Fariborz Navidan <mdvlinqu...@gmail.com>:
>
> > Hi,
> >
> > I am wondering how the cpu time usage is calculated for a VM. Is it in
> per
> > core basis or the total fraction of cpu a vm can use. For example, when
> we
> > set 2 cores and 2000 MHz, the VM receives total of 2000MHz of 4000MHz
> > processing power?
> >
> > Thanks
> >
>

Reply via email to