[openstack-dev] [nova] schedule instance based on CPU frequency ?
jaypipes at gmail.com
Fri Jul 3 13:25:47 UTC 2015
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  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.
More information about the OpenStack-dev