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

Add NUMA node id to device plugin response #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

t33m
Copy link

@t33m t33m commented Dec 11, 2023

The PR adds tests to previously created by @silenceper PR #76.

The main idea behind the improvement is to add NUMA node id of GPU card to *pluginapi.Device. This information can be used by TopologyManager of kubelet to allocate GPU devices along with other devices on the same NUMA node, such as a another GPU card or set or CPU.

More info about

@t33m t33m marked this pull request as ready for review December 11, 2023 18:10
@t33m t33m changed the title Add numa node Add NUMA node id to device plugin response Dec 11, 2023
@t33m
Copy link
Author

t33m commented Dec 11, 2023

@rthallisey, please take a look

@t33m t33m mentioned this pull request Dec 11, 2023
log.Println("Could not get numa node id for device ", info.Name())
return nil
}
if numaID != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

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

How does the topology handler deal with numaID being -1 (NotSupported)?

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