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

cpu affinity: consider --cpu-offset as override to auto-detection #27

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

il-steffen
Copy link
Contributor

The --cpu-offset arugment was incompatible with automated detection of free/busy CPUs. The reduced cpu set is not obvious during startup time and we may fail to launch workers if cpu set + cpu offset < workers.

This patch disables auto-detection of free vcpus if a --cpu-offset is given. This restores the original semantics of --cpu-offset.

The --cpu-offset arugment was incompatible with automated detection of
free/busy CPUs. The reduced cpu set is not obvious during startup time
and we may fail to launch workers if cpu set + cpu offset < workers.

This patch disables auto-detection of free vcpus if a --cpu-offset
is given. This restores the original semantics of --cpu-offset.
@il-steffen il-steffen merged commit 68fb0ff into IntelLabs:master Nov 2, 2022
@il-steffen il-steffen deleted the fix/cpu_offset_semantics branch November 25, 2022 15:47
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