[openstack-dev] [nova] schedule instance based on CPU frequency ?

Joe Gordon joe.gordon0 at gmail.com
Wed Jul 8 04:17:51 UTC 2015


On Fri, Jul 3, 2015 at 6:37 AM, Sylvain Bauza <sbauza at redhat.com> wrote:

>
>
> Le 03/07/2015 15:25, Jay Pipes a écrit :
>
>> On 07/03/2015 06:32 AM, Sylvain Bauza wrote:
>>
>>> Le 02/07/2015 21:40, Jay Pipes a écrit :
>>>
>>>> On 07/01/2015 12:23 AM, ChangBo Guo wrote:
>>>>
>>>>> thanks Dan and Jay,  we don't need add new scheduler for that  :-),
>>>>> what about provide cpu frequency to  api  /os-hypervisors, that  means
>>>>> we can
>>>>> report this value automatically,  the value can be used in high level
>>>>> mange tools.
>>>>>
>>>>
>>>> Meh, I'm not too big of a fan of the os-hypervisors extension.
>>>> Actually, one might say I despise that extension :)
>>>>
>>>> That said, I suppose it should be possible to include the output of
>>>> the CPU frequency in the cpu_info field there...
>>>>
>>>>
>>> Well, IMHO I don't like to have the Hypervisors API to be a Nagios-like
>>> view of the hypervisors world and I don't really much benefits of pusing
>>> the metrics up to the API.
>>>
>>> On the other hand, those monitor metrics are already sent as
>>> notifications on the bus [1] so a 3rd party tool can easily fetch them
>>> without necessarly needing to extend the API.
>>>
>>
>> Yeah, the difference here is that CPU frequency really isn't a metric...
>> it's a static thing that doesn't change over time. Which is why I think
>> it's OK to put it in cpu_info.
>>
>>
> Oh, you're right, it's a very static thing. If it's not a metric, then I
> would like to see it removed from the CPU monitor and provided in cpu_info
> then.


Max CPU frequency may be static, but the the CPU frequency being used can
be dynamic: https://en.wikipedia.org/wiki/SpeedStep


>
>
> -Sylvain
>
>
>
>
>  Best,
>> -jay
>>
>> __________________________________________________________________________
>>
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150707/fefcff36/attachment.html>


More information about the OpenStack-dev mailing list