Thanks, that's it!

Now I have 4 VMs with 16GB each on a 48GB host, it will probably blow up or 
swap itself to death if all Machines need all the memory, but in this case 
that's exactly what's needed.

Cheers,

Martin

-----Ursprüngliche Nachricht-----
Von: Glenn Wagner [mailto:glenn.wag...@shapeblue.com] 
Gesendet: Mittwoch, 20. Mai 2015 16:44
An: users@cloudstack.apache.org
Betreff: RE: KVM memory overprovisioning behaviour

Hi,

Just check the agent.properties on the KVM host  
/etc/cloudstack/agent/agent.properties
vm.memballoon.disable=true

set the mem.overprovisioning.factor in the Global Settings to 2

Try provision again

Thanks


Glenn Wagner
Senior Consultant, South Africa



Phone: +27 21 527 0091 | Mobile: +27 73 917 4111

glenn.wag...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue ShapeBlue 
SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town 
7130

-----Original Message-----
From: Martin Emrich [mailto:martin.emr...@empolis.com]
Sent: 20 May 2015 03:57 PM
To: users@cloudstack.apache.org
Subject: KVM memory overprovisioning behaviour

Hi!

I just tried memory overprovisioning with ACS 4.4.3 and KVM on Ubuntu 14.04.

With a ratio of 2.0, a VM configured for 1024MB RAM only sees 512MB RAM (the VM 
is also running Ubuntu 14.04 with CONFIG_VIRT_BALLOON=y) even if the host is 
not yet overloaded. This is obviously useless, as I could have configured an 
offering with 512MB in the first place ;)

I can use "virsh setmem" manually to claim the full 1024MB.

I would expect to have the 1024MB unless the host is overloaded, in which case 
the VMs are reduced proportionally (as XenServer does it) or based on actual 
usage.

There are lots of threads and wiki pages on memory overcommit or memory 
overprovisioning, but most seem outdated or incomplete. Is such a behaviour 
possible with current CloudStack, libvirt and KVM?

Thanks

Martin

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to