Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Avoid multiple serialization #287

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

sbstndb
Copy link
Contributor

@sbstndb sbstndb commented Mar 14, 2025

Description

  • We send the mesh to the neighborhood with boost::send calls
  • But currently, this boost::send serialize the mesh for each send, even if it is always the same mesh.
  • But we can serialize the mesh once and send the buffer.
  • It is only tested on advection-2d, with a performance gain

Related issue

Performance issue when using MPI

How has this been tested?

It has been tested on the advection-2d test case

Code of Conduct

By submitting this PR, you agree to follow our Code of Conduct

  • I agree to follow this project's Code of Conduct

	-	We send the mesh to the neighbourhood with boost::send calls
	-	But currently, this boost::send serialize the meach for **each** send, even if it is always the same mesh.
	-	But we can serialize the mesh once and send the buffer.
	-	It is only tested on advection-2d, with a performance gain
@gouarin gouarin merged commit 79c48ee into hpc-maths:master Mar 14, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants