-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of inflight and payload queue
Generate sorted slice is slow if the queue is large when data rate is high and some packets is lost/out-of-order. Use different queue struct for inflight and payload queue. Since inflight queue's chunk tsn is always consecutive so use a queue to hold chunks and it is always ordered. Use bitmask to hold payload tsn queue to calculate cumulative tsn and SACK.
- Loading branch information
1 parent
e90e787
commit ab1574a
Showing
8 changed files
with
432 additions
and
252 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
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
Oops, something went wrong.