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

Topology improvements #3190

Merged
merged 3 commits into from Feb 25, 2018
Merged

Topology improvements #3190

merged 3 commits into from Feb 25, 2018

Conversation

biddisco
Copy link
Contributor

@biddisco biddisco commented Feb 22, 2018

Fixes #3161

Proposed Changes

Adds thread local bitmap for nodesets used when querying memory binding.

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

The hwloc api requires a bitmap to store the numa domain in
and this should not be allocated/freed every time which is an
expensive operation. This adds a thread local bitmap so that
queries to can reuse one each time. Making it thread local
enables different tasks to query memory binding simultaneously.
@biddisco
Copy link
Contributor Author

I just rebased this onto latest master and removed the inspect commit by squashing into another to declutter the git log

@hkaiser hkaiser merged commit d35c5fc into master Feb 25, 2018
@hkaiser hkaiser deleted the topology_improvements branch February 25, 2018 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants