Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTP domain issues #6

Open
nm987 opened this issue Oct 14, 2020 · 2 comments
Open

PTP domain issues #6

nm987 opened this issue Oct 14, 2020 · 2 comments

Comments

@nm987
Copy link

nm987 commented Oct 14, 2020

When following the guide for PTP setup in Windows 10 it seems that W32Time will only sync if PTP domain is 0. I used 2 setups, one is Trimble GM200 grandmaster and another is Tektronix SPG8000 grandmaster + Mellanox SN2010 switch as boundary clock and the end result is the same. There are no events in "PTP-Operational" when PTP domain is different from 0.

Here is the output of w32tm /query /status /verbose when PTP domain is 0:

Leap Indicator: 0(no warning)
Stratum: 3 (secondary reference - syncd by (S)NTP)
Precision: -23 (119.209ns per tick)
Root Delay: 0.0010918s
Root Dispersion: 0.0100020s
ReferenceId: 0x4D505450 (source IP: 77.80.84.80)
Last Successful Sync Time: 10/14/2020 1:48:04 PM
Source: 192.168.200.250
Poll Interval: 10 (1024s)

Phase Offset: 0.7156279s
ClockRate: 0.0156249s
State Machine: 2 (Sync)
Time Source Flags: 0 (None)
Server Role: 0 (None)
Last Sync Error: 0 (The command completed successfully.)
Time since Last Good Sync Time: 1.9590114s

Here is when PTP domain is different from 0:

Leap Indicator: 3(not synchronized)
Stratum: 0 (unspecified)
Precision: -23 (119.209ns per tick)
Root Delay: 0.0000000s
Root Dispersion: 0.0000000s
ReferenceId: 0x00000000 (unspecified)
Last Successful Sync Time: unspecified
Source: Local CMOS Clock
Poll Interval: 10 (1024s)

Phase Offset: 0.0000000s
ClockRate: 0.0156250s
State Machine: 0 (Unset)
Time Source Flags: 0 (None)
Server Role: 0 (None)
Last Sync Error: 1 (The computer did not resync because no time data was available.)
Time since Last Good Sync Time: 19.4881785s``

Events are bein populated only when PTP domain is 0
event

And lastly, here are the PTP settings of Trimble grandmaster. Using the same settings with PTP domain different from the 0 will not work with W32Time
trimble

Is there any way to change the PTP domain via registry or similar or there is indeed an issue where only PTP domain 0 is supported?

@mwtrigg
Copy link

mwtrigg commented Oct 14, 2020

Not that I've seen. There was a blog post (will edit if I find it) where the poster (MSFT employee) states it was not an option and in the comments didn't understand what the use case would be. Never mind the fact that it is a part of the RFC.

@Donis-
Copy link

Donis- commented Jan 12, 2021

Yes, unfortunately windows PTP client only syncs with Domain Number 0.
Our use case:

  • we're receiving a PTP service that is delivered on a domain number other than 0
  • not possible to use windows server 2019 native PTP client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants