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

Refactor MPI parcelport to use MPI_Wait instead of multiple MPI_Test calls #939

Closed
sithhell opened this issue Oct 8, 2013 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@sithhell
Copy link
Member

sithhell commented Oct 8, 2013

We currently do a busy wait to test if operations are completed. This might affect user application performance. In order to solve this, we need a global request queue that can be waited on in one single call.

@ghost ghost assigned sithhell Oct 8, 2013
@sithhell
Copy link
Member Author

After thinking about that for a while. I don't think using the MPI_Wait* routines is feasible in our context. It might lead to even worse performance than our current busy wait approach (which turns out to be not that bad anyways) as parcels ready to send could pile pile while the handle_messages function is doing a MPI_Waitsome on the already sent requests. This can even lead to a deadlock in the situation where MPI_Waitsome waits on the header request from another locality but needs to send out parcels first to receive answers.

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