-
Notifications
You must be signed in to change notification settings - Fork 1k
Examine the tx counters in WRRtest instead of counting what arrives #15353
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
Open
byu343
wants to merge
1
commit into
sonic-net:master
Choose a base branch
from
byu343:master-dwrr-test
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
If q_cnt_sum > total_pkts is caused by PTF performance issues, especially when no any queue has fully received packets, it is impossible to perform the following check:
In this case, we cannot determine whether the WRR test has passed. However, the following assertion allows the test to pass:
Should we modify the test case to still fail, so we know we haven't got a test result? and then we can decide rerun or xfail it.
Regarding the PTF performance limit, can we determine the answer by comparing counters per queue (like: show que cou) instead of per port,
or implement similar test using Snappi?
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.
For that assert diff < limit check to test the round robin, it seems to me that it requires to know in which order packets are delivered. There is a large gap now between the number of packets delivered and total sent for the performance issue. so I agree that we could not really verify it.
As for your suggestion of comparing counters per queue, can you elaborate what and how to verify using it?
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.
@byu343
Recently, Cisco have a WA solution to set cir to slower speeds druing WRR testing. Can we adopt this idea?
PRs are as below:
#15718
#16315
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.
That solution will not scale to fast port types