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

grpc server: better to implement GetPreferredAllocation function #574

Open
cyclinder opened this issue Jul 18, 2024 · 0 comments
Open

grpc server: better to implement GetPreferredAllocation function #574

cyclinder opened this issue Jul 18, 2024 · 0 comments

Comments

@cyclinder
Copy link
Contributor

cyclinder commented Jul 18, 2024

What would you like to be added?

If pod declares both gpu and sriov resources, as follows:

        resources:
          limits:
            nvidia.com/gpu: 1
            spidernet.io/sriov_net_device: 1

I hope that the topology of the assigned vf and gpu is at least PHB(or PXB, PIX), so that the communication between them can enable GPU Direct RDMA, greatly improving the communication speed between them.

image

NOTE: I think the Gpu-device-plugin should also implement this function, because we don't know who will allocate the GPU or VF first.

see

// TODO: (SchSeba) check if we want to use this function

What is the use case for this feature / enhancement?

enable GPU Direct RDMA.

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

No branches or pull requests

1 participant