On Tue, Sep 21, 2021 at 12:31:57PM +0300, Joseph Matan wrote: > > > > Enabling the weighted filtered mode can help, but not as much as > > disabling the filter completely, at least from what I have seen in my > > tests. > > > I guess it depends on the environment (devices and switches in the between > and traffic), > but from my experience I've received better results when I worked with the > percentile filter in weighted filtered mode,
Can you show your results? Here is my test comparing the median filter with 0.1 percentile and no filter in a network with an asymmetrically distributed delay (mean 10 microseconds). https://fedorapeople.org/~mlichvar/tmp/ptp/delayfilter.png As you can see, the percentile filter added a significant asymmetry of about 4 microseconds. In terms of RMS time error, it's about 3x worse than the median filter and about 5x worse than no filter. The shared part of the config was: delay_filter_length 11 pi_proportional_const 0.04 pi_integral_const 0.00024 > and even much better results when I used my own weighted filter > implementation (which I also hope to share soon). Well, in that case I think these changes would better be submitted and reviewed together. -- Miroslav Lichvar _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel