Skip to content

Update dynamic threshold for Q1/Q2/Q3 egress lossy profiles and for Backend types#27036

Merged
kperumalbfn merged 2 commits into
sonic-net:masterfrom
kperumalbfn:kperumal/th5_update_backend
May 1, 2026
Merged

Update dynamic threshold for Q1/Q2/Q3 egress lossy profiles and for Backend types#27036
kperumalbfn merged 2 commits into
sonic-net:masterfrom
kperumalbfn:kperumal/th5_update_backend

Conversation

@kperumalbfn
Copy link
Copy Markdown
Contributor

@kperumalbfn kperumalbfn commented Apr 28, 2026

Why I did it
Update the alpha values for Q1/Q2/Q3 egress profiles to provide more buffers for the traffic.
Update the egress queue profiles for all ToR/Leaf switches

Work item tracking
Microsoft ADO (number only):
37712828
How I did it
Updated the dynamic threshold values for Q1/Q2/Q3 lossy queues.

How to verify it
Generated the values after updating T0/T1 Ninja templates using 'config qos reload'

Which release branch to backport (provide reason below if selected)
[x] 202411
[x] 202505
[x] 202511

Copilot AI review requested due to automatic review settings April 28, 2026 18:35
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Arista 7060X6-64PE buffer default templates to increase egress lossy queue headroom (Q1/Q2/Q3) and to extend queue-profile selection logic to additional device/neighbor roles.

Changes:

  • Increased dynamic_th for Q1/Q2/Q3 egress lossy profiles from -7 to 3 (uplink + downlink) in T0/T1 buffer defaults.
  • Expanded DEVICE_METADATA['localhost'].type and neighbor-type checks to include backend roles when choosing uplink vs downlink queue profiles.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 9 comments.

File Description
device/arista/x86_64-arista_7060x6_64pe_b/Arista-7060X6-64PE-B-C512S2/buffers_defaults_t1.j2 Raises Q1–Q3 dynamic thresholds; extends role-based queue profile selection logic.
device/arista/x86_64-arista_7060x6_64pe_b/Arista-7060X6-64PE-B-C512S2/buffers_defaults_t0.j2 Same threshold/role logic updates as T1 for T0 template.
device/arista/x86_64-arista_7060x6_64pe_b/Arista-7060X6-64PE-B-C448O16/buffers_defaults_t1.j2 Raises Q1–Q3 dynamic thresholds; extends neighbor-role matching (incl. backend).
device/arista/x86_64-arista_7060x6_64pe_b/Arista-7060X6-64PE-B-C448O16/buffers_defaults_t0.j2 Same threshold/role logic updates as T1 for T0 template.

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@kperumalbfn kperumalbfn merged commit c5fb96d into sonic-net:master May 1, 2026
27 checks passed
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202511: #27141

mhchann pushed a commit to mhchann/sonic-buildimage that referenced this pull request May 7, 2026
…ackend types (sonic-net#27036)

Update dynamic threshold for Q1/Q2/Q3 egress lossy profiles and for Backend types

Signed-off-by: mhchann <mhchann082@gmail.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-buildimage-msft#2271

@mssonicbld
Copy link
Copy Markdown
Collaborator

@kperumalbfn cherry pick PR didn't pass PR checker after retry. Please help check! Thanks.
Azure/sonic-buildimage-msft#2271

---Powered by SONiC BuildBot

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.

5 participants