This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: correctly ensure to not overfill subflows
commit 988ec13 ("mptcp: Make sure that we don't overfill subflows") identified the problem that due to TSQ, some unsent segments might remain in the write_queue for a while, causing the scheduler to overfill a subflow. The original fix tried to calculate available space in terms of bytes, but this is flawed because TCP in the end only counts in segments when deciding to actually send the queued skb. This can result in large amounts of small ( < mss ) segments, which is bad for the performance (both bandwidth and cpu load). Instead, count in segments, but take the unsent skb in the write_queue into account. Fixes: 988ec13 ("mptcp: Make sure that we don't overfill subflows") Signed-off-by: Tim Froidcoeur <tim.froidcoeur@tessares.net> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> (cherry picked from commit 15e8689) Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
- Loading branch information
1 parent
85aa7a9
commit 697185f
Showing
3 changed files
with
49 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters