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

Don't deschedule perf counters #1812

Closed
wants to merge 2 commits into from
Closed

Conversation

Keno
Copy link
Member

@Keno Keno commented Sep 19, 2016

This rebases the first two commits of #1754 (and detects old kernels where IOC_PERIOD is broken). As noted in #1778, this gives a decent amount of performance improvement in context switch dominated test cases. There may be additional incremental improvements possible, but this gives the bulk of the savings in a relatively straightforward manner.

In preparation of not descheduling perf counters
Instead use the ioctls. In the pingpong test case this gives 15-20% performance
improvement for recording.
@rocallahan
Copy link
Collaborator

Merged. Thanks!!!

@rocallahan rocallahan closed this Sep 20, 2016
@rocallahan
Copy link
Collaborator

One further improvement would be to avoid disabling and reenabling performance counters in more cases. In theory we shouldn't need to do it at all, we should only need to reset the period sometimes.

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