How to make sure, that traffic got scheduled into particular class (control, service, bulk)?

  • 1
  • Question
  • Updated 1 year ago
According to https://docs.cumulusnetworks.com/display/DOCS/Buffer+and+Queue+Management, traffic can be scheduled in three different classes.

My question is - are there any tools, that can help verify, that particular traffic is scheduled per configuration?

For example, I want to make sure, that if I configure dscp 10 for service class - such traffic will be scheduled accordingly.

Thank you.

Sergei.
Photo of Sergei Hanus

Sergei Hanus

  • 506 Points 500 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Eric Pulvino

Eric Pulvino, Official Rep

  • 4,082 Points 4k badge 2x thumb
Sounds like you're looking for a way to evaluate whether the DSCP value was scheduled to the correct ASIC-internal class of service. If this is the case, the answer would depend on the specific ASIC in question. There are no externally visible counters which are replicated into the Linux Kernel which contain that information. The only way to obtain the information would be to query the ASIC directly. Cumulus does not generally release commands to interact with the ASIC directly as they are numerous, asic-specific, incredibly verbose, can interfere with the flow of traffic through switch, and can have HORRIBLE side effects if mis-typed or otherwise mis-used. If you suspect that something is not being scheduled correctly I recommend opening a support case for more specific evaluation for your switch.
Photo of Sergei Hanus

Sergei Hanus

  • 506 Points 500 badge 2x thumb
Eric, thank you for your comment.
My idea was to get some way to verify correctness of QoS configuration (for example, to see, that if I generate traffic with high priority, then corresponding queue counters are increasing). And, to demonstrate to the customer, that DC switches behave as expected, otherwise this switch looks more like black box from QoS standpoint.

 Sergei.