Skip to content

Add NUMA node id to device plugin response #86

Open
t33m wants to merge 2 commits intoNVIDIA:masterfrom
t33m:add-numa-node-id
Open

Add NUMA node id to device plugin response #86
t33m wants to merge 2 commits intoNVIDIA:masterfrom
t33m:add-numa-node-id

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