Skip to content

Exchange slowdown #64

@lterrac

Description

@lterrac

We are experiencing slowdowns in the exchange operation used in HiCR. This happens for both MPI and LPF backends.

I have a minimal working example to start troubleshooting the issue.

The part of the example where the slowdown happens is in the createChannels(). In such functions, for N instances we are creating N channels, to organize the instances into a channel ring. To have an idea of the slowdown:

  • 3 instances: 4 seconds
  • 6 instances: 21 seconds
  • 7 instances: 38 seconds

We are currently running in a single node setup with multiple ranks. Timings are similar for lpfThread and mpiThread.

Setup and compile:

git submodule update --init
meson setup build -Dengines=mpi,lpf -DbuildExamples=true -DbuildTests=true
meson compile -C build

Run examples:

mpirun -n 3 --oversubscribe env LPF_ENGINE=zero build/examples/telephoneGame/lpfThread
mpirun -n 3 --oversubscribe build/examples/telephoneGame/mpiThread

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions