Re: [Linuxptp-users] Raw socket close issue
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: ramesh t <ram...@ya...> - 2022-03-17 11:49:26
|
Hello Miroslav Lichvar, Please find the value of ptp config as per 8275.1 standards. logAnnounceInterval -3 announceReceiptTimeout 3 We can't increase beyond the above values. regards, Ramesh On Thursday, March 17, 2022, 04:10:38 PM GMT+5:30, Miroslav Lichvar <mli...@re...> wrote: On Wed, Mar 16, 2022 at 06:23:23PM +0000, ramesh t via Linuxptp-users wrote: > ptp4l: [704774.649] port 1: announce timeout > ptp4l: [704774.649] port 1: SLAVE to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES > > On debugging further, when port 2 is configured for down state, we call raw_close in port_disable, to close the open FDs. This closure is taking around 600ms to 800ms. This in turn impacts handling on accounce packets on port1 connected to BC/GM. > > Can you please suggest how we can resolve this issue? Maybe some optimization could be implemented in the kernel to shorten that time. I don't know why it takes so long. What is your logAnnounceInterval and announceReceiptTimeout? Could they be increased? -- Miroslav Lichvar |