[Openstack-operators] libvirt cpu type per instance

Jonathan Proulx jon at csail.mit.edu
Fri Mar 4 14:59:26 UTC 2016


On Fri, Mar 04, 2016 at 11:52:33AM +0800, gustavo panizzo (gfa) wrote:
:On Thu, Mar 03, 2016 at 03:52:49PM -0500, Jonathan Proulx wrote:
:> 
:> I have a user who wants to specify their libvirt CPU type to restrict
:> performance because they're modeling embeded systems.
:> 
:> I seem to vaguely recall there is/was a way to specify this either in
:> the instance type or maybe even in the image metadata, but I can't
:> seem to find it.
:> 
:> Am I delusional or blind?


As previous posters pointed out I was a bit delusional obviously cpu
type only limits instruction set & is useful for bianry compatibility
but mothing to do with speed limiting or equalization. 

:you can use
:https://wiki.openstack.org/wiki/InstanceResourceQuota

Thanks I think that has the bits I'm looking for.  Had been reading on
a different document about cpu_shares (which are relative and thus not
what I want), but some how missed "cpu_quota" which may be the right
thing for me

so I was also a bit blind :)

Thanks,
-Jon


:
:to create "slow" flavors
:
:> 
:> -Jon 
:> 
:> -- 
:> 
:> _______________________________________________
:> OpenStack-operators mailing list
:> OpenStack-operators at lists.openstack.org
:> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
:
:-- 
:1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333
:
:keybase: http://keybase.io/gfa

-- 



More information about the OpenStack-operators mailing list