Skip to content

[Cisco] Reduce VerifySingleWRRAndNC runtime by flooding only competing queues.#1371

Open
ram316583 wants to merge 1 commit into
facebook:mainfrom
ram316583:saisinga/reduce-verify-single-wrr-nc-runtime
Open

[Cisco] Reduce VerifySingleWRRAndNC runtime by flooding only competing queues.#1371
ram316583 wants to merge 1 commit into
facebook:mainfrom
ram316583:saisinga/reduce-verify-single-wrr-nc-runtime

Conversation

@ram316583

@ram316583 ram316583 commented Jul 8, 2026

Copy link
Copy Markdown

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Speed up VerifySingleWRRAndNC test by removing duplicate traffic injection in verifySingleWRRAndSP and passing only the per-iteration WRR+SP queue pair to verifySPHelper instead of all queues.

Test Plan

Manually ran AgentOlympicQosSchedulerTest.VerifySingleWRRAndNC on HW and test Passed in ~9 min (down from ~19.5 min)

Remove redundant pre-send and pass the per-iteration WRR+SP queue pair to
verifySPHelper instead of all queues, avoiding duplicate packet injection.
@ram316583
ram316583 requested a review from a team as a code owner July 8, 2026 23:46
@meta-cla meta-cla Bot added the CLA Signed label Jul 8, 2026
@ram316583 ram316583 changed the title Reduce VerifySingleWRRAndNC runtime by flooding only competing queues. [Cisco] Reduce VerifySingleWRRAndNC runtime by flooding only competing queues. Jul 8, 2026
@github-actions github-actions Bot added the cisco label Jul 8, 2026
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.

1 participant