Thread: [Linuxptp-users] message rates on G.8275.1
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Aditya V. <adi...@5g...> - 2023-02-17 12:11:12
|
Hi linuxptp users, Is there a way to change domain number and announce, sync, delay request message intervals with G.8275.1 profile? When I run without any modifications, I am getting 1 sync, 1 delay request and 1/2 announce per second and domain number as 0. But I want domain number 24, announce/sync/delay to be 8/16/16 per second. I've put these values in default.cfg but still it is not reflecting. Can you please help? -Aditya -- Disclaimer:- This footer text is to convey that this email is sent by one of the users of IITH. So, do not mark it as SPAM. |
From: Richard C. <ric...@gm...> - 2023-02-17 15:06:11
|
On Fri, Feb 17, 2023 at 05:40:54PM +0530, Aditya Venu via Linuxptp-users wrote: > But I want domain number 24, announce/sync/delay to be 8/16/16 per second. > I've put these values in default.cfg but still it is not reflecting. Did you run: ptp4l -f default.cfg ? Thanks, Richard |
From: Aditya V. <adi...@5g...> - 2023-02-20 10:45:08
|
Hi Richard, I ran sudo ./ptp4l -f configs/G.8275.1 -i eth0 -2 -m Thanks, Aditya On Fri, Feb 17, 2023 at 8:36 PM Richard Cochran <ric...@gm...> wrote: > On Fri, Feb 17, 2023 at 05:40:54PM +0530, Aditya Venu via Linuxptp-users > wrote: > > But I want domain number 24, announce/sync/delay to be 8/16/16 per > second. > > I've put these values in default.cfg but still it is not reflecting. > > Did you run: ptp4l -f default.cfg ? > > Thanks, > Richard > -- Disclaimer:- This footer text is to convey that this email is sent by one of the users of IITH. So, do not mark it as SPAM. |
From: Miroslav L. <mli...@re...> - 2023-02-20 10:53:33
|
On Mon, Feb 20, 2023 at 04:14:46PM +0530, Aditya Venu via Linuxptp-users wrote: > I ran sudo ./ptp4l -f configs/G.8275.1 -i eth0 -2 -m It should be -f configs/G.8275.1.cfg. The file specifies the domain 24, the L2 transport, sync interval of 1/16s, and other G.8275.1 settings. -- Miroslav Lichvar |
From: Aditya V. <adi...@5g...> - 2023-02-20 11:00:39
|
Got it I was using v2.0 where message rates aren't specified. Switched to 3.1 branch, working fine Thanks, Aditya. On Mon, Feb 20, 2023 at 4:23 PM Miroslav Lichvar <mli...@re...> wrote: > On Mon, Feb 20, 2023 at 04:14:46PM +0530, Aditya Venu via Linuxptp-users > wrote: > > I ran sudo ./ptp4l -f configs/G.8275.1 -i eth0 -2 -m > > It should be -f configs/G.8275.1.cfg. The file specifies > the domain 24, the L2 transport, sync interval of 1/16s, and other > G.8275.1 settings. > > -- > Miroslav Lichvar > > -- Disclaimer:- This footer text is to convey that this email is sent by one of the users of IITH. So, do not mark it as SPAM. |
From: Aditya V. <adi...@5g...> - 2023-02-20 11:07:05
|
In default.cfg, I kept the domain number as 24 and ran sudo ./ptp4l -f configs/G.8275.1.cfg -i eth0 -2 -m. The message rates changed, but domain number is not changing to 24. On Mon, Feb 20, 2023 at 4:30 PM Aditya Venu <adi...@5g...> wrote: > Got it I was using v2.0 where message rates aren't specified. Switched to > 3.1 branch, working fine > > Thanks, > Aditya. > > On Mon, Feb 20, 2023 at 4:23 PM Miroslav Lichvar <mli...@re...> > wrote: > >> On Mon, Feb 20, 2023 at 04:14:46PM +0530, Aditya Venu via Linuxptp-users >> wrote: >> > I ran sudo ./ptp4l -f configs/G.8275.1 -i eth0 -2 -m >> >> It should be -f configs/G.8275.1.cfg. The file specifies >> the domain 24, the L2 transport, sync interval of 1/16s, and other >> G.8275.1 settings. >> >> -- >> Miroslav Lichvar >> >> -- Disclaimer:- This footer text is to convey that this email is sent by one of the users of IITH. So, do not mark it as SPAM. |
From: Aditya V. <adi...@5g...> - 2023-02-20 13:12:26
|
Doesn't ptp4l take the domain Number from default.cfg? On Mon, Feb 20, 2023 at 4:36 PM Aditya Venu <adi...@5g...> wrote: > In default.cfg, I kept the domain number as 24 and ran sudo ./ptp4l -f > configs/G.8275.1.cfg -i eth0 -2 -m. > > The message rates changed, but domain number is not changing to 24. > > On Mon, Feb 20, 2023 at 4:30 PM Aditya Venu <adi...@5g...> > wrote: > >> Got it I was using v2.0 where message rates aren't specified. Switched to >> 3.1 branch, working fine >> >> Thanks, >> Aditya. >> >> On Mon, Feb 20, 2023 at 4:23 PM Miroslav Lichvar <mli...@re...> >> wrote: >> >>> On Mon, Feb 20, 2023 at 04:14:46PM +0530, Aditya Venu via Linuxptp-users >>> wrote: >>> > I ran sudo ./ptp4l -f configs/G.8275.1 -i eth0 -2 -m >>> >>> It should be -f configs/G.8275.1.cfg. The file specifies >>> the domain 24, the L2 transport, sync interval of 1/16s, and other >>> G.8275.1 settings. >>> >>> -- >>> Miroslav Lichvar >>> >>> -- Disclaimer:- This footer text is to convey that this email is sent by one of the users of IITH. So, do not mark it as SPAM. |
From: Miroslav L. <mli...@re...> - 2023-02-20 13:17:01
|
On Mon, Feb 20, 2023 at 06:42:08PM +0530, Aditya Venu wrote: > Doesn't ptp4l take the domain Number from default.cfg? Only if you specify it as a config with the -f option. The default.cfg file is provided in linuxptp to show the default values of all options. It's not normally expected to be used as the real config. It doesn't change anything. -- Miroslav Lichvar |