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

issue: 3795997 Allow split segment with unacked q #145

Open
wants to merge 1 commit into
base: vNext
Choose a base branch
from

Conversation

iftahl
Copy link
Collaborator

@iftahl iftahl commented May 5, 2024

When the send window is not big enough for the required TCP segment to send, we may split the segment so it will fit into the window. Before this change - We didn't split the segment in the case we have unacked segments. The motivation was that we anticipate to get ACK on the inflight segments, which will trigger the next send operation.
This flow counts on RTT for receiving ACKs, which may be delayed depending on the remote side. When RTT is long - we would block sending although the TCP send window allows it.

The change is to split TCP segments although we have unacked data, in case the send window is big enough (mss).

Change type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Tests
  • Other

Check list

  • Code follows the style de facto guidelines of this project
  • Comments have been inserted in hard to understand places
  • Documentation has been updated (if necessary)
  • Test has been added (if possible)

When the send window is not big enough for the required TCP segment to send,
we may split the segment so it will fit into the window.
Before this change - We didn't split the segment in the case we have unacked segments.
The motivation was that we anticipate to get ACK on the inflight segments,
which will trigger the next send operation.
This flow counts on RTT for receiving ACKs, which may be delayed depending on the remote side.
When RTT is long - we would block sending although the TCP send window allows it.

The change is to split TCP segments although we have unacked data, in
case the send window is big enough (mss).

Signed-off-by: Iftah Levi <iftahl@nvidia.com>
@iftahl
Copy link
Collaborator Author

iftahl commented May 9, 2024

bot:retest

@iftahl
Copy link
Collaborator Author

iftahl commented May 12, 2024

@AlexanderGrissik can we merge it?

@galnoam
Copy link
Collaborator

galnoam commented Jun 5, 2024

@iftahl, please add statistics, @AlexanderGrissik asked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants