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

(clone) use current process binding to limit thread cores #1636

Closed
wants to merge 1 commit into from

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Nov 7, 2022

Note: I create another PR in hope that it triggers the CI correctly. This is a clone of #1633.


Use the current processes bound cores to limit the possible cores that threads can be bound to. This allows core binding to work properly when the lotus-worker service is limited to certain CPUs by cgroups.

Use the current processes bound cores to limit the possible cores that
threads can be bound to. This allows core binding to work properly when the
lotus-worker service is limited to certain CPUs by cgroups.
@vmx
Copy link
Contributor Author

vmx commented Nov 11, 2022

#1633 was merged.

@vmx vmx closed this Nov 11, 2022
@vmx vmx deleted the allowed_cpus branch December 19, 2023 16:38
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