Re: [chrony-dev] adjusting frequency on the basis of temperature

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Hi Miroslav,

> The development version supports tempcomp directive, it allows you to
> specify a file which contains the measured temperature, and constant,
> linear and quadratic coefficients to calculate to correction. 

Interesting.
 
> Currently, there is a correction limit hardcoded to 10 ppm, will that
> be enough?

Maybe not. My crystal is 23ppm off at +43C. I haven't measured the
temperature variation yet, although from previous experience it can be
a substantial effect.

> > I was contemplating hacking into the refclock_sock.c code to add a new
> > "sample" message which adjusted the frequency. Is this a sensible
> > approach? Any pointers appreciated.
> 
> The tempcomp.c file is probably a better place, if you want to
> add support for socket, etc.

Thanks for the pointer. 

Cheers,
Michael

---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/