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

Transparent BSend #401

Open
niklas-uhl opened this issue Sep 8, 2022 · 1 comment
Open

Transparent BSend #401

niklas-uhl opened this issue Sep 8, 2022 · 1 comment
Labels

Comments

@niklas-uhl
Copy link
Member

Just posting this here, because I had an idea for a future feature of KaMPIng

I looked a bit into MPI_Bsend. The user may/has to attach a buffer allocated by himself via MPI_Buffer_attach. If a message may not be directly received upon send, it is buffered. This may be an alternative to Isend when sending many small messages. The problem with the current implementation is, that it may fail if the buffer is full. Maybe we can overcome this by blocking upon a buffer overflow (assuming that we get no deadlock) until it has been emptied, making the whole buffered sending process transparent to the user. It also seems like MPI uses a rather simple approach for buffering to be generically applicable, we should do some implementation studies and maybe could provide the user with alternative buffering strategies to plug in.

@niklas-uhl niklas-uhl added improvement feature New feature or request labels Sep 8, 2022
@niklas-uhl
Copy link
Member Author

Nothing that should be part of a publication and needs some additional thought

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant