Hi Richard,

I am working with a point to point master/slave configuration where the master 
is a regular Linux PC and the slave is an SoC FPGA running an ARM with embedded 
Linux. I am seeing that once ptp4l runs for a little bit I get little to no 
variation in my offsets. However if I execute certain commands in Linux, 
specifically queries to PMC my offset jumps. It will usually return back to 
normal after a little bit but was wondering what is causing the jump (log file 
attached).

Based on the location of the jump I would venture to say it is not an issue in 
the FPGA hardware but rather something within the ARM/OS. Do you know what 
could be causing the jumps?

Thanks,
Daniel
ptp4l[39.273]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[39.898]: rms 806488204208969088 max 1612976408417941248 freq +42548 +/- 
16105 delay 114184164 +/-   0
ptp4l[40.899]: rms  299 max  474 freq +49851 +/- 405
ptp4l[41.899]: rms 5665512 max 10423129 freq +6542033 +/- 6575706 delay 
103761539 +/-   0
ptp4l[42.899]: rms 1982196 max 3931108 freq +5866179 +/- 2399911
ptp4l[43.899]: rms 2386850 max 2526886 freq +296744 +/- 886812
ptp4l[44.899]: rms 1793459 max 2269660 freq -1148848 +/- 77962
ptp4l[46.000]: rms 687299 max 1070098 freq -830766 +/- 175333
ptp4l[46.900]: rms 96964 max 180636 freq -257672 +/- 130563
ptp4l[47.900]: rms 145149 max 152532 freq +51757 +/- 48527
ptp4l[48.900]: rms 101613 max 131280 freq +123896 +/- 3174
ptp4l[49.900]: rms 36350 max 57975 freq +100296 +/- 10835
ptp4l[50.900]: rms 5389 max 7973 freq +66710 +/- 7590
ptp4l[51.901]: rms 5938983 max 10414105 freq +10505834 +/- 2889674 delay 
93338915 +/-   0
ptp4l[52.901]: rms 1782186 max 2486950 freq +2537435 +/- 1593341
ptp4l[53.901]: rms 2317408 max 2530494 freq -784602 +/- 428081
ptp4l[54.901]: rms 1243060 max 1743654 freq -1127171 +/- 125526
ptp4l[55.901]: rms 313080 max 565643 freq -545881 +/- 175047
ptp4l[57.024]: rms 119699 max 156474 freq -75484 +/- 91156
ptp4l[57.902]: rms 142744 max 160765 freq +114828 +/- 21306
ptp4l[58.902]: rms 70009 max 100988 freq +122109 +/- 9656
ptp4l[59.986]: rms 15314 max 28991 freq +83779 +/- 10624
ptp4l[60.902]: rms 8470 max 9985 freq +55926 +/- 5000
ptp4l[61.902]: rms 8353 max 9832 freq +46407 +/- 949
ptp4l[62.903]: rms 3885 max 5683 freq +46438 +/- 616
ptp4l[63.903]: rms  770 max 1505 freq +48785 +/- 629
ptp4l[65.028]: rms  540 max  616 freq +50374 +/- 286
ptp4l[65.903]: rms  506 max  608 freq +50919 +/-  47
ptp4l[66.903]: rms  221 max  331 freq +50886 +/-  43
ptp4l[67.904]: rms   40 max   79 freq +50744 +/-  35
ptp4l[68.904]: rms   28 max   32 freq +50661 +/-  13
ptp4l[69.904]: rms   24 max   30 freq +50638 +/-   2
ptp4l[70.904]: rms    8 max   14 freq +50644 +/-   3
ptp4l[71.904]: rms    7 max   10 freq +50662 +/-   7
ptp4l[72.905]: rms    9 max   11 freq +50675 +/-   1
ptp4l[73.905]: rms    2 max    4 freq +50672 +/-   1
ptp4l[74.905]: rms    5 max    6 freq +50679 +/-   2
ptp4l[75.905]: rms    6 max    7 freq +50686 +/-   2
ptp4l[76.992]: rms    5 max    6 freq +50689 +/-   3
ptp4l[77.906]: rms    6 max    7 freq +50697 +/-   2
ptp4l[78.906]: rms    7 max    9 freq +50705 +/-   1
ptp4l[79.987]: rms    2 max    3 freq +50701 +/-   2
ptp4l[81.031]: rms    2 max    2 freq +50701 +/-   2
ptp4l[81.906]: rms    2 max    3 freq +50704 +/-   1
ptp4l[82.907]: rms    1 max    2 freq +50704 +/-   1
ptp4l[83.907]: rms    3 max    4 freq +50697 +/-   2
ptp4l[84.907]: rms    2 max    4 freq +50696 +/-   2
ptp4l[85.907]: rms    3 max    4 freq +50703 +/-   2
datptp4l[86.907]: rms    9 max   11 freq +50716 +/-   6
eptp4l[87.908]: rms    6 max   10 freq +50719 +/-   3

Wed Apr 24 11:09:16 UTC 2019
root@stratix10:~/s10dfmc_soc_tools/tools/bin# ptp4l[88.908]: rms    6 max   10 
freq +50704 +/-   5
ptp4l[89.908]: rms   16 max   19 freq +50679 +/-   8
ptp4l[90.908]: rms   19 max   21 freq +50655 +/-   4
ptp4l[91.908]: rms   10 max   13 freq +50653 +/-   0
ptp4l[92.908]: rms    5 max    5 freq +50654 +/-   2
ptp4l[93.909]: rms    5 max    7 freq +50649 +/-   3
ptp4l[94.909]: rms    7 max    7 freq +50640 +/-   2
ptp4l[95.909]: rms    4 max    5 freq +50638 +/-   1
ptp4l[96.909]: rms    4 max    6 freq +50634 +/-   3
ptp4l[97.909]: rms    6 max    9 freq +50627 +/-   4
ptp4l[98.910]: rms    9 max    9 freq +50615 +/-   3
ptp4l[99.910]: rms   10 max   10 freq +50604 +/-   2
ptp4l[100.910]: rms    7 max    9 freq +50599 +/-   1
ptp4l[101.910]: rms    3 max    5 freq +50599 +/-   1
ptp4l[102.910]: rms    4 max    6 freq +50596 +/-   3
ptp4l[103.910]: rms    6 max    7 freq +50587 +/-   1
ptp4l[104.911]: rms    4 max    6 freq +50585 +/-   3
ptp4l[105.911]: rms   10 max   11 freq +50570 +/-   4
ptp4l[106.911]: rms   10 max   11 freq +50559 +/-   4
ptp4l[107.911]: rms    7 max   11 freq +50556 +/-   3
ptp4l[108.911]: rms    8 max   13 freq +50575 +/-   7
ptp4l[109.911]: rms   14 max   15 freq +50595 +/-   6
ptp4l[110.912]: rms   14 max   15 freq +50611 +/-   3
ptp4l[111.912]: rms    8 max   10 freq +50613 +/-   1
ptp4l[112.912]: rms    2 max    4 freq +50610 +/-   1
ptp4l[113.912]: rms    5 max    8 freq +50617 +/-   4
ptp4l[114.912]: rms    7 max    7 freq +50626 +/-   2
ptp4l[115.913]: rms    5 max    6 freq +50631 +/-   1
ptp4l[116.913]: rms    7 max    7 freq +50639 +/-   2
ptp4l[117.913]: rms    8 max    9 freq +50648 +/-   2
ptp4l[118.913]: rms    3 max    5 freq +50648 +/-   1
ptp4l[119.913]: rms    5 max    7 freq +50654 +/-   4
ptp4l[120.913]: rms    3 max    5 freq +50656 +/-   1
ptp4l[121.914]: rms    1 max    1 freq +50653 +/-   1
ptp4l[122.914]: rms    4 max    6 freq +50659 +/-   4
ptp4l[123.914]: rms    6 max    7 freq +50669 +/-   2
~/ptp4l_output/pmc -u -s /var/run/ptp4l.eth0 'GET PORT_DATA_SET'ptp4l[124.914]: 
rms    4 max    7 freq +50671 +/-   2

sending: GET PORT_DATA_SET
        023580.fffe.00370c-1 seq 0 RESPONSE MANAGEMENT PORT_DATA_SET
                portIdentity            023880.fffe.00377c-1
                portState               SLAVE
                logMinDelayReqInterval  -3
                peerMeanPathDelay       0
                logAnnounceInterval     1
                announceReceiptTimeout  3
                logSyncInterval         -3
                delayMechanism          1
                logMinPdelayReqInterval 0
                versionNumber           2
root@stratix10:~/s10dfmc_soc_tools/tools/bin# ptp4l[125.914]: rms    7 max    8 
freq +50680 +/-   3
ptp4l[126.915]: rms    4 max    6 freq +50682 +/-   1
ptp4l[127.915]: rms    2 max    4 freq +50681 +/-   2
~/ptp4l_output/pmc -u -s /var/run/ptp4l.eth0 'GET PORT_DATA_SET'
sending: GET PORT_DATA_SET
        023580.fffe.00370c-1 seq 0 RESPONSE MANAGEMENT PORT_DATA_SET
                portIdentity            023880.fffe.00377c-1
                portState               SLAVE
                logMinDelayReqInterval  -3
                peerMeanPathDelay       0
                logAnnounceInterval     1
                announceReceiptTimeout  3
                logSyncInterval         -3
                delayMechanism          1
                logMinPdelayReqInterval 0
                versionNumber           2
root@stratix10:~/s10dfmc_soc_tools/tools/bin# ptp4l[128.915]: rms 1721358 max 
3763903 freq +1342795 +/- 2241220 delay 89575011 +/-   0
ptp4l[129.915]: rms 3417688 max 6235902 freq +6737600 +/- 2000159 delay 
85811107 +/-   0
ptp4l[130.915]: rms 1411751 max 1808103 freq +1405377 +/- 1022833
ptp4l[131.915]: rms 1584924 max 1807778 freq -626501 +/- 226025
ptp4l[132.916]: rms 793056 max 1130604 freq -738818 +/- 97084
ptp4l[133.916]: rms 183058 max 340888 freq -327890 +/- 117622
ptp4l[134.916]: rms 88226 max 108612 freq -19227 +/- 58018
ptp4l[135.916]: rms 92999 max 107785 freq +93674 +/- 11856
ptp4l[136.916]: rms 44957 max 64801 freq +96934 +/- 6183
ptp4l[137.917]: rms 9740 max 18523 freq +72040 +/- 6906
ptp4l[138.917]: rms 5496 max 6511 freq +54196 +/- 3285
ptp4l[139.917]: rms 5450 max 6416 freq +47947 +/- 613
ptp4l[140.917]: rms 2545 max 3707 freq +47945 +/- 387
ptp4l[141.917]: rms  519 max 1005 freq +49437 +/- 401
ptp4l[142.917]: rms  330 max  379 freq +50452 +/- 181
ptp4l[143.918]: rms  306 max  368 freq +50780 +/-  27
ptp4l[144.918]: rms  135 max  200 freq +50763 +/-  24
ptp4l[145.918]: rms   24 max   48 freq +50670 +/-  25
ptp4l[146.918]: rms   24 max   26 freq +50610 +/-  11
ptp4l[147.918]: rms   21 max   25 freq +50589 +/-   2
ptp4l[148.918]: rms   11 max   14 freq +50586 +/-   1
ptp4l[150.169]: rms    6 max    7 freq +50585 +/-   3
ptp4l[151.169]: rms    4 max    5 freq +50582 +/-   1
ptp4l[152.169]: rms    3 max    6 freq +50580 +/-   3
ptp4l[153.169]: rms   10 max   14 freq +50565 +/-   6
ptp4l[154.213]: rms   12 max   15 freq +50549 +/-   1
ptp4l[155.170]: rms    4 max    6 freq +50554 +/-   3
ptp4l[156.170]: rms    5 max    9 freq +50566 +/-   4
ptp4l[157.170]: rms   14 max   16 freq +50588 +/-   7
ptp4l[158.170]: rms   13 max   15 freq +50602 +/-   4
ptp4l[159.170]: rms    9 max   12 freq +50608 +/-   1
ptp4l[160.171]: rms    6 max    8 freq +50611 +/-   1
ptp4l[161.171]: rms    4 max    4 freq +50613 +/-   1
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to