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

[Arista]: Change the TH5 Yaml settings to use 8 UC and 4 MC queues #19912

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

Pterosaur
Copy link
Contributor

@Pterosaur Pterosaur commented Aug 15, 2024

Why I did it

The current YAML file for TH5 should be used only with 8 UC and 4 MC queues.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Change the TH5 Yaml settings to use 8 UC and 4 MC queues

How to verify it

Local ixia test is passing in lab.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

…ses 8 UC queues.

Signed-off-by: Ze Gan <zegan@microsoft.com>
@lguohan
Copy link
Collaborator

lguohan commented Aug 15, 2024

@kperumalbfn , what is this PR about? what is current # of UC and # MC queue configured?

@Pterosaur
Copy link
Contributor Author

We discussed this internally, this PR is not required as these changes can cause flexcounter issue.

@Pterosaur Pterosaur closed this Oct 20, 2024
@Pterosaur Pterosaur reopened this Oct 29, 2024
Signed-off-by: Ze Gan <ganze718@gmail.com>
@Pterosaur Pterosaur self-assigned this Oct 29, 2024
@Pterosaur Pterosaur marked this pull request as ready for review October 29, 2024 14:09
@Pterosaur Pterosaur removed their assignment Oct 29, 2024
@@ -2622,7 +2622,7 @@ device:
TM_PORT_UC_Q_TO_SERVICE_POOL:
?
PORT_ID: [[1,8], [11,18], [21,29], [33,40], [43,51], [55,62], [65,73], [76,84], [87,95], [99,106], [109,117], [121,128], [131,139], [143,150], [153,161], [165,172], [175,183], [187,194], [197,205], [209,216], [219,227], [231,238], [241,249], [253,260], [263,271], [274,282], [285,293], [297,304], [307,315], [319,326], [329,337], [341,348], 351]
TM_UC_Q_ID: [0,1,2,5,6,8,9]
TM_UC_Q_ID: [0,1,2,5,6]
Copy link
Contributor

Choose a reason for hiding this comment

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

when searching the BCM file, I am still seeing some UC Q settings on queue 8 and 9. they are removed in the first commit, but somehow removed in the second one:

E.g.:

                PORT_ID: [[1,8], [11,18], [22,29], [33,40], [44,51], [55,62], [66,73], [77,84], [88,95], [99,106], [110,117], [121,128], [132,139], [143,150], [154,161], [165,172]]
                TM_UC_Q_ID: [8,9]
            :
                MIN_GUARANTEE_CELLS: 0
                SHARED_LIMITS: 1
                DYNAMIC_SHARED_LIMITS: 1
                SHARED_LIMIT_CELLS_STATIC: 0
                SHARED_LIMIT_DYNAMIC: ALPHA_1
                DYNAMIC_GROUP: MID_PRI_GROUP
                RESUME_OFFSET_CELLS: 2
                COLOR_SPECIFIC_LIMITS: 0
                COLOR_SPECIFIC_DYNAMIC_LIMITS: 0
                YELLOW_LIMIT_CELLS_STATIC: 0
                YELLOW_LIMIT_DYNAMIC: PERCENTAGE_750
                RED_LIMIT_CELLS_STATIC: 0
                RED_LIMIT_DYNAMIC: PERCENTAGE_625
            ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Good to remove this block as well -

PORT_ID: [[176,183], [187,194], [198,205], [209,216], [220,227], [231,238], [242,249], [253,260], [264,271], [275,282], [286,293], [297,304], [308,315], [319,326], [330,337], [341,348]]
TM_UC_Q_ID: [8,9]
:
MIN_GUARANTEE_CELLS: 0
SHARED_LIMITS: 1
DYNAMIC_SHARED_LIMITS: 1
SHARED_LIMIT_CELLS_STATIC: 0
SHARED_LIMIT_DYNAMIC: ALPHA_1
DYNAMIC_GROUP: MID_PRI_GROUP
RESUME_OFFSET_CELLS: 2
COLOR_SPECIFIC_LIMITS: 0
COLOR_SPECIFIC_DYNAMIC_LIMITS: 0
YELLOW_LIMIT_CELLS_STATIC: 0
YELLOW_LIMIT_DYNAMIC: PERCENTAGE_750
RED_LIMIT_CELLS_STATIC: 0
RED_LIMIT_DYNAMIC: PERCENTAGE_625

Signed-off-by: Ze Gan <ganze718@gmail.com>
@r12f
Copy link
Contributor

r12f commented Oct 31, 2024

Hi @kperumalbfn , do we still need this change? Looks like we are going to stick on the 10 UC queue now.

@kperumalbfn
Copy link
Contributor

@r12f According to Broadcom, this bcm config file supports only 8 UCs. So, we can modify once we get full 10 UC queue support.

@r12f
Copy link
Contributor

r12f commented Nov 4, 2024

I see. That sounds good!

@r12f
Copy link
Contributor

r12f commented Nov 4, 2024

Basically, we will update all the bcm configs again once we get the 10 UC Q supports, am I right? @kperumalbfn

@kperumalbfn kperumalbfn merged commit 5211758 into sonic-net:master Nov 19, 2024
22 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Nov 20, 2024
…onic-net#19912)

[Arista] Change the Yaml settings to use 8 UC and 4 MC queues, as SONIC only uses 8 UC queues.

Signed-off-by: Ze Gan <zegan@microsoft.com>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #20861

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Nov 20, 2024
…onic-net#19912)

[Arista] Change the Yaml settings to use 8 UC and 4 MC queues, as SONIC only uses 8 UC queues.

Signed-off-by: Ze Gan <zegan@microsoft.com>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #20862

mssonicbld pushed a commit that referenced this pull request Nov 20, 2024
…19912)

[Arista] Change the Yaml settings to use 8 UC and 4 MC queues, as SONIC only uses 8 UC queues.

Signed-off-by: Ze Gan <zegan@microsoft.com>
mssonicbld pushed a commit that referenced this pull request Nov 20, 2024
…19912)

[Arista] Change the Yaml settings to use 8 UC and 4 MC queues, as SONIC only uses 8 UC queues.

Signed-off-by: Ze Gan <zegan@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants