Replies: 1 comment
-
Any ideas on how to mitigate first message poor latency? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm running UCX version
To measure transfer latency, I've used the
ucx_perftest
tool with the following configurationI've notices that, when setting up a new UCX connection, the first message sent has very poor latency compared to subsequent messages (of same size which use the same UCX connection).
Sending the first message can take something like 482.559 usec, while sending a fourth message of same size can take 4.053 usec.
The significant difference in latency between delivering the first and subsequent messages makes me think some special memory handling happens during the first transfer.
Is there a way to perform some extra UCX setup before the first message is sent, to decrease the latency of the first message and get it closer to the average message latency? I believe my experiments are using
rc_verbs
as transport.To see this behavior, I've ran the following tests:
Beta Was this translation helpful? Give feedback.
All reactions