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

Report the number of hardware queues for network interfaces #988

Open
lathiat opened this issue Oct 31, 2024 · 1 comment
Open

Report the number of hardware queues for network interfaces #988

lathiat opened this issue Oct 31, 2024 · 1 comment

Comments

@lathiat
Copy link
Contributor

lathiat commented Oct 31, 2024

In various cases, a network interface may only have a single hardware queue.

While this is not a problem in itself, if you are researching low network performance or dropped packets its a likely contributor. We should surface this as a "note" (but not an error). e.g. interface X has a single hardware queue, this may limit network performance or caused dropped packets during traffic bursts.

Places that will report this (may be more):

  1. /sys/class/net/INTERFACE/queues/{rx,tx}-*/
  2.  $ grep enp6s0 /proc/interrupts 
     enp6s0-rx-0
     enp6s0-tx-0
     enp6s0-err
     enp6s0-notify
    
  3. ethtool

You will have a file for each hardware queue, e.g. rx-0, rx-1, rx-2

Also related is that you can improve this by setting the mask in /sys/class/net/IFACE/rx-*/{rps,xps}_cpus - we should perhaps surface the current value of that as well.

@lathiat
Copy link
Contributor Author

lathiat commented Oct 31, 2024

cc @brianphaley

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

No branches or pull requests

1 participant