| To: | myllynen@xxxxxxxxxx, pcp@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [pcp] pcp updates: pmlogger semantics change, 1st round of strtoint64 changes |
| From: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
| Date: | Thu, 15 Oct 2015 17:33:47 +1100 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <561F4612.6010603@xxxxxxxxxx> |
| References: | <561F4485.5000903@xxxxxxxxxxxxxxxx> <561F4612.6010603@xxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 15/10/15 17:22, Marko Myllynen wrote: ... thanks for looking into this - I couldn't imagine how much work such a "simple" change would require! It got a little messy because previously all the "log once" records magically appeared at the beginning of the archive, but now we need to force this to happen before any of the "now" samples for the log with delta metrics ... this is needed to keep lots of tools happy, e.g. expecting to find hinv.something before kernel.somethingelse in the archive. And the QA fallout is all because now [simple explanation with one metric and one sample interval] if the sample delta is D seconds, and the archive contains K samples, then previously the time from the start to the end of the archive was K*D seconds, but now it is (K-1)*D seconds ... and conversely if pmlogger stops after X seconds there is one more record in the archive now. The change in the boundary conditions meant that some tests produce slightly different results now. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] pcp updates: pmlogger semantics change, 1st round of strtoint64 changes, Marko Myllynen |
|---|---|
| Next by Date: | Re: [pcp] pcp updates: pmlogger semantics change, 1st round of strtoint64 changes, Nathan Scott |
| Previous by Thread: | Re: [pcp] pcp updates: pmlogger semantics change, 1st round of strtoint64 changes, Marko Myllynen |
| Next by Thread: | Re: [pcp] pcp updates: pmlogger semantics change, 1st round of strtoint64 changes, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |