[ntp:questions] Trying to make NTP daemon as one of the Sync source

2017-05-30 Thread akash saxena
*Hi all, *
*I am trying to implement a system where NTP daemon will be a Sync source
like others (GNSS/PTP/NL). *
*These all sync sources (GNSS/PTP/NL) provide a CLOCK REPORT based on their
accuracy. *
*Which consist *

   - *TimeError, *
   - *FrequencyError, *
   - *Time Uncertainty and *
   - *Frequency Uncertainty.*

*Can i get these four parameters in ntpq -pcrl output so that i can
implement NTPD as a sync source. presently i am getting the ntpq -pcrl
output like below.*



*# ntpq -pcrl remote   refid  st t when poll reach   delay
  offset
 
jitter==
130.107.154.104
.STEP.  16 u- 102400.0000.000
0.000*129.107.154.104 169.254.169.254  3 u1   64  377  280.966   52.995
 43.666associd=0 status=0618 leap_none, sync_ntp, 1 event,
no_sys_peer,version="ntpd 4.2.8p5@1.3265-o Thu May 25 19:52:00 UTC 2017
(1)",processor="armv7l", system="Linux/3.10.49-perf", leap=00,
stratum=4,precision=-20, rootdelay=282.690, rootdisp=80.613,
refid=104.154.107.129,reftime=dcd7cb67.7569a73c  Tue, May 30 2017
10:43:51.458,clock=dcd7ccc7.1f2fb0c4  Tue, May 30 2017 10:49:43.121,
peer=62203, tc=6,mintc=3, offset=52.994796, frequency=6.065,
sys_jitter=0.00,clk_jitter=17.546, clk_wander=6.134Please help in
finding these parameter or how can i calculate the above by using the ntpq
-pcrl output.Thanks,Akash Saxena*
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] Trying to make NTP daemon as one of the Sync source

2017-05-31 Thread Miroslav Lichvar
On Tue, May 30, 2017 at 04:21:14PM +0530, akash saxena wrote:
> *Hi all, *
> *I am trying to implement a system where NTP daemon will be a Sync source
> like others (GNSS/PTP/NL). *
> *These all sync sources (GNSS/PTP/NL) provide a CLOCK REPORT based on their
> accuracy. *
> *Which consist *
> 
>- *TimeError, *
>- *FrequencyError, *
>- *Time Uncertainty and *
>- *Frequency Uncertainty.*
> 
> *Can i get these four parameters in ntpq -pcrl output so that i can
> implement NTPD as a sync source. presently i am getting the ntpq -pcrl
> output like below.*

It would help if we knew what exactly are those four values supposed
to represent. One way to map the values from ntpq would be:

offset -> TimeError
clk_jitter -> Time Uncertainty
clk_wander -> Frequency Uncertainty

ntpd does't estimate the current frequency error of the clock. You
might want to set FrequencyError to 0 or "undefined".

-- 
Miroslav Lichvar
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions