Skip to content

Add HLD for aggregate VOQ counters. #1957

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

Merged
merged 8 commits into from
Jul 9, 2025

Conversation

vivekverma-arista
Copy link
Contributor

@vivekverma-arista vivekverma-arista commented Apr 8, 2025

This document provides general information about the feature aggregate VOQ counters in a distributed VOQ architecture.

This feature has been tracked in #1543

Code PRs for tracking

The code pull requests should merge in the order they are mentioned in the table.

Repo PR Title State
sonic-buildimage Bind ASIC database instances to midplane IPs GitHub issue/pull request detail
sonic-utilities Add queuestat changes for aggregate VOQ counters GitHub issue/pull request detail

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

No pipelines are associated with this pull request.

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

No pipelines are associated with this pull request.

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

No pipelines are associated with this pull request.


### Overview

In a [distributed VOQ architecture](https://github.com/sonic-net/SONiC/blob/master/doc/voq/architecture.md) corresponding to each output VOQ present on an ASIC, there are VOQs present on every ASIC in the system. Each ASIC has its own set of VOQ stats maintained in the FSI that have to be gathered independently and can be hard to visualize, providing a non-cohesive experience.
Copy link
Contributor

@vmittal-msft vmittal-msft Jun 14, 2025

Choose a reason for hiding this comment

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

@vivekverma-arista Can we use term line card instead of FSI ?

Send traffic across different ASICs and ensure aggregate counters are correctly displayed.

### Limitations and future work
1. Currently we are not exposing redis instance over midplane IP for single ASIC linecards as redis runs in protected mode.
Copy link
Contributor

@vmittal-msft vmittal-msft Jun 14, 2025

Choose a reason for hiding this comment

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

@vivekverma-arista How will this feature work for system having mix of J2C+ as well as J2 based line cards? Since some of J2 cards are single asic, are you saying those counters won't be part of counter aggregation on SUP?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The support will be added incrementally

#2020


### Limitations and future work
1. Currently we are not exposing redis instance over midplane IP for single ASIC linecards as redis runs in protected mode.
2. Clear functionality is not supported as of now for aggregate VOQ counters.
Copy link
Contributor

@vmittal-msft vmittal-msft Jun 14, 2025

Choose a reason for hiding this comment

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

@vivekverma-arista Do we have issue open in github to track this ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vmittal-msft vmittal-msft merged commit c697bb8 into sonic-net:master Jul 9, 2025
1 check passed
@vivekverma-arista vivekverma-arista deleted the agg-voq-4.0 branch August 1, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants