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 |
|
@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
| TEST_FLOW_AGGR_RATE_PERCENT = 30 | ||
| TEST_FLOW_AGGR_RATE_PERCENT = 35 | ||
| BG_FLOW_NAME = 'Background Flow' | ||
| BG_FLOW_AGGR_RATE_PERCENT = 25 |
There was a problem hiding this comment.
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.
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