<br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 11:25 AM, Eoghan Glynn <span dir="ltr"><<a href="mailto:eglynn@redhat.com" target="_blank">eglynn@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
<br>
> > I don't think (max - min) would suffice to give an accurate<br>
> > measure of the actual CPU time used, as the counter may have<br>
> > reset multiple times in the course of the requested duration.<br>
><br>
> It is, because /max in the API should be aware of the fact a<br>
> reset can occur and computes accordingly. We started to discuss<br>
> this a bit in:<br>
><br>
> <a href="https://bugs.launchpad.net/ceilometer/+bug/1061817" target="_blank">https://bugs.launchpad.net/ceilometer/+bug/1061817</a><br>
<br>
</div>A-ha, OK, so not so much (max - min) as:<br>
<br>
(\Sigma local maxima) - first<br>
<br>
Sounds computationally expensive to produce on the fly, but maybe<br>
the local maxima can be efficiently recorded as the data is being<br>
ingested.<br></blockquote><div><br></div><div>Is that better than just reporting the data in a more easily digested format in the first place?</div><div><br></div><div>Julien, I don't understand your comment about losing data "<span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">if your </span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">system is not launched to compute delta". Can you clarify what you mean there? I do understand that the agent would need to store state about the counter locally in order to track the delta value, but I think we could provide a convenient way for pollsters to do that without complicating them excessively.</span></div>
<div><br></div><div><font color="#222222" face="arial, sans-serif">Doug</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
Eoghan<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br>