[Openstack] About over-commit memory

Sam Su susltd.su at gmail.com
Thu Jun 21 23:19:17 UTC 2012


Hi Vish,

Great, it works now, thank you so much for your help.

Does it means there is not any limit for the the memory overcommit ratio?
If the physical memory is 4G in compute node and the swap partition is 4G
as well, whether can I use more than 8G RAM for VMs?

Thanks,
Sam


On Thu, Jun 21, 2012 at 3:13 PM, Vishvananda Ishaya
<vishvananda at gmail.com>wrote:

> I just noticed there is a bug in ram_allocation_ratio, it actually only
> multiplies the check for free ram which doen't do a lot.  Bug filed here:
>
> https://bugs.launchpad.net/nova/+bug/1016273
>
> In the meantime, to overcommit you will have to disable the ram check
> completely by setting the following set of enabled filters in conf.
>
> scheduler_default_filters=AvailabilityZoneFilter,ComputeFilter
>
> Vish
>
> On Jun 21, 2012, at 3:03 PM, Sam Su wrote:
>
> Hi Vish,
>
> Thank you for your response.
>
> I added a 'line ram_allocation_ratio=10' in nova.conf, then restarted
> nova-scheduler in control node. after that was done, I tried to create a
> VM, but it still failed, and the debug info is showing as below:
> http://pastebin.com/RDHb9fDU
>
> Can you help me to take a look at the error info at your convenience?
>
> Thanks,
> Sam
>
> On Thu, Jun 21, 2012 at 12:23 PM, Vishvananda Ishaya <
> vishvananda at gmail.com> wrote:
>
>> Try setting:
>>
>> ram_allocation_ratio=10
>>
>> in your nova.conf (it defaults to 1.5)
>>
>> Vish
>>
>> On Jun 21, 2012, at 11:34 AM, Sam Su wrote:
>>
>> Hi,
>>
>> I have a mini openstack environment with one compute node and one nova
>> control node. There is 4G memory in the compute node, and I have allocated
>> 2 VMs with 2G memory for each VM. When I try to create another VM , I get
>> the error as below:
>> http://pastebin.com/QZMQvXtB
>>
>> I am wondering whether Openstack has support memory overcommit? How to do
>> this?
>>
>> It will be much appreciated If someone can give me some hints about this
>> in convenience.
>>
>> Thanks,
>> Sam
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120621/71608114/attachment.html>


More information about the Openstack mailing list