Skip to content

Perfomance Impact from using send/recv vs Send/Recv #147

@tharittk

Description

@tharittk

This issue is the consequence from solving the bug in #144

We have been using the send/recv particularly in ghost-cells communication. In case of CuPy + MPI, this comes with the cost of copying the GPU array to the CPU array (confirmed by discussion wiith mpi4py maintainers. It is strongly encouraged to Send/Recv, which requires some upfront buffer allocation (and possibly synchronization) but will be more performant.

For further reference, mpi4py - communication with buffer . I think at some point, we have to revisit this part and change it to using Send/Recv for the benefit of CuPy + MPI users.

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