-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
"show queue counters" does not show stats for all queues with traffic #16202
Comments
@prsunny for viz |
@vadymhlushko-mlnx , @liat-grozovik, @shlomibitton for viz. We would have to revert the PR as it is a regression |
@prabhataravind could you please tell me exactly which SONiC image versions you compared? |
@vadymhlushko-mlnx what is latest on this ? Without this we are not able to see UC7 queue counters value. |
Hi @vadymhlushko-mlnx , the issue is seen on any device running the latest 202205 sonic image. It should be fairly easy to see the problem by running "show queue counters" on the latest 202205 image. The tech support dump is too big to be attached here. This issue is not present in 202012. I remember I also verified by checking out a 202205 swss commit SHA before sonic-net/sonic-swss#2474 changes went in. |
blocking sonic-net/sonic-mgmt#8097 |
@prabhataravind @prsunny long time ago we agreed that issues will be opened on sonic-buildimage so we can have one way to find all issues and not per repro. Should we move it? |
@vadymhlushko-mlnx , please provide link to PR for the fix? thanks. |
Fixes for 202205 branch: |
@prabhataravind please help check if this issue can be closed? Thanks. |
[like] Prabhat Aravind reacted to your message:
…________________________________
From: Rita Hui ***@***.***>
Sent: Thursday, December 7, 2023 2:56:02 AM
To: sonic-net/sonic-buildimage ***@***.***>
Cc: Prabhat Aravind ***@***.***>; Mention ***@***.***>
Subject: Re: [sonic-net/sonic-buildimage] "show queue counters" does not show stats for all queues with traffic (Issue #16202)
@prabhataravind<https://github.com/prabhataravind> please help check if this issue can be closed? Thanks.
—
Reply to this email directly, view it on GitHub<#16202 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZ4G37QC2SHT73NAJPPMGZTYIEV4FAVCNFSM6AAAAAA3U7ANJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBUGE2DGMJSGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
With the introduction of changes via PR sonic-net/sonic-swss#2474, "show queue counters" shows stats only for queues that are configured via config DB. This has created a regression where ports with active traffic do not show up in "show queue counters" if they are missing in config DB. A couple of such examples are:
I have verified with a sonic image without the changes from PR 2474 that these counters show up and they go missing when these changes are added back.
"show queue counters" without the changes from PR 2474:
Port TxQ Counter/pkts Counter/bytes Drop/pkts Drop/bytes
Ethernet124 UC0 0 0 0 0
Ethernet124 UC1 0 0 0 0
Ethernet124 UC2 0 0 0 0
Ethernet124 UC3 0 0 0 0
Ethernet124 UC4 0 0 0 0
Ethernet124 UC5 0 0 0 0
Ethernet124 UC6 0 0 0 0
Ethernet124 UC7 413 410082 0 0 <<<<<<<<<<
Ethernet124 UC8 0 0 0 0
Ethernet124 UC9 0 0 0 0
Ethernet124 MC10 0 0 0 0
Ethernet124 MC11 2849 267806 0 0 <<<<<<<<<<
Ethernet124 MC12 0 0 0 0
Ethernet124 MC13 0 0 0 0
Ethernet124 MC14 0 0 0 0
Ethernet124 MC15 0 0 0 0
Ethernet124 MC16 0 0 0 0
Ethernet124 MC17 0 0 0 0
Ethernet124 MC18 0 0 0 0
Ethernet124 MC19 0 0 0 0
"show queue counters" with changes from PR 2474:
Port TxQ Counter/pkts Counter/bytes Drop/pkts Drop/bytes
Ethernet124 UC0 0 0 0 N/A
Ethernet124 UC1 0 0 0 N/A
Ethernet124 UC2 0 0 0 N/A
Ethernet124 UC3 0 0 0 N/A
Ethernet124 UC4 0 0 0 N/A
Ethernet124 UC5 0 0 0 N/A
Ethernet124 UC6 0 0 0 N/A
The text was updated successfully, but these errors were encountered: