[Openstack-operators] libvirt cpu type per instance?

2016-03-03 Thread Jonathan Proulx
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

Re: [Openstack-operators] libvirt cpu type per instance?

2016-03-03 Thread Mike Smith
Jonathan - There are some nova settings (at least for KVM that you are probably thinking of, such as: cpu_mode cpu_model http://docs.openstack.org/liberty/config-reference/content/kvm.html Mike Smith Lead Cloud Systems Architect Overstock.com On Mar 3, 2016, at 1:52

Re: [Openstack-operators] libvirt cpu type per instance?

2016-03-03 Thread Kris G. Lindgren
it.edu>> Cc: "openstack-operators@lists.openstack.org<mailto:openstack-operators@lists.openstack.org>" mailto:openstack-operators@lists.openstack.org>> Subject: Re: [Openstack-operators] libvirt cpu type per instance? Jonathan - There are some nova settings (at least for KVM t

Re: [Openstack-operators] libvirt cpu type per instance?

2016-03-03 Thread Chris Friesen
On 03/03/2016 03:20 PM, Kris G. Lindgren wrote: I would be curious if specifing the cpu type would actually restrict performance. As far as I know, this only restricts the cpu features presented to a vm. You can present a vm that has the cpu instruction sets of a Pentium 3 – but runs and is as

Re: [Openstack-operators] libvirt cpu type per instance?

2016-03-03 Thread gustavo panizzo (gfa)
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

Re: [Openstack-operators] libvirt cpu type per instance

2016-03-04 Thread Jonathan Proulx
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 rec

Re: [Openstack-operators] libvirt cpu type per instance

2016-03-04 Thread Tim Bell
There is a better explanation in the OpenStack docs :-) with an example how to get 50% slower (not something my users ask for often) cpu_quota & cpu_period seems to give it according to http://docs.openstack.org/admin-guide-cloud/compute-flavors.html Tim On 04/03/16 15:59, "Jonathan Proul