[Openstack] Memory quota in nova-compute nodes.

Jorge Luiz CorrĂȘa correajl at gmail.com
Sat Jan 21 20:25:36 UTC 2012


These are great options! Thanks :)

Sent from my iPhone

On 20/01/2012, at 14:52, Eric Windisch <eric at cloudscaling.com> wrote:

> 
> On Thursday, January 19, 2012 at 12:52 PM, Jorge Luiz Correa wrote:
> 
>> I would like to know if it's possible to configure quota in each nova-compute node. For example, I set up a new hardware with 8 GB of memory and install the nova-compute, but I wish only 4 GB of memory are used (dedicated to nova-compute). Is it possible? If so, how can I configure that?
>> 
>> I've seen quotas in projects, configured using nova-manage command line tool. But it isn't what I'm looking for. 
>> 
> In Essex, you can use 'reserved_host_memory_mb' with the ZoneManager to reserve a certain amount of memory per host.
> 
> If you're on Diablo, Joe Gordon made a pluggable scheduler based on the SimpleScheduler to do the same:
>   https://github.com/cloudscaling/cs-nova-simplescheduler
> The relevent key here would be 'cs_host_reserved_memory_mb'.
> 
> Note that both of these define how much memory goes to your OS and applications, rather than how much memory is set aside for Nova / VMs.  If you had 8GB and wanted to give Nova 6GB, you would reserve 2GB for your host OS.  This is a soft limit, your OS will happily take more memory absent cgroup support as aforementioned.
> 
> -- 
> Eric Windisch
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120121/ee048616/attachment.html>


More information about the Openstack mailing list