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 RX/TX stats per queue on interface view #1136

Closed
wants to merge 1 commit into from

Conversation

dpino
Copy link
Member

@dpino dpino commented Jul 3, 2018

Fixes #1134.

When the lwAFTR is run with RSS only the master process updates the stats, except for per-queue stats which are updated per process. What happened in issue 1134 is that one of processes was showing RX/TX values as 0. The reason was that this was the non-master process and its counters are never updated. Instead of showing global rx/tx counters processes should show their per-queue stats in interface view.

If there's only one process I think its per-queue stats are equals to global rx/tx stats.

@takikawa takikawa self-requested a review July 3, 2018 22:57
Copy link
Member

@takikawa takikawa left a comment

Choose a reason for hiding this comment

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

One issue that I see with this approach: I don't think the pre-queue stats will be the same as global stats actually. Because you can have one process with multiple NIC apps that use different queues and different counters. No single counter will reflect the global stats, but rxcounter may still be set in that case.

@dpino
Copy link
Member Author

dpino commented Jul 10, 2018

Superseded by #1148

@dpino dpino closed this Jul 10, 2018
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

Successfully merging this pull request may close these issues.

2 participants