Miroslav Lichvar
93b5b08bed
Add iburst server option
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
be4369936b
Clamp tick value before calling adjtimex
...
If tick is outside allowed adjtimex range, clamp it and log a warning
instead of aborting.
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
1a7415a6ab
Return actual frequency in drv_set_freq functions
...
This is needed to keep sourcestats accurate when the actual frequency is
different from the requested frequency due to clamping (or possibly
rounding in future system drivers).
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
c15db71f9e
Add dispersion after Linux makestep
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
74cb1c877c
Mark source unreachable after offline burst
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
a949ab6935
Increase burst polling interval
...
To avoid getting KoD RATE from NTP server (triggering discard minimum 1)
when burst sampling, increase polling interval to 2 seconds.
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
f0fd7099c0
Stop burst sampling when received KoD RATE
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
e0009f9f40
Update drift file at most once per hour
...
Instead of writing to the file on every reference update, update it
on first update, on exit and otherwise only once per hour.
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
14d2576924
Remove absolute frequency from handler parameters
...
None of the current handlers really need it and with temperature
compensation enabled it would be necessary to undo the compensation
before passing it to the handlers.
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
c386d11765
Add temperature compensation
...
A new tempcomp directive can be used to specify a file for reading
current temperature, update interval and compensation coefficients. The
clock frequency corrections are applied in local module and are invisible
in upper layers. The measurements and corrections can be logged to
tempcomp.log file.
2010-04-27 14:35:11 +02:00
Miroslav Lichvar
f12bc10917
Add fallback drifts
...
Fallback drifts are long-term averages of the system clock drift
calculated over exponentially increasing intervals. They are used when
the clock is unsynchronised to avoid quickly drifting away from true
time if there was a short-term deviation in drift before the
synchronisation was lost.
2010-04-27 14:27:05 +02:00
Miroslav Lichvar
99d18abf59
Fix frequency accumulation
2010-04-21 13:59:37 +02:00
Miroslav Lichvar
bc29c84610
Fix possible memory leak in mkdir_and_parents()
2010-04-13 15:16:49 +02:00
Miroslav Lichvar
e78e65ef22
Refactor file logging
2010-04-13 15:16:41 +02:00
Håkan Johansson
f9103531c4
Avoid large times in chronyc sources / sourcestats overflowing lines
...
Main trouble was double values too large to be represented as ints being
converted to -INT_MAX and then passing the < 9999 cut.
2010-04-07 14:26:41 +02:00
Miroslav Lichvar
2ea87490f4
Mark offline sources unreachable
2010-04-02 15:55:58 +02:00
Miroslav Lichvar
5fb5551c36
Add refclock precision
2010-03-02 14:23:54 +01:00
Miroslav Lichvar
b9b0326d15
Reduce noise in refclock sample dispersions
...
Use the estimated dispersion only if it's higher than long-term average.
This should improve performance with short polling intervals.
2010-03-02 14:23:50 +01:00
Miroslav Lichvar
97f2f16fd6
Log also filtered samples
2010-03-02 13:19:33 +01:00
Miroslav Lichvar
fc1514db04
Adjust refclock filter parameters
...
Drop only about 40 percent of samples, change default length to 64,
require at least 4 samples between polls (or full filter for lengths
below 4).
2010-03-02 13:19:33 +01:00
Miroslav Lichvar
7fb0598b50
Make linear fit in refclock dispersion calculation
...
This should improve reaction to sudden temperature changes with
very precise refclocks and/or long polling intervals.
2010-03-02 13:19:02 +01:00
Miroslav Lichvar
fd375ca55b
Estimate offset correction error in Linux driver
2010-02-18 14:17:16 +01:00
Miroslav Lichvar
0f70959d8e
Add dispersion notification handlers
2010-02-16 18:51:37 +01:00
Miroslav Lichvar
8cb6fcad7e
Include offset correction error in dispersion
2010-02-16 18:38:46 +01:00
Miroslav Lichvar
20d898d182
Prepare for handling offset correction error
2010-02-16 17:46:42 +01:00
Miroslav Lichvar
10c9a7d4b7
Don't set system precision to log2 based value
2010-02-16 17:46:42 +01:00
Miroslav Lichvar
441e42c276
Fix stratum with locked PPS refclock and local stratum
2010-02-16 17:46:42 +01:00
Miroslav Lichvar
fe2dbfb6cb
Update NEWS
2010-02-04 13:07:19 +01:00
Miroslav Lichvar
032ac800aa
Limit rate of syslog messages
...
Error messages caused by incoming packets need to be rate limited
to avoid filling up disk space.
2010-02-04 13:07:19 +01:00
Miroslav Lichvar
5e86eeacfb
Don't reply to invalid chronyc packets
2010-02-04 13:07:19 +01:00
Miroslav Lichvar
75b7d33fb7
Update list of commands not using authentication in documentation
2010-02-04 13:07:19 +01:00
Miroslav Lichvar
a6e532442b
Initialize local_ntp_tx in ntp_core
...
This fixes another valgrind error.
2010-02-04 12:42:48 +01:00
Miroslav Lichvar
a123a12f59
Allow to set only permission bits with perm option
2010-01-29 09:50:51 +01:00
Miroslav Lichvar
f261251a9b
Add perm option to SHM driver
2010-01-28 10:10:16 +01:00
Miroslav Lichvar
a0e1154bfb
Add common refclock driver option parsing
2010-01-28 10:10:16 +01:00
Miroslav Lichvar
e261278a5c
Add lock option for PPS refclocks
2010-01-28 10:10:13 +01:00
Miroslav Lichvar
dbb550e6db
Don't start chronyd with unrecognized command line options
2010-01-27 13:53:49 +01:00
Hattink, Tjalling (FINT)
27a9b0e7b1
Fix scheduler to allow stepping clock from timeout handler
2010-01-26 17:20:08 +01:00
Miroslav Lichvar
8a00758cf5
Add makestep directive
2010-01-25 15:51:15 +01:00
Miroslav Lichvar
15e154c09d
Handle immediate step in local module instead of system driver
...
This fixes the problem where scheduler wasn't notified about performed
steps and it also makes the command available on all supported systems.
2010-01-25 15:51:15 +01:00
Miroslav Lichvar
52d0c9a057
Limit timeout for end of slew to avoid overflow
2010-01-25 15:50:45 +01:00
Miroslav Lichvar
4593471ad5
Don't require _bigadj kernel symbol in NetBSD driver
2010-01-13 14:40:13 +01:00
Miroslav Lichvar
a3288d4284
Print only printable characters from refid
2010-01-13 14:00:12 +01:00
Miroslav Lichvar
22f0da4da6
Fix name resolving on NetBSD
2010-01-12 18:28:04 +01:00
Miroslav Lichvar
baa977a3ed
Increase buffers used to print IPv6 addresses
2010-01-12 18:05:41 +01:00
Miroslav Lichvar
b4b2491015
Return 0 from DNS_IPAddress2Name when name was truncated
2010-01-12 17:58:03 +01:00
Miroslav Lichvar
902ed3c694
Write banner to tracking log when not synchronized
2010-01-12 16:59:11 +01:00
Bill Unruh
4a9205b341
Log warning when changing file ownership fails
2009-12-20 12:29:24 +01:00
Miroslav Lichvar
8a4313c32b
Update NEWS
2009-12-15 16:07:34 +01:00
Miroslav Lichvar
b32432c232
Move estimated offset and error to sourcestats report
...
And print the estimated offset in sourcestats output.
2009-12-14 10:34:33 +01:00