Re: [chrony-users] Root delay and Root dispersion values in `chronyc ntpdata' |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Root delay and Root dispersion values in `chronyc ntpdata'
- From: Horia Muntean <horia.muntean@xxxxxxxxx>
- Date: Mon, 4 Sep 2017 12:28:18 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Js5R2nSwV/BXaX7tAbFf97RPXzt7sdTvdnk2i6aDmis=; b=FWVBlw/chTRXWomxXSjURMz6FZ1ws2KnLXVOFR63c0TqHzxn0n99czYItN+Vzfbu98 LAcoa4aUI9qbP5fVbD4N/+k+5VfzgWw0jSJfxY1tQJKOXYXsxkHGvB68ofJfKr0tf0Lv a2rvkOwdLVfZnWXg0Hjv9gTejjDx+TyfBPCb5g9+IeQO4r+cL38m14U1JwwAWq+cLC9k 8RmUJBbqBDfOQE5Hicp2g+ZSdX3j7y7Tw1uA2rPLt5JnwNeWLp04WfkINds5xYy/Sp58 not1ta0dlABoI5ZG0YsiN8FT6iC+ek7IBVuvUPtSPUaxKdM4T5nxVF+TIoVmeVbOYRpf BOvA==
On Wed, Aug 23, 2017 at 5:40 PM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> The latest code in git produces three additional fields in the
> tracking log: root delay, root dispersion and maximum error using root
> delay and dispersion as it is right before the update. I wasn't able
> to figure out a good way to combine the data before and after update.
> It can be improved later.
>
> --
> Miroslav Lichvar
trainer@spark:~/downloads/chrony-3.2-pre2$ tail -f /var/log/chrony/tracking.log
===================================================================================================================================
Date (UTC) Time IP Address St Freq ppm Skew ppm
Offset L Co Offset sd Rem. corr. Root delay Root disp. Max. error
===================================================================================================================================
2017-09-04 12:20:19 0.0.0.0 0 -3.374 0.319
0.000e+00 ? 0 0.000e+00 1.505e-16 1.000e+00 1.000e+00 1.500e+00
2017-09-04 12:20:28 192.168.254.122 2 -3.374 0.319
2.569e-06 N 1 9.987e-06 1.292e-10 9.488e-05 1.088e-03 1.500e+00
2017-09-04 12:20:32 192.168.254.122 2 -3.374 0.333
4.472e-06 N 1 5.106e-06 4.518e-10 7.142e-05 1.027e-03 1.145e-03
2017-09-04 12:20:36 192.168.254.122 2 -3.375 0.397
-1.854e-06 N 1 3.455e-06 -1.863e-06 7.142e-05 1.051e-03 1.073e-03
2017-09-04 12:20:40 192.168.254.122 2 -3.382 0.563
-4.762e-07 N 1 2.978e-06 -9.035e-09 8.081e-05 1.027e-03 1.093e-03
2017-09-04 12:20:44 192.168.254.122 2 -3.397 0.854
4.996e-07 N 1 2.085e-06 4.186e-07 8.081e-05 1.032e-03 1.074e-03
2017-09-04 12:20:48 192.168.254.122 2 -3.557 1.098
-3.358e-06 N 1 2.188e-06 -7.890e-08 7.458e-05 1.028e-03 1.080e-03
2017-09-04 12:20:52 192.168.254.122 2 -3.582 0.871
5.087e-07 N 1 2.359e-06 2.816e-08 7.458e-05 1.030e-03 1.078e-03
2017-09-04 12:20:56 192.168.254.122 2 -3.521 0.724
1.633e-06 N 1 2.427e-06 -4.157e-07 7.458e-05 1.032e-03 1.075e-03
2017-09-04 12:21:00 192.168.254.122 2 -3.544 0.535
-8.967e-07 N 1 2.171e-06 -8.854e-07 7.458e-05 1.032e-03 1.078e-03
2017-09-04 12:21:04 192.168.254.122 2 -3.558 0.396
-3.287e-07 N 1 1.881e-06 1.131e-08 7.458e-05 1.032e-03 1.076e-03
2017-09-04 12:21:08 192.168.254.122 2 -3.556 0.343
9.500e-08 N 1 1.978e-06 2.991e-07 7.458e-05 1.034e-03 1.076e-03
2017-09-04 12:21:12 192.168.254.122 2 -3.536 0.376
9.286e-07 N 1 2.591e-06 1.902e-07 7.458e-05 1.036e-03 1.077e-03
2017-09-04 12:21:16 192.168.254.122 2 -3.514 0.338
7.338e-07 N 1 2.475e-06 -5.981e-07 7.458e-05 1.035e-03 1.080e-03
2017-09-04 12:21:20 192.168.254.122 2 -3.503 0.279
3.578e-07 N 1 2.267e-06 -8.524e-07 7.458e-05 1.035e-03 1.079e-03
2017-09-04 12:21:24 192.168.254.122 2 -3.496 0.241
2.553e-07 N 1 2.183e-06 -7.818e-07 7.458e-05 1.036e-03 1.079e-03
2017-09-04 12:21:28 192.168.254.122 2 -3.491 0.211
2.499e-07 N 1 2.087e-06 -7.075e-07 7.458e-05 1.035e-03 1.079e-03
Thanks
But something is off:
root@spark:~# chronyc -n ntpdata 192.168.254.122
Remote address : 192.168.254.122 (C0A8FE7A)
Remote port : 123
Local address : 192.168.254.76 (C0A8FE4C)
Leap status : Normal
Version : 4
Mode : Server
Stratum : 1
Poll interval : 3 (8 seconds)
Precision : -18 (0.000003815 seconds)
Root delay : 0.000000 seconds
Root dispersion : 0.001022 seconds
Reference ID : 4D525300 (MRS)
Reference time : Mon Sep 04 09:26:22 2017
Offset : -0.000026464 seconds
Peer delay : 0.000123199 seconds
Peer dispersion : 0.000003835 seconds
Response time : 0.000317335 seconds
Jitter asymmetry: +0.00
NTP tests : 111 111 1111
Interleaved : No
Authenticated : No
TX timestamping : Daemon
RX timestamping : Kernel
Total TX : 91
Total RX : 91
Total valid RX : 91
root@spark:~# chronyc -n tracking
Reference ID : C0A8FE7A (192.168.254.122)
Stratum : 2
Ref time (UTC) : Mon Sep 04 12:26:28 2017
System time : 0.000000126 seconds fast of NTP time
Last offset : -0.000000720 seconds
RMS offset : 0.000000750 seconds
Frequency : 3.535 ppm slow
Residual freq : -0.001 ppm
Skew : 0.094 ppm
Root delay : 0.000071799 seconds
Root dispersion : 0.001026187 seconds
Update interval : 4.0 seconds
Leap status : Normal
192.168.254.122 is reported as stratum-1 in 'ntpdata' and as stratum-2
in 'tracking'. Why is that ?
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.