logging

Hal Murray hmurray at megapathdsl.net
Sun Apr 14 12:01:44 UTC 2019


udovdh at xs4all.nl said:
> ntpsec 1.1.3's ntpd from ftp://ftp.ntpsec.org/pub/releases/ntpsec-1.1.3.tar.gz
>  gives me after startup:

> Apr 13 15:53:50 bla ntpd[12382]: CLOCK: ts_prev 1555163630 s + 594156272 ns,
> ts_min 1555163630 s + 594155713 ns 
...

Thanks.

So now we know it wasn't a recent change to ntpsec.

Were there more clusters like that, or only one?

I just pushed some tweaks.  Would you please try attic/clock and 
attic/backwards from a recent git.  clock should print some stuff and exit.  
backwards runs forever.  ^C when you get bored.

clock should show something like this for tsc:
      res   avg      min  dups  CLOCK
        1    25       17        CLOCK_REALTIME
  1000000     7  1000012    -6  CLOCK_REALTIME_COARSE
        1    18       17        CLOCK_MONOTONIC
        1   292      283        CLOCK_MONOTONIC_RAW
        1   298      289        CLOCK_BOOTTIME

Histogram: CLOCK_REALTIME, 1 ns per bucket, 1000000 samples.
        ns      hits
        18        13
        19         7
        20     71131
        21    232969
        22    651647
        23     38228
        24      3609
        25       130
        26       164
        27       149
1953 samples were bigger than 27.


and this for hpet:
      res   avg      min  dups  CLOCK
        1   888      558        CLOCK_REALTIME
  1000000     7   999999    -6  CLOCK_REALTIME_COARSE
        1   878      558        CLOCK_MONOTONIC
        1   874      558        CLOCK_MONOTONIC_RAW
        1   888      489        CLOCK_BOOTTIME

Histogram: CLOCK_REALTIME, 1 ns per bucket, 1000000 samples.
        ns      hits
       558         2
       559        13
       628        68
       629        75
       698       178
       699       101
       768       272
       769        96
       838     77929
       839      9227
       907     47895
       908    858449
5695 samples were bigger than 908.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list