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

[upstream] NUMA bindings support for private memory #63

Closed
wants to merge 1 commit into from

Conversation

vinser52
Copy link

@vinser52 vinser52 commented Feb 15, 2023

This change is Reviewable

@vinser52 vinser52 requested review from byrnedj and igchor February 15, 2023 17:40
@vinser52 vinser52 changed the title NUMA bindings support for private memory [upstream] NUMA bindings support for private memory Feb 15, 2023
Copy link
Member

@igchor igchor left a comment

Choose a reason for hiding this comment

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

Why do actually need support for private memory? I thought we just wanted to extend TempShmMapping - so that num binding would also work in case we didn't pass cacheDir / usePosixForShm.

Reviewed 7 of 14 files at r1, all commit messages.
Reviewable status: 7 of 14 files reviewed, all discussions resolved (waiting on @byrnedj)

Copy link
Author

@vinser52 vinser52 left a comment

Choose a reason for hiding this comment

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

The createPrivateAllocator function has if/else block. What you are talking about is valid for the if block, while this PR impacts the else block. I decided to make/upstream changes iteratively. As a next step, I can extend the if block.

In general, the TempShmMapping is used only when cacheDir is not specified in the config but memory monitoring is enabled. Otherwise, private memory is used and this PR address only this flow.

Reviewable status: 7 of 14 files reviewed, all discussions resolved (waiting on @byrnedj)

Copy link
Member

@igchor igchor left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 7 of 14 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @byrnedj)

@vinser52
Copy link
Author

@igchor @byrnedj thank you for the review. I have created PR195 to Meta's repo.

@vinser52 vinser52 closed this Feb 20, 2023
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.

3 participants