Hi Miroslav,

My question is about mathematical interpretation of the output from the ptp4l 
stack. If I see the output like the one below, is it fair to assume that the 
'rms' (root mean squre) is the mean offset of all the sample offsets observed 
in the interval and 'max' is the maximum deviation observed from the rms value? 
I am likening it to kinda gaussian/normal distribution but without sign 
interpretation. Otherwise, I am fully in line with what you have mentioned 
below.

ptp4l[833.369]: rms    2 max    7 freq -156403 +/-   7 delay    28 +/-   0

Thanking you in anticipation,
Regards,
Chandra

(c) : +60.175508142
(O): +60.4.636.6412

"Knowledge speaks, Wisdom listens"



-----Original Message-----
From: Miroslav Lichvar [mailto:mlich...@redhat.com]
Sent: Friday, June 19, 2015 4:23 PM
To: Chandra Mallela
Cc: linuxptp-users@lists.sourceforge.net
Subject: Re: [Linuxptp-users] Interpretation of ptp4l results

On Fri, Jun 19, 2015 at 07:53:52AM +0000, Chandra Mallela wrote:
>
>
> Hi Friends,
>
> I would like to double-check whether my following interpretation is correct. 
> Please elucidate me.
>
> For the following ptp4l output, the ptp4l reports rms value and the max 
> deviation from the mean offset. Thus, if I have to report the worstcase 
> accuracy, I take the (rms+max). For example, , looking at the first line, I 
> see that the maximum offset uncertainty/inaccuracy  observed is 2 +7 = 9ns. 
> The maximum frequency uncertainty is (156403 + 7) pbb.

The max value is just the maximum measured offset in that interval. It doesn't 
mean it's also the worst accuracy of the clock. There could be an asymmetry in 
the network delay and ptp4l wouldn't know the clock is actually behind or ahead 
of the time source. To evaluate the accuracy you would to measure the error 
independendly from PTP, for example by comparing PPS signal generated by the 
synchronized clock with the reference on a scope.

--
Miroslav Lichvar

________________________________

Confidentiality Notice.
This message may contain information that is confidential or otherwise 
protected from disclosure. If you are not the intended recipient, you are 
hereby notified that any use, disclosure, dissemination, distribution, or 
copying of this message, or any attachments, is strictly prohibited. If you 
have received this message in error, please advise the sender by reply e-mail, 
and delete the message and any attachments. Thank you.

------------------------------------------------------------------------------
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to