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

Adjust new queue stats accounting to work with original run_stats semantics #1140

Closed
wants to merge 3 commits into from

Conversation

takikawa
Copy link
Member

@takikawa takikawa commented Jul 3, 2018

This PR adjusts the queue stats syncing so that RX/TX queue counters are always synced, ignoring run_stats. This addresses issue #1139.

Unfortunately, I think #1137 is still broken on this PR so I don't think it should be merged as-is. I'm concerned that having queue stats synced on separate apps is not actually going to work out in the end.

The run_stats config flag tells which instance should update
the counters generally.

This commit refactors the queue stats handling so that the
rx/tx counters are always updated regardless of whether
run_stats is used or not. Only these counters are updated
unless the app is the run_stats instance.

Also avoid updating the link_status, etc counters in each
app since those are global to the NIC
@takikawa
Copy link
Member Author

takikawa commented Jul 4, 2018

This approach had some flaws that makes it not worth merging. I will look into making a separate PR with some of the test changes which might be useful.

@takikawa takikawa closed this Jul 4, 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.

1 participant