-
Notifications
You must be signed in to change notification settings - Fork 561
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
Network Performance tests: negative UDP latency values for some test runs. #1818
Comments
We've been talking about this in slack, and since the VM synchronisation seems complex problem to fix , we though that the best solution moving forward will be to gather more data to get better insights, maybe we only need the trend and not the absolute values. The doubt that we have is if it would be good to operate only with positive numbers, i.e. truncate negative values to 0 @wojtek-t what do you think? |
We do clock-synchronization in GCE - I personally doubt it's clock difference. I bet it's a real bug... |
@wojtek-t is it NTP ? |
If we're seeing negative values in order of microseconds then, IMHO, it's 99% clock synchronization / precision issue. Have we seen a negative value strictly greater than microseconds? We can wait for perf-dash to contain the network-performance dashboards to confirm. If the answer is not then the question is whether we care about this level of precision. My intuition is that we don't and it's not worth fixing. Changing the measurement to treat negative values as zero is probably the preferred course of action. |
Thanks @mm4tt , as you mentioned we will first fix perfdash and monitor to make sure latency is always in microseconds and then make a decision. |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened:
UDP latency metrics collected while running network performance test cases (clusterloader2/testing/network) intermittently contains negative values.
What you expected to happen:
UDP latency should be always positive.
How to reproduce it (as minimally and precisely as possible):
Issue is not seen when running locally in Kind or local vm cluster. Negative values are seen when the testcases are run in k8s CI/CD(GCE).
Anything else we need to know?:
It is confirmed from the logs that Iperf2 tool which is used for collecting the metrics return these -ve values. Raised this in iperf2 forum :
https://sourceforge.net/p/iperf2/discussion/general/thread/a1bcdb67d8/
They suspect this to be clock synchronization issue(they mentioned NTP synchronized nodes also can have latency).
Aggregated metrics output for UDP attached:
NetworkPerformanceMetrics_N_M_UDP_P2P_network_performance_udp-50_50_2021-05-21T08_39_04Z.json.txt
Environment:
Testcases are run as part of prow job in k8s CI/CD, in GCE.
The text was updated successfully, but these errors were encountered: