Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1986
Closed
Open
Issue created Jan 20, 2021 by Mattijs Janssens@MattijsMaintainer

Parallel contiguous data synchronisation not scaling

Functionality to add/problem to solve

Parallel (face/edge/point) synchronisation uses the syncTools helper functions. It assumes non-contiguous data so uses streaming to extract the data, followed by an exchange of sizes before sending the actual data. It is this exchange of sizes (all-to-all) that causes scaling issues. For contiguous data and one-to-one mapping we know in advance the amount of data to receive so can skip this.

Target audience

  • parallel running on larger number of processors

Proposal

  • check for contiguous data in templated functions using PstreamBuffers

Links / references

This work is based on the work done in

"Communication Optimization for Multiphase FlowSolver in the Library of OpenFOAM"

Zhipeng Lin1, Wenjing Yang1,*, Houcun Zhou2, Xinhai Xu3, Liaoyuan Sun1, Yongjun Zhang3and Yuhua Tang

(MDPI "Water" magazine, October 2018)

it shows two bottlenecks:

  • linear solver using blocking allreduce
  • MULES finding out sizes to receive every sweep The first item was tackled in the v2006 pipelined CG solver implementation. The current issue is a more general fix of the second item.

@mark

Funding

(Does the functionality already exist/is sponsorship available?)

Edited Jan 20, 2021 by Mattijs Janssens
Assignee
Assign to
Time tracking