[chrony-dev] Latest changes in git

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


My last push to git apparently didn't generate an email and I know
some people are following the changes here, so I'm sending a log.

I think the support for external PPS timestamping on NICs is a nice
new feature, which allows for cheap and extremely accurate stratum-1
servers. I was testing it with an i210 card. It has a 6-pin header
connector on the board. A PPS signal (CMOS level) can be connected to
it and used as a PPS refclock using the PHC driver. Synchronization
seems to be stable to few tens of nanoseconds. A nice thing is that
any asymmetry on the PCIe bus between the system and NIC clock will
cancel out for clients served via the network interface as the same
clock will be timestamping the packets and the PPS signal.

commit b712c100d7264a92741365a158f991e29b5aa8fa
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Fri May 26 12:50:47 2017 +0200

    main: close logs as last thing before exit
    
    This should prevent losing messages from other finalisation code.

commit c049bce007860fb9bde2b0e508cae789e92ff844
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Thu May 25 16:12:50 2017 +0200

    client: try to connect to all addresses before giving up
    
    Don't give up when one of the addresses/hostnames specified by -h fails
    to resolve in DNS_Name2IPAddress(), e.g. with the default setting try to
    connect to ::1 even when 127.0.0.1 failed due to the -6 option.

commit 46fad717e552ac312a844d00c6cb3950ed52e172
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Thu May 25 16:02:41 2017 +0200

    client: use getopt() for command line parsing

commit ae0c3bbbe8abe3cbde64439195b14e427ff1d672
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Thu May 25 14:16:31 2017 +0200

    main: use getopt() for command line parsing
    
    This allows multiple options to be specified together and also may
    options follow configuration directives on systems where getopt()
    permutates the arguments.

commit f95d57e0d9c5c9916c92dd94b7cdd926b5ecb166
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed May 24 16:05:14 2017 +0200

    doc: fix typo in chronyd man page

commit a1cbd4eb823192401eafe1a2f5fc47d6253ea5a6
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed May 24 16:03:39 2017 +0200

    main: add option to specify log file
    
    Add -l option to log to a file instead of syslog or terminal.

commit 6cbeb107db8f687c6c2298b1d8a6240e4da31116
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed May 24 15:38:43 2017 +0200

    logging: allow logging to file instead of syslog

commit 3a5566c6c38d8e83b1d691b9e6ffd8b2503b6b35
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed May 24 15:11:33 2017 +0200

    main: use LOG_FATAL to print error when UID is not zero

commit 73c548ad01f6f4d633bcc52ff123b7e59d7263ee
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed May 24 13:50:39 2017 +0200

    sourcestats: handle negative elapsed time in SST_GetSelectionData()
    
    Source selection uses the last event time as current time. If it was
    called from a refclock which generates a sample in its poll function
    (e.g. PHC), the sample time may be later than the event time. This
    gives a negative elapsed time in SST_GetSelectionData() and possibly
    also a negative root distance, which causes the source to be rejected as
    a falseticker.
    
    Use absolute value of the difference in order to always get a positive
    root distance.

commit 82203e12c811fa32168f12c128e5d641fb62b5b9
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Mon May 22 19:05:22 2017 +0200

    doc: update refclock documentation

commit 1ca099473f0db7155560306c0fc7e1bc3951e74d
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Fri May 19 18:51:03 2017 +0200

    refclock: add option to filter wrong pulse edges
    
    Add width option to the refclock directive to set expected width of
    pulses in a PPS signal. The width adds a limit for the maximum offset
    and root distance in order to reject PPS samples from wrong events, e.g.
    PHCs which cannot be configured to timestamp only rising of falling
    edges.

commit eceb8d99371a129ad6e11f483a0442d97a895b19
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Fri May 5 16:07:34 2017 +0200

    refclock_phc: add support for timestamping of external PPS
    
    Add extpps driver option to the PHC refclock to enable external
    timestamping of PPS signal and also options to configure the channel and
    pin index. In this mode, the driver polling function accumulates samples
    for hwclock, which is used to convert received timestamping events to
    local time.

commit 4ba92bb6d669b49259b0d67faaa0f4e1779e2502
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Fri May 5 13:43:11 2017 +0200

    sys_linux: add support for external PHC timestamping

commit f31f68ae8e79ac1dc91da83edade13f916eda7c3
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Thu May 11 13:58:17 2017 +0200

    refclock: add option to treat non-PPS refclocks as PPS
    
    Add pps option to the refclock directive to force chronyd to treat any
    refclock as a PPS refclock. This is intended for refclocks that may
    provide time off by a whole number of seconds due to missing or wrong
    TAI/GPS->UTC conversion.

commit cff15f91d427c0cc23ef9261f9e7aae04647161c
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed May 10 17:47:55 2017 +0200

    refclock: allow all drivers to provide PPS samples

commit 6b74917954c2173aeb79c3ffdd30762bd33145a7
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed May 10 17:36:02 2017 +0200

    refclock: allow drivers to provide cooked PPS samples
    
    Split RCL_AddPulse() in order to provide a new function for refclock
    drivers which can make PPS samples without having raw system time, e.g.
    from PHC timestamps.

commit 1bf2384a1f2a04a831910b7d2a25ff3ce43393da
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed May 10 16:14:03 2017 +0200

    refclock: don't require raw time in valid_sample_time()
    
    This makes the check a bit more expensive, but it will be needed to
    allow refclocks that don't have raw system time.

commit 54a12779e283670134740fc77f15448baf7c2ab5
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Tue May 9 17:43:33 2017 +0200

    ntp: include local error in hwclock samples

commit e8b06fef9ff004b0e240f8cd75184efdefc9b950
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Fri May 5 13:39:12 2017 +0200

    ntp: remove unnecessary include

-- 
Miroslav Lichvar

-- 
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/