Re: [PATCH net v2] Revert "tcp: change pingpong threshold to 3"
From: Neal Cardwell <ncardwell@google.com>
Date: 2022-07-21 20:56:15
From: Neal Cardwell <ncardwell@google.com>
Date: 2022-07-21 20:56:15
On Thu, Jul 21, 2022 at 4:44 PM Wei Wang [off-list ref] wrote:
This reverts commit 4a41f453bedfd5e9cd040bad509d9da49feb3e2c.
This to-be-reverted commit was meant to apply a stricter rule for the
stack to enter pingpong mode. However, the condition used to check for
interactive session "before(tp->lsndtime, icsk->icsk_ack.lrcvtime)" is
jiffy based and might be too coarse, which delays the stack entering
pingpong mode.
We revert this patch so that we no longer use the above condition to
determine interactive session, and also reduce pingpong threshold to 1.
Fixes: 4a41f453bedf ("tcp: change pingpong threshold to 3")
Reported-by: LemmyHuang <redacted>
Suggested-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Wei Wang <redacted>
---
v2: added Fixes tagAcked-by: Neal Cardwell <ncardwell@google.com> Looks great to me. Thanks, Wei! neal