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

UCT/UD: Don't wake up remote peer for every ACKREQ packet #6218

Merged
merged 1 commit into from
Jan 28, 2021

Conversation

yosefe
Copy link
Contributor

@yosefe yosefe commented Jan 27, 2021

Why

Fix a performance degradation in an application, introduced by #5499

Elapsed time results (T is baseline), lower is better:

before #5499 after #5499 after this PR
T T*1.52 T

How

Set a minimal interval of requesting remote wakeup by sending ACK+REQ message with SOLICITED event.
Hopefully, ACKs would arrive by that time, so would not need to send ACK+REQ any more.

src/uct/ib/ud/base/ud_iface.c Outdated Show resolved Hide resolved
Introduce a minimal interval for sending packets with SOLICITED flag,
to avoid excessive interrupts on the remote peer which have a
significant performance overhead.
@yosefe yosefe force-pushed the topic/uct-ud-dont-wake-up-remote-peer branch from 8599b3f to b21fe2a Compare January 27, 2021 18:26
@yosefe yosefe merged commit 699dbf9 into openucx:master Jan 28, 2021
@yosefe yosefe deleted the topic/uct-ud-dont-wake-up-remote-peer branch January 28, 2021 12:10
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