Skip to content

accelerator_cuda_check_addr expensive in CUDA-aware MPI #13708

@NamjaeChoi

Description

@NamjaeChoi

What version of Open MPI are you using? (e.g., v4.1.6, v5.0.1, git branch name and hash, etc.)

OpenMPI 5.0.5

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

From source

Please describe the system on which you are running

  • Operating system/version: Linux
  • Computer hardware: AMD EPYC 9654
  • Network type: Single node

Details of the problem

We are profiling our code with gperf and seeing a big overhead caused by accelerator_cuda_check_addr. cuPointerGetAttribute and cuMemRetainAllocationHandle calls cudbgMain, cuEGLApiInit, and cuVDPAUCtxCreate under the hood. They seem to be related with debugging, event logging, and profiling which we are not interested in. Is there a way to turn them off?

Image

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