Skip to content

PML OB1: Fix potential overcounting of SPC sent/received message sizes and account for fin messages #8067

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

Merged
merged 2 commits into from
Oct 6, 2020

Conversation

devreal
Copy link
Contributor

@devreal devreal commented Sep 28, 2020

This PR fixes a potential over-counting of sent/received messages sizes in pml/ob1: the two functions mca_pml_ob1_recv_request_ack_send_btl and mca_pml_ob1_recv_request_put_frag do not transfer payload but manage the underlying protocol, so count the transferred data accordingly. Also add instrumentation for sending fin messages in mca_pml_ob1_send_fin.

…ing put

mca_pml_ob1_recv_request_put_frag is used to request a put from the peer if get fails
mca_pml_ob1_recv_request_ack_send_btl is used to send an acknowledgement, not data

Signed-off-by: Joseph Schuchart <[email protected]>
@devreal devreal requested review from bosilca and rhc54 September 28, 2020 13:44
@rhc54 rhc54 removed their request for review September 28, 2020 14:07
@rhc54
Copy link
Contributor

rhc54 commented Sep 28, 2020

@devreal I have nothing to do with the PML and cannot review that code

@devreal
Copy link
Contributor Author

devreal commented Sep 28, 2020

@rhc54 Darn, I guess git blame is not a good place to look for reviewers then ^^ thanks for noting that!

@bosilca bosilca merged commit 9f114c6 into open-mpi:master Oct 6, 2020
@devreal devreal deleted the fix-ob1-spc branch October 3, 2022 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants