-
Notifications
You must be signed in to change notification settings - Fork 746
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
Minor changes for snappi_tests for T2-ixia, change udp port calculations. #15906
Minor changes for snappi_tests for T2-ixia, change udp port calculations. #15906
Conversation
@rraghav-cisco can you separate this PR into two? one for the fixture change, another one for the UDP port and flow rate change. |
@selldinesh @amitpawar12 for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@rraghav-cisco can you update the description with more detail on why these changes are needed? and test result as well? |
results: <style> </style>
|
…ons. (sonic-net#15906) Description of PR Currently the traffic for RDMA tests use randomly selected udp ports. This sometimes ends up sending traffic in a non-load-balanced way, and causes the tests to fail. In this PR: For multiple scripts that use udp: We serialize the UDP port numbers instead of randomly picking the numbers. This allows for more uniform load-balancing spread, and allows tests to pass more. in multi_lossless helper: We reduce the background traffic rate, and raise the rate for lossless traffic, thus keeping the overall rate still same. This allows for accounting the speed of backplane. co-authorized by: jianquanye@microsoft.com
Cherry-pick PR to 202405: #15990 |
…ons. (#15906) Description of PR Currently the traffic for RDMA tests use randomly selected udp ports. This sometimes ends up sending traffic in a non-load-balanced way, and causes the tests to fail. In this PR: For multiple scripts that use udp: We serialize the UDP port numbers instead of randomly picking the numbers. This allows for more uniform load-balancing spread, and allows tests to pass more. in multi_lossless helper: We reduce the background traffic rate, and raise the rate for lossless traffic, thus keeping the overall rate still same. This allows for accounting the speed of backplane. co-authorized by: jianquanye@microsoft.com
BG_FLOW_NAME = 'Background Flow' | ||
BG_FLOW_AGGR_RATE_PERCENT = 25 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amitpawar12 @selldinesh @ysmanman for viz.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the description:
"in multi_lossless helper: We reduce the background traffic rate, and raise the rate for lossless traffic, thus keeping the overall rate still same. This allows for accounting the speed of backplane."
Earlier lossless + lossy traffic is 30% + 25% = 55% from each ingress.
Now lossless + lossy traffic is 35% + 22.5% = 57.5% from each ingress.
The traffic rate is not same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, @amitpawar12 . That was intentional. We had discussions, and since lossless will get paused anyways, it can be higher, if we want.
…ons. (sonic-net#15906) Description of PR Currently the traffic for RDMA tests use randomly selected udp ports. This sometimes ends up sending traffic in a non-load-balanced way, and causes the tests to fail. In this PR: For multiple scripts that use udp: We serialize the UDP port numbers instead of randomly picking the numbers. This allows for more uniform load-balancing spread, and allows tests to pass more. in multi_lossless helper: We reduce the background traffic rate, and raise the rate for lossless traffic, thus keeping the overall rate still same. This allows for accounting the speed of backplane. co-authorized by: jianquanye@microsoft.com
Cherry-pick PR to 202411: #16294 |
…ons. (#15906) Description of PR Currently the traffic for RDMA tests use randomly selected udp ports. This sometimes ends up sending traffic in a non-load-balanced way, and causes the tests to fail. In this PR: For multiple scripts that use udp: We serialize the UDP port numbers instead of randomly picking the numbers. This allows for more uniform load-balancing spread, and allows tests to pass more. in multi_lossless helper: We reduce the background traffic rate, and raise the rate for lossless traffic, thus keeping the overall rate still same. This allows for accounting the speed of backplane. co-authorized by: jianquanye@microsoft.com
Description of PR
Currently the traffic for RDMA tests use randomly selected udp ports. This sometimes ends up sending traffic in a non-load-balanced way, and causes the tests to fail.
In this PR:
Type of change
Back port request