Hi,

MEMORY and CPU attributes in VM Templates are used to guide the
scheduling allocation process. When you request a VM with MEMORY=1GB,
OPenNebula will reserve that for your VM. In this way you can plan
overcommit policies for your VMs based on the capacity you request for
them. The scheduler will not allocate a VM is there is not enough room
for it, based on the request capacity (MEMORY/CPU).

Cheers


Ruben

2011/12/12 Tomáš Nechutný <[email protected]>:
> Hello,
>
> My computer has 4GB of physical RAM (+swap). This computer is also
> only OpenNebula host. I created 3 VMs with 2GB specified in template
> (without REQUIREMENTS). However the scheduler deploys only 1 VM. This
> page http://www.linux-kvm.org/page/Memory sates:
>
>> The qemu/kvm process runs mostly like a normal Linux program. It allocates 
>> its memory with normal malloc() or mmap() calls. If a guest is going to have 
>> 1GB of physical memory, qemu/kvm will effectively do a malloc(1<<30), 
>> allocating 1GB of host virtual space. However, just like a normal program 
>> doing a malloc(), there is no actual physical memory allocated at the time 
>> of the malloc(). It will not be actually allocated until the first time it 
>> is touched.
>
> I think that it should be possible when there is no ohter host.
>
> This is probably related to http://dev.opennebula.org/issues/846.
>
> --
> Tomáš Nechutný
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | [email protected] | @OpenNebula
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to