Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sarfarazahmad89/50108915eb1a666a98e8eca8d3be6868 to your computer and use it in GitHub Desktop.
Save sarfarazahmad89/50108915eb1a666a98e8eca8d3be6868 to your computer and use it in GitHub Desktop.
PHC AWS
[root@ip-172-31-0-99 ~]# chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#* PHC0 0 0 377 0 +1ns[ +1ns] +/- 5031ns
^- 169.254.169.123 1 4 77 10 -7957ns[-8245ns] +/- 98us
^- ec2-15-152-156-115.ap-no> 4 6 17 43 -45us[ -47us] +/- 3998us
^- ec2-15-152-48-157.ap-nor> 4 6 17 43 +350us[ +348us] +/- 4805us
^- ec2-15-152-226-86.ap-nor> 4 6 17 42 +602us[ +599us] +/- 4490us
^- ec2-15-168-66-245.ap-nor> 4 6 17 42 -28us[ -31us] +/- 4042us
[root@ip-172-31-0-99 ~]# chronyc tracking
Reference ID : 50484330 (PHC0)
Stratum : 1
Ref time (UTC) : Tue Jan 09 18:06:56 2024
System time : 0.000000023 seconds slow of NTP time
Last offset : -0.000000011 seconds
RMS offset : 0.000000103 seconds
Frequency : 6.594 ppm fast
Residual freq : -0.012 ppm
Skew : 0.081 ppm
Root delay : 0.000010000 seconds
Root dispersion : 0.000001897 seconds
Update interval : 1.0 seconds
Leap status : Normal
[root@ip-172-31-0-99 ~]# cat /sys/devices/pci0000:00/0000:00:05.0/phc_error_bound
29366
## Above value is in nanoseconds
@sarfarazahmad89
Copy link
Author

It is not really possible to use the PTP clock in ap-northeast-1 as boundary clock or gps source coz of the horrible rtt

[root@ip-10-0-0-87 ~]# chronyc sources
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^- 172.31.12.108                 1   6    37    25    +85us[  +90us] +/-  112ms
^* 169.254.169.123               3   4   377    10    +33us[  +37us] +/-  592us
^- ec2-13-40-94-30.eu-west->     4   6    37    27   +452us[ +447us] +/- 9584us
^- ec2-18-133-139-197.eu-we>     4   6    37    26   +158us[ +153us] +/-   10ms
^- ec2-3-10-212-175.eu-west>     4   6    37    27   -226us[ -232us] +/- 9080us
^- ec2-13-40-182-125.eu-wes>     4   6    37    27   +442us[ +437us] +/- 9652us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment