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

prov/rxd: Move the receive repost/remove to earlier in the pkt handling #5183

Merged
merged 1 commit into from
Jul 26, 2019

Conversation

nikitaxgusev
Copy link
Contributor

@nikitaxgusev nikitaxgusev commented Jul 23, 2019

Issue:
The provided changes is posting a new recive buffer right away, and don't
wait for finishing the handle of a recive complition. We post a recieve
buffer at once.

Results:
The changes have caused the performance part results, which were run on
alltoall test, and it shows us better results from 64Kb to 4Mbwith comparing
'without the current changes'. But see a little regress from 1b to 64Kb,
the diff is about ~0.08 usec (not bigger).

Signed-off-by: Nikita Gusev nikita.gusev@intel.com

@shefty shefty requested a review from aingerson July 23, 2019 19:56
@shefty
Copy link
Member

shefty commented Jul 23, 2019

I think this has the potential of dropping fewer packets under load, though batching the posting of receive buffers can be beneficial. Do we have any data on the impact of this change?

Copy link
Contributor

@aingerson aingerson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine. We should also be able to remove the posted_bufs tracking now

The aim of changes is posting a new recive buffer right away, and don't
wait for finishing the handle of a recive complition. We post a recieve
buffer at once.

The changes have caused the performance part:
The results were run on alltoall test, and it shows us
better results from 64Kb to 4Mb with comparing 'without the current
changes'. But see a little regress from 1b to 64Kb, the diff is
about ~0.08 usec (not bigger).

Signed-off-by: Nikita Gusev <nikita.gusev@intel.com>
@nikitaxgusev
Copy link
Contributor Author

@aingerson Thanks for review. I've removed post_buffs tracking and changed the commit message(mentioned about tested results ).

@rajachan
Copy link
Member

..though batching the posting of receive buffers can be beneficial.

+1. With the existing batched posting of recvs, you could also set FI_MORE in rxd_ep_post_buf() so the base providers can optimize for that.

@shefty shefty merged commit df606d8 into ofiwg:master Jul 26, 2019
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.

4 participants