You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Mindaugas Milinavičius <mi...@clustspace.com> on 2016/08/08 12:22:09 UTC

Overprovising CPU with XenServer 6.5SP1

Hello,

Does anyone did overprovising with CPU and Xen? I tryed to change in global
settings, but in dashboard anyway shoing like 1:1...



Pagarbiai
Mindaugas Milinavičius
UAB STARNITA
Direktorius
http://www.clustspace.com
LT: +37068882880
RU: +79199993933

Tomorrow's possibilities today
<http://www.clustspace.com/>

   - 1 core CPU, 512MB RAM, 20GB (€ 5.00)
   - 1 core CPU, 1GB RAM, 30GB (€ 10.00)
   - 2 core CPU, 2GB RAM, 40GB (€ 20.00)
   - 2 core CPU, 4GB RAM, 60GB (€ 40.00)
   - 4 core CPU, 8GB RAM, 80GB (€ 80.00)
   - 8 core CPU, 16GB RAM, 160GB (€ 160.00)

Re: Overprovising CPU with XenServer 6.5SP1

Posted by Mindaugas Milinavičius <mi...@clustspace.com>.
Hello,

0z file showing 1 server, with dual CPU, which have total of 63,96GHz. It's
overprovised 3x. And total is 191,88GHz
3s file showing 3 servers, with dual CPU which have total of 264GHz. It's
overprovised 3x. and total is the same - 264GHz.

The different is only 1 - with 191GHz - KVM hypervisor, the next one is
with xenserver.




Pagarbiai
Mindaugas Milinavičius
UAB STARNITA
Direktorius
http://www.clustspace.com
LT: +37068882880
RU: +79199993933

Tomorrow's possibilities today
<http://www.clustspace.com/>

   - 1 core CPU, 512MB RAM, 20GB (€ 5.00)
   - 1 core CPU, 1GB RAM, 30GB (€ 10.00)
   - 2 core CPU, 2GB RAM, 40GB (€ 20.00)
   - 2 core CPU, 4GB RAM, 60GB (€ 40.00)
   - 4 core CPU, 8GB RAM, 80GB (€ 80.00)
   - 8 core CPU, 16GB RAM, 160GB (€ 160.00)


On Mon, Aug 8, 2016 at 3:55 PM, Stephan Seitz <
s.seitz@secretresearchfacility.com> wrote:

> Hi
>
> cpu overprovision factor is only recalculated for vms started *after*
> the factor has been changed.
> The more vms you're going to stop/start, the more accurate your
> calculation is getting.
>
> Please refer to http://docs.cloudstack.apache.org/projects/cloudstack-a
> dministration/en/4.8/hosts.html#over-provisioning-and-service-offering-
> limits
>
> cheers,
>
> - Stephan
>
>
> Am Montag, den 08.08.2016, 15:22 +0300 schrieb Mindaugas Milinavičius:
> > Hello,
> >
> > Does anyone did overprovising with CPU and Xen? I tryed to change in
> > global
> > settings, but in dashboard anyway shoing like 1:1...
> >
> >
> >
> > Pagarbiai
> > Mindaugas Milinavičius
> > UAB STARNITA
> > Direktorius
> > http://www.clustspace.com
> > LT: +37068882880
> > RU: +79199993933
> >
> > Tomorrow's possibilities today
> > <http://www.clustspace.com/>
> >
> >    - 1 core CPU, 512MB RAM, 20GB (€ 5.00)
> >    - 1 core CPU, 1GB RAM, 30GB (€ 10.00)
> >    - 2 core CPU, 2GB RAM, 40GB (€ 20.00)
> >    - 2 core CPU, 4GB RAM, 60GB (€ 40.00)
> >    - 4 core CPU, 8GB RAM, 80GB (€ 80.00)
> >    - 8 core CPU, 16GB RAM, 160GB (€ 160.00)
>

Re: Overprovising CPU with XenServer 6.5SP1

Posted by ilya <il...@gmail.com>.
With release of ACS 4.3, cloudstack keeps track of previous
overprovisioning values for CPU and MEM. That is done to guarantee the
resources you initially promised when VM was deployed.

I know some people will question this decision, nevertheless, it makes
sense to others - as the feature was implemented.

In order to re-balance all existing VMs CPU over provisioning value with
new values, you need to run a sql on cloudstack mysql db.


In my experience, it would also require restart of CloudStack MS servers
for change to kick in right away.

Backup your mysql db first.

Here is an example of the SQL query one might run:

> update user_vm_details set value=2.25 where name="cpuOvercommitRatio" and vm_id in (SELECT count(id) FROM cloud.vm_instance where hypervisor_type="KVM" and state not like "Expunging" and type="User" and pod_id=13);

Note this query increases CPU OverCommit value to 2.25 on all VMs in
pod_id=13. If you want to do it zonewide replace pod_id with
data_center_id="x".

You can look up the zone id in data_center table.

Regards
ilya


On 8/8/16 5:55 AM, Stephan Seitz wrote:
> Hi
> 
> cpu overprovision factor is only recalculated for vms started *after*
> the factor has been changed.
> The more vms you're going to stop/start, the more accurate your
> calculation is getting.
> 
> Please refer to http://docs.cloudstack.apache.org/projects/cloudstack-a
> dministration/en/4.8/hosts.html#over-provisioning-and-service-offering-
> limits
> 
> cheers,
> 
> - Stephan
> 
> 
> Am Montag, den 08.08.2016, 15:22 +0300 schrieb Mindaugas Milinavi\u010dius:
>> Hello,
>>
>> Does anyone did overprovising with CPU and Xen? I tryed to change in
>> global
>> settings, but in dashboard anyway shoing like 1:1...
>>
>>
>>
>> Pagarbiai
>> Mindaugas Milinavi\u010dius
>> UAB STARNITA
>> Direktorius
>> http://www.clustspace.com
>> LT: +37068882880
>> RU: +79199993933
>>
>> Tomorrow's possibilities today
>> <http://www.clustspace.com/>
>>
>>    - 1 core CPU, 512MB RAM, 20GB (\u20ac 5.00)
>>    - 1 core CPU, 1GB RAM, 30GB (\u20ac 10.00)
>>    - 2 core CPU, 2GB RAM, 40GB (\u20ac 20.00)
>>    - 2 core CPU, 4GB RAM, 60GB (\u20ac 40.00)
>>    - 4 core CPU, 8GB RAM, 80GB (\u20ac 80.00)
>>    - 8 core CPU, 16GB RAM, 160GB (\u20ac 160.00)

Re: Overprovising CPU with XenServer 6.5SP1

Posted by Stephan Seitz <s....@secretresearchfacility.com>.
Hi

cpu overprovision factor is only recalculated for vms started *after*
the factor has been changed.
The more vms you're going to stop/start, the more accurate your
calculation is getting.

Please refer to http://docs.cloudstack.apache.org/projects/cloudstack-a
dministration/en/4.8/hosts.html#over-provisioning-and-service-offering-
limits

cheers,

- Stephan


Am Montag, den 08.08.2016, 15:22 +0300 schrieb Mindaugas Milinavičius:
> Hello,
> 
> Does anyone did overprovising with CPU and Xen? I tryed to change in
> global
> settings, but in dashboard anyway shoing like 1:1...
> 
> 
> 
> Pagarbiai
> Mindaugas Milinavičius
> UAB STARNITA
> Direktorius
> http://www.clustspace.com
> LT: +37068882880
> RU: +79199993933
> 
> Tomorrow's possibilities today
> <http://www.clustspace.com/>
> 
>    - 1 core CPU, 512MB RAM, 20GB (€ 5.00)
>    - 1 core CPU, 1GB RAM, 30GB (€ 10.00)
>    - 2 core CPU, 2GB RAM, 40GB (€ 20.00)
>    - 2 core CPU, 4GB RAM, 60GB (€ 40.00)
>    - 4 core CPU, 8GB RAM, 80GB (€ 80.00)
>    - 8 core CPU, 16GB RAM, 160GB (€ 160.00)