Skip to content

Problems caused by launching multiple pods at the same time #25

Open

Description

@nivalume

Why do I get an error when I start multiple GPU-resource pods simultaneously (concurrently) using vcuda?

In vcuda loader.c, I add ferror to print errno related error message, I get it

image

But when I start the pods sequentially, I don't have this problem. So I guess it may be caused by a gap between the kubelet startup container and the gpu-manager placing the libcuda.so file.

Activity

  1. nivalume commented on Feb 28, 2022

    @nivalume
    Author
  2. rainfd commented on Mar 21, 2022

    @rainfd

    As if vcuda would copy lib to container after container start up. When start multiple GPU-resource pods simultaneously, this action is not fast enough. You can try to modify your command sh -c sleep 5 && your command

  3. nivalume commented on Mar 23, 2022

    @nivalume
    Author

    As if vcuda would copy lib to container after container start up. When start multiple GPU-resource pods simultaneously, this action is not fast enough. You can try to modify your command sh -c sleep 5 && your command

    Oh, Thanks rainfd, I knew this solution, but I felt this way is a hat trick.

  4. mYmNeo commented on Mar 23, 2022

    @mYmNeo
    Contributor

    What's the version of gpu-manager? I've fixed a problem in master branch but not released a image

  5. rainfd commented on Mar 24, 2022

    @rainfd

    @mYmNeo my version is v1.0.4. What is the commit?

  6. mYmNeo commented on Mar 25, 2022

    @mYmNeo
    Contributor

    @mYmNeo my version is v1.0.4. What is the commit?

    tkestack/gpu-manager#130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions