Re: [one-users] Quota for vCPU

2014-08-01 Thread Carlos Martín Sánchez
Hi,

On Fri, Aug 1, 2014 at 8:34 AM, Ondrej Hamada 
wrote:

>  Some sort of vCPU quota might be good idea in case the users are allowed
> to create their own templates. They are able to rise the count of vCPU sky
> high if their app goes too slow. In KVM the vCPU presents the number of
> threads the virtual machine could use. Setting too many vCPUs for several
> VMs on a same host might kill the hypervisor because of the context
> switching.
>
> Ondra
>
>
True. Maybe it's too restrictive, but you can disable VCPU for end users
with the vm restricted attributes [1] and set a default in the driver [2].

Regards

[1]
http://docs.opennebula.org/4.6/administration/references/oned_conf.html#restricted-attributes-configuration
[2]
http://docs.opennebula.org/4.6/administration/virtualization/kvmg.html#default-attributes

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org  | cmar...@opennebula.org |
@OpenNebula  




>
> On 07/28/2014 12:16 PM, Carlos Martín Sánchez wrote:
>
> Hi,
>
>   On Tue, Jul 22, 2014 at 12:04 PM, Mateusz Skała <
> mateusz.sk...@budikom.net> wrote:
>
>> Hi,
>> It is possible to set up quota for vCPU? I see only quota for CPU.
>
>
>  No, it's not possible, but it does not matter because the vCPU is
> virtual. It does not mater if a user defines 1 or 10 vCPU, the amount of
> physical host cpu assigned to the VM is determined by the CPU attribute.
>
>  Regards.
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org  | cmar...@opennebula.org
>  | @OpenNebula 
>
>
>
> ___
> Users mailing 
> listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> --
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you for
> understanding.
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Quota for vCPU

2014-07-31 Thread Ondrej Hamada

Some sort of vCPU quota might be good idea in case the users are allowed to 
create their own templates. They are able to rise the count of vCPU sky high if 
their app goes too slow. In KVM the vCPU presents the number of threads the 
virtual machine could use. Setting too many vCPUs for several VMs on a same 
host might kill the hypervisor because of the context switching.

Ondra

On 07/28/2014 12:16 PM, Carlos Martín Sánchez wrote:
Hi,

On Tue, Jul 22, 2014 at 12:04 PM, Mateusz Skała 
mailto:mateusz.sk...@budikom.net>> wrote:
Hi,
It is possible to set up quota for vCPU? I see only quota for CPU.

No, it's not possible, but it does not matter because the vCPU is virtual. It 
does not mater if a user defines 1 or 10 vCPU, the amount of physical host cpu 
assigned to the VM is determined by the CPU attribute.

Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | 
cmar...@opennebula.org | 
@OpenNebula




___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you for understanding.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Quota for vCPU

2014-07-28 Thread Carlos Martín Sánchez
Hi,

On Tue, Jul 22, 2014 at 12:04 PM, Mateusz Skała 
wrote:

> Hi,
> It is possible to set up quota for vCPU? I see only quota for CPU.


No, it's not possible, but it does not matter because the vCPU is virtual.
It does not mater if a user defines 1 or 10 vCPU, the amount of physical
host cpu assigned to the VM is determined by the CPU attribute.

Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org  | cmar...@opennebula.org |
@OpenNebula  
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Quota for vCPU

2014-07-22 Thread Mateusz Skała

Hi,
It is possible to set up quota for vCPU? I see only quota for CPU.

--
Regards,
Mateusz
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org