Hi, On Fri, Aug 1, 2014 at 8:34 AM, Ondrej Hamada <[email protected]> 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 <http://www.opennebula.org/> | [email protected] | @OpenNebula <http://twitter.com/opennebula> <[email protected]> > > 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 < > [email protected]> 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 <http://www.opennebula.org/> | [email protected] > | @OpenNebula <http://twitter.com/opennebula> > > > > _______________________________________________ > Users mailing > [email protected]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 > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
