Frequency vs. temp
Gary E. Miller
gem at rellim.com
Mon Jan 9 01:02:25 UTC 2017
Yo Hal!
On Sun, 08 Jan 2017 15:36:47 -0800
Hal Murray <hmurray at megapathdsl.net> wrote:
> gem at rellim.com said:
> > Ths plot is NTP drift vs. temp.
>
> No, that's a plot of temp vs time and another plot from a different
> file of drift vs time.
No, that is a plot of frequency versius time. Clearly stated in
the ntpviz inline doc.
"The frequency offsets and temperatures. Showing frequency offset (red,
in parts per million, scale on right) and the temeratures.
These are field 4 (frequency) from the loopstats log file, and field 3
from the temp log."
So if field 4 in the loopstats file is not the frequency offset (drift)
then we have a lot of broken doc.
Here is an online realtime sample:
https://rellim.com/ntpstats/day/#local_frequency/temp
If you can capture both at the same time then
> you can ignore the time in the file and plot drift vs temp.
> http://users.megapathdsl.net/~hmurray/ntp/slope.gif
They ARE captured at the same time, and I prefer not to throw away data.
The time allows me to also correlate to other things like cron jobs.
House furnace, etc.
> You can probably do it with some post processing to merge 2 files.
> For me, it was easier to fix the data collection side.
ntpviz already merges a ton of stuff. If you have anythong else to
compare that would be easy to add now that the backend is stable
and generic.
> > The data in /etc/driftfile is just the Frequency offset written
> > every hour or so.
>
> The "every hour or so" is pretty ugly.
Hey, not my code. Feel free to fix it. In any case, I'm using the
loopstats file which is the same data, but much more fine grained
> Better to get it from loopstats. Or from the kernel. I'll send you
> python code if you want it.
If you read what I just wrote, or look at ntpviz, you will see that
is exactly where it already comes from. That is loopstats field 4
plotted against ZONE0 temp.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170108/0e8e8f31/attachment.bin>
More information about the devel
mailing list