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

Update qos_output_queue_counters_test.go #1131

Merged
merged 9 commits into from
Mar 2, 2023

Conversation

saarvind6481
Copy link
Contributor

No description provided.

@saarvind6481 saarvind6481 requested review from a team as code owners February 15, 2023 20:11
@sezhang2 sezhang2 self-assigned this Feb 16, 2023
Copy link
Contributor

@sezhang2 sezhang2 left a comment

Choose a reason for hiding this comment

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

Can you explain why rename queue names?

Please also mention that why vendor specific workarounds are needed? Is there any bug to track the workaround?

@aaronmillisor
Copy link

aaronmillisor commented Feb 16, 2023

Can you explain why rename queue names?

Please also mention that why vendor specific workarounds are needed? Is there any bug to track the workaround?

At least part of the problem really stems from a deficiency in the OC-QoS model. Silicon One ASIC's have a concept called a 'traffic-class' which also exists in many other asics. This traffic-class is a numeric identifier.

In IOS XR's configuration model, this traffic class has a tight coupling to a specific priority value in the case of strict priority schedulers.

The missing traffic-class equivalent has been a long-standing concern for this model, however it now appears to be getting addressed through the introduction of queue-identifiers in pull 772 for OC-QoS.

The way that this missing functionality is addressed seems to be varying across implementors. In XR we are allocating the traffic-class in the order they appear in config to satisfy the ordering requirements of the scheduling model. In order to get this to show up properly via OC, we are using queue names that are defined lexically ordered according to the desired scheduling policy.

Alternatives that implementors may use could include fixed queue names with an out of band association, or magic fixed queue names. Each approach has downsides.

We expect this ordering issue to be addressed after the merge of PR772.

Separately, QoS scheduling models are likely to vary across hardware platforms, and should be expected to change according to the asic/os implementation even when OC is used.

@dplore
Copy link
Member

dplore commented Feb 16, 2023 via email

@coveralls
Copy link

coveralls commented Feb 16, 2023

Pull Request Test Coverage Report for Build 4318098964

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 57.081%

Totals Coverage Status
Change from base Build 4318035383: 0.0%
Covered Lines: 1181
Relevant Lines: 2069

💛 - Coveralls

@guoshiuan
Copy link
Contributor

Internal test result: b/269634520

Copy link
Contributor

@prinikasn prinikasn left a comment

Choose a reason for hiding this comment

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

/gcbrun

prinikasn
prinikasn previously approved these changes Feb 22, 2023
Copy link
Contributor

@sezhang2 sezhang2 left a comment

Choose a reason for hiding this comment

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

Per the discussion with aaronmillisor yesterday, please add the bug# for the workaround.

Please also address the comment about DSCP change as well.

@thesrinath
Copy link
Contributor

/gcbrun

Copy link
Contributor

@sezhang2 sezhang2 left a comment

Choose a reason for hiding this comment

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

Does the test pass in your test bed with this PR?

@guoshiuan
Copy link
Contributor

Does the test pass in your test bed with this PR?

Internal test result: b/269634520

@guoshiuan
Copy link
Contributor

We (Sean, Viktor, Cisco team and I) had a discussion (b/268403096#comment9). Viktor has filed bugs to track the explanation of Cisco implementation, and we decided to move forward with this PR.

@prinikasn prinikasn requested a review from sezhang2 March 2, 2023 20:38
@prinikasn prinikasn dismissed sezhang2’s stale review March 2, 2023 21:25

Sean, Viktor, Cisco team and Craig had a discussion (b/268403096#comment9). Viktor has filed bugs to track the explanation of Cisco implementation, and we decided to move forward with this PR.

@prinikasn prinikasn merged commit 7ec07ff into openconfig:main Mar 2, 2023
jasdeep-hundal added a commit to jasdeep-hundal/featureprofiles that referenced this pull request Apr 17, 2023
jasdeep-hundal added a commit that referenced this pull request Apr 19, 2023
* Replicate PR1018 in OTG QoS output queue counters test

Reference: #1018

* Replicate PR1100 in OTG QoS output queue counters test

Reference: #1100

* Replicate PR1089 in OTG QoS output queue counters test

Reference: #1089

* Replicate PR1090/1087 in OTG QoS output queue counters test

References:
- #1090
- #1087

* Replicate PR1167 in OTG QoS output queue counters test

Reference: #1167

* Replicate PR1177 in OTG QoS output queue counters test

Reference: #1177

* Replicate PR1131 in OTG QoS output queue counters test

Reference: #1131

* Replicate PR1219 in OTG QoS output queue counters test

Reference: #1219

* Replicate PR1221 in OTG QoS output queue counters test

Reference: #1221

* Replicate PR1234 in OTG QoS output queue counters test

Reference: #1234

* Replicate PR1276 in OTG QoS output queue counters test

Reference: #1276

* Replicate PR1395 in OTG QoS output queue counters test

Reference: #1395
prinikasn added a commit that referenced this pull request Jun 30, 2023
* Update qos_output_queue_counters_test.go

* Update qos_output_queue_counters_test.go

* Update qos_output_queue_counters_test.go

---------

Co-authored-by: vbhan-cisco <92700680+vbhan-cisco@users.noreply.github.com>
Co-authored-by: prinikasn <117314826+prinikasn@users.noreply.github.com>
prinikasn pushed a commit that referenced this pull request Jun 30, 2023
* Replicate PR1018 in OTG QoS output queue counters test

Reference: #1018

* Replicate PR1100 in OTG QoS output queue counters test

Reference: #1100

* Replicate PR1089 in OTG QoS output queue counters test

Reference: #1089

* Replicate PR1090/1087 in OTG QoS output queue counters test

References:
- #1090
- #1087

* Replicate PR1167 in OTG QoS output queue counters test

Reference: #1167

* Replicate PR1177 in OTG QoS output queue counters test

Reference: #1177

* Replicate PR1131 in OTG QoS output queue counters test

Reference: #1131

* Replicate PR1219 in OTG QoS output queue counters test

Reference: #1219

* Replicate PR1221 in OTG QoS output queue counters test

Reference: #1221

* Replicate PR1234 in OTG QoS output queue counters test

Reference: #1234

* Replicate PR1276 in OTG QoS output queue counters test

Reference: #1276

* Replicate PR1395 in OTG QoS output queue counters test

Reference: #1395
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.