[ntp:questions] Trouble Simulating Leap Seconds
Jim Witschey
jim.witschey at datastax.com
Mon Apr 6 17:56:48 UTC 2015
Do I understand correctly that add_leap_second is an NTP-internal
flag, while INS is a kernel flag? If so: when does the INS flag get
set in the kernel? Should I expect ntpd to do so?
Thanks.
On Fri, Apr 3, 2015 at 11:50 AM, Jim Witschey <jim.witschey at datastax.com> wrote:
>> Does status printed by ntptime include INS before midnight? Any chance
>> ntpd is started with the -x option or there is "tinker step" command
>> in ntp.conf?
>
> No `tinker` commands in `ntp.conf`. `ps axf` indicates that ntpd
> wasn't started with any options other than -p, -u, and -g.
>
> However, `ntptime` doesn't show anything about INS. Here's the output
> from the server:
>
> ntp_gettime() returns code 0 (OK)
> time d93dab7a.1db877a0 Tue, Jun 30 2015 23:57:46.116, (.116096333),
> maximum error 8176001 us, estimated error 0 us, TAI offset 36
> ntp_adjtime() returns code 0 (OK)
> modes 0x0 (),
> offset 0.000 us, frequency 0.000 ppm, interval 1 s,
> maximum error 8176001 us, estimated error 0 us,
> status 0x2001 (PLL,NANO),
> time constant 6, precision 0.001 us, tolerance 500 ppm,
>
> And from one of the clients:
>
> ntp_gettime() returns code 0 (OK)
> time d93dab7a.227ef9d0 Tue, Jun 30 2015 23:57:46.134, (.134750490),
> maximum error 1083949 us, estimated error 3910 us, TAI offset 0
> ntp_adjtime() returns code 0 (OK)
> modes 0x0 (),
> offset -4478.656 us, frequency -2.141 ppm, interval 1 s,
> maximum error 1083949 us, estimated error 3910 us,
> status 0x2001 (PLL,NANO),
> time constant 6, precision 0.001 us, tolerance 500 ppm,
More information about the questions
mailing list