SauceLLC / sauce4zwift

Sauce for Zwift™
GNU General Public License v3.0
106 stars 26 forks source link

Latency monitor #85

Closed PerBacks closed 1 year ago

PerBacks commented 1 year ago

Strange Latency numbers Hi, discovered that i can monitor my zwift latency but it puzzles me a bit.

When i do latency check with AWS latency test i get approx 240ms roundtrip. (Sweden/Stockholm to aws Oregon)

When i do latency check with Zwiftalizer I get approx 170ms latency roundtrip

In S4Z, in race i get some 43ms which is very low vs what I get from AWS and Zwiftalizer. How/why is this number so low?

Also, sometimes the latency get negative number like -4ms, -12ms, what does that mean when my latency becomes negative?

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

mayfield commented 1 year ago

Thanks for the report.

Looks like my SNTP algo had the sign wrong on latency offset when setting the worldtime clock.