<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-06-30 16:38 GMT+08:00 Nikola Đipanov <span dir="ltr"><<a href="mailto:ndipanov@redhat.com" target="_blank">ndipanov@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 06/30/2015 07:42 AM, ChangBo Guo wrote:<br>
> CPU frequency  is an import performance parameter,  currently  nova<br>
> drivers just  report cpu_info without frequency.   we stored the compute<br>
> node cpu_info in database with colum compute_nodes.cpu_info,  we can add<br>
> the frequency  easily.<br>
><br>
> The usage of  cpu frequency  I  can think is used to schedule to meet<br>
> applications which need high frequency.  add a frequency based filter ?<br>
> if we need this , I would like to propose  a spec for this .<br>
><br>
<br>
</span>Would it be possible to give more details on the type of app that will<br>
have this _specific_ requirement.<br>
<br>
I don't think I have all the details in my head, but it seems to me that<br>
the frequency of the hypervisor CPU is just not something that carries<br>
enough information for users about how most applications will perform. I<br>
would imagine they would either want "the fastest" or some specialized<br>
HW for specific applications.<br>
<span class=""><br>
><br>
> There are two steps to leverage cpu frequency:<br>
> 1.  report cpu frequency  and record the value,  nova hypervisor-show<br>
> will include the value .<br>
><br>
> 2.  filter compute nodes based  cpu frequency.<br>
>     add a new scheduler filter to do that<br>
><br>
> before I start to do these stuff.  I would like to your  input .<br>
><br>
> Do we need leverage CPU frequency  in Nova ?<br>
> if yes, do we need a new filter  or  leverage existing filter to use<br>
> frequency ?<br>
><br>
<br>
</span>I don't think we do personally - but I may not understand what problem<br>
this is trying to solve.<br>
<br>
But even if we do - the most important thing IMHO would be _how_ to<br>
expose it to users (do we allow them to request a minimum frequency, or<br>
a specific one or something else). API contract is extremely important<br>
here because we want to make sure that we are exposing the right<br>
semantics for users - as we would want this to be usable to as big a<br>
group of people as possible.<br></blockquote><div> </div><div> The use case:  user want to integrate hardware management  with api  /os-hypervisors,<br>  they want to know more details about hardware, so cpu frequency is good to have. <br>  so I think if we can provide it to user, we don't change database schema, just change colume<br><span class="">   compute_nodes.cpu_info</span>, is it that ok ?<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
If it's just about having a high performance tier - can we do this with<br>
host aggregates and flavors? These are the questions we want to answer<br>
first IMHO.<br></blockquote><div><br>  yes we can host aggregates to solve the schedule.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
N.<br>
<br>
> --<br>
> ChangBo Guo(gcb)<br>
><br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>ChangBo Guo(gcb)</div></div></div>
</div></div>