Skip to content
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

[QoS]qos_yaml j2C+ changes for new _vsq thresholds #13069

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

ansrajpu-git
Copy link
Contributor

Description of PR

Updated qos test params for 400g and 100g port speeds for the new vsq threshold introduced in PR #sonic-net/sonic-buildimage#18239
Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

The new   MMU settings to enhance performance for RDMA traffic in production.
Hence the qos_params needs to be tweaked according to the set buffer profiles.

However, the existing sonic-mgmt LossyQueueTest  doesn't fairly verify the buffer threshold for headroom for Lossy traffic. As per the new vsq profile setting the XOFF FADT threshold/PG is way lesser than the Nominal headroom, which limits it to not utilize the headroom buffer completely and send pause frames before reaching the MAX headroom limit.
Either the test case needs to be improvised by adding more source ports or a new test case should be added to verify the Lossy queue traffic at PG level

How did you do it?

How did you verify/test it?

Executed the qos test cases and verify the results

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@wsycqyz
Copy link
Contributor

wsycqyz commented May 31, 2024

I can see you request for 202205 branch. How about 202311 branch?

@ansrajpu-git
Copy link
Contributor Author

@vmittal-msft , could you please review and comment on above request.

@vmittal-msft
Copy link
Contributor

@ansrajpu-git Can you please confirm if this PR has all the latest changes ?

@ansrajpu-git
Copy link
Contributor Author

@ansrajpu-git Can you please confirm if this PR has all the latest changes?

@vmittal-msft, the latest changes on PR #18239 are tested with ' libsaibcm_7.1.78.4_amd64.deb' for 202205 branch, for which the PR raised #13319. Kindly confirm for master which version should be used.
This PR (for master) is based on the previous commit of PR #18239+ BRCM SAI ver: [10.1.21.0]

@arlakshm
Copy link
Contributor

@ansrajpu-git to update the PR with the new values to match the values in 202205.

@ansrajpu-git
Copy link
Contributor Author

@vmittal-msft , updated the qos_params aligning with 202205. Please review. Also closing the PR ##13319 raised separately for 202205 to keep changes at one place.

Copy link
Contributor

@kenneth-arista kenneth-arista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay to me

kenneth-arista added a commit to kenneth-arista/sonic-mgmt that referenced this pull request Jul 15, 2024
@ansrajpu-git
Copy link
Contributor Author

@vmittal-msft , Updated this PR with the latest buffer profile changes #[19653] (sonic-net/sonic-buildimage#19653).

@vmittal-msft
Copy link
Contributor

@yxieca @wangxin please help merge this.

@yxieca yxieca merged commit c91994a into sonic-net:master Jul 29, 2024
16 checks passed
yxieca pushed a commit that referenced this pull request Aug 19, 2024
arista-hpandya pushed a commit to arista-hpandya/sonic-mgmt that referenced this pull request Oct 2, 2024
What is the motivation for this PR?
The new   MMU settings to enhance performance for RDMA traffic in production.
Hence the qos_params needs to be tweaked according to the set buffer profiles.

However, the existing sonic-mgmt LossyQueueTest  doesn't fairly verify the buffer threshold for headroom for Lossy traffic. As per the new vsq profile setting the XOFF FADT threshold/PG is way lesser than the Nominal headroom, which limits it to not utilize the headroom buffer completely and send pause frames before reaching the MAX headroom limit.
Either the test case needs to be improvised by adding more source ports or a new test case should be added to verify the Lossy queue traffic at PG level
arista-hpandya pushed a commit to arista-hpandya/sonic-mgmt that referenced this pull request Oct 2, 2024
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Oct 11, 2024
mssonicbld pushed a commit that referenced this pull request Oct 12, 2024
vikshaw-Nokia pushed a commit to vikshaw-Nokia/sonic-mgmt that referenced this pull request Oct 23, 2024
What is the motivation for this PR?
The new   MMU settings to enhance performance for RDMA traffic in production.
Hence the qos_params needs to be tweaked according to the set buffer profiles.

However, the existing sonic-mgmt LossyQueueTest  doesn't fairly verify the buffer threshold for headroom for Lossy traffic. As per the new vsq profile setting the XOFF FADT threshold/PG is way lesser than the Nominal headroom, which limits it to not utilize the headroom buffer completely and send pause frames before reaching the MAX headroom limit.
Either the test case needs to be improvised by adding more source ports or a new test case should be added to verify the Lossy queue traffic at PG level
vikshaw-Nokia pushed a commit to vikshaw-Nokia/sonic-mgmt that referenced this pull request Oct 23, 2024
ansrajpu-git added a commit to ansrajpu-git/sonic-mgmt that referenced this pull request Nov 7, 2024
What is the motivation for this PR?
The new   MMU settings to enhance performance for RDMA traffic in production.
Hence the qos_params needs to be tweaked according to the set buffer profiles.

However, the existing sonic-mgmt LossyQueueTest  doesn't fairly verify the buffer threshold for headroom for Lossy traffic. As per the new vsq profile setting the XOFF FADT threshold/PG is way lesser than the Nominal headroom, which limits it to not utilize the headroom buffer completely and send pause frames before reaching the MAX headroom limit.
Either the test case needs to be improvised by adding more source ports or a new test case should be added to verify the Lossy queue traffic at PG level
bingwang-ms pushed a commit that referenced this pull request Nov 8, 2024
…hresholds (#15448)

* [QoS]qos_yaml j2C+ changes for new _vsq thresholds (#13069)

What is the motivation for this PR?
The new   MMU settings to enhance performance for RDMA traffic in production.
Hence the qos_params needs to be tweaked according to the set buffer profiles.

However, the existing sonic-mgmt LossyQueueTest  doesn't fairly verify the buffer threshold for headroom for Lossy traffic. As per the new vsq profile setting the XOFF FADT threshold/PG is way lesser than the Nominal headroom, which limits it to not utilize the headroom buffer completely and send pause frames before reaching the MAX headroom limit.
Either the test case needs to be improvised by adding more source ports or a new test case should be added to verify the Lossy queue traffic at PG level

* [Chassis][Voq] Updating J2C+ qos yaml  for 400G and 100G profile _egress_pkt count for lossy profile (#14585)

Since the dynamic_th-alpha changed from 0 to -4 (400g) & 100g port speed for egress lossy profile.
PR #sonic-net/sonic-buildimage#20132
Corresponding changes made in J2C+ qos yaml for t2 -broadcom-dnx

* [Qos]qos_yaml updated for 400G
@rlhui
Copy link

rlhui commented Nov 27, 2024

@vmittal-msft , @ansrajpu-git , I'm removing the request cherry label as there's separate PR merged to 202405 already. Please review/clarify if any. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants