Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(247)

Issue 285540043: Scalable TCP implementation

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by trucanh524
Modified:
10 years ago
Reviewers:
tomh, n.p
CC:
ns-3-reviews_googlegroups.com
Visibility:
Public.

Description

Scalable TCP implementation in |ns3| ------------------------------------------------ This chapter describes Scalable TCP implementation in |ns3|. This implementation is contained in the following files: .. sourcecode:: text src/internet/model/tcp-scalable.{cc,h} Model Description ***************** Scalable improves TCP performance to better utilize the available bandwidth of a highspeed wide area network by altering NewReno congestion window adjustment algorithm. When congestion has not been detected, for each ACK received in an RTT, Scalable increases its cwnd per: cwnd = cwnd + 0.01 (1) Following Linux implementation of Scalable, we use 50 instead of 100 to account for delayed ACK. On the first detection of congestion in a given RTT, cwnd is reduced based on the following equation cwnd = cwnd - ceil(0.125 * cwnd) (2) References ========== .. [Kelly2003] Tom Kelly. 2003. Scalable TCP: improving performance in highspeed wide area networks. SIGCOMM Comput. Commun. Rev. 33, 2 (April 2003), 83-91. DOI=http://dx.doi.org/10.1145/956981.956989 Validation ========== The Scalable TCP model is tested using :cpp:class:`TcpScalableTestSuite` class defined in `src/internet/test/tcp-scalable-test.cc`. This test suit can be run using the following commands: :: $ ./waf configure --enable-examples --enable-tests $ ./waf build $ ./test.py -s tcp-scalable-test Example ======= Scalable TCP can be simulated using the example `tcp-variants-comparison.cc` located in ``examples/tcp``.

Patch Set 1 #

Patch Set 2 : Removed ss string from scalable test and modified TcpVariantsComparison #

Total comments: 14

Patch Set 3 : Addressed Nat's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -5 lines) Patch
M examples/tcp/tcp-variants-comparison.cc View 1 4 chunks +16 lines, -5 lines 0 comments Download
A scalable.rst View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
A src/internet/model/tcp-scalable.h View 1 2 1 chunk +115 lines, -0 lines 0 comments Download
A src/internet/model/tcp-scalable.cc View 1 2 1 chunk +141 lines, -0 lines 0 comments Download
A src/internet/test/tcp-scalable-test.cc View 1 2 1 chunk +178 lines, -0 lines 0 comments Download
M src/internet/wscript View 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4
n.p
Generally I like it, and I do not spot any critical issue. There are some ...
10 years ago (2016-04-05 15:08:50 UTC) #1
n.p
On 2016/04/05 15:08:50, n.p wrote: > Generally I like it, and I do not spot ...
10 years ago (2016-04-05 15:09:46 UTC) #2
trucanh524
https://codereview.appspot.com/285540043/diff/20001/examples/tcp/tcp-variants-comparison.cc File examples/tcp/tcp-variants-comparison.cc (right): https://codereview.appspot.com/285540043/diff/20001/examples/tcp/tcp-variants-comparison.cc#newcode242 examples/tcp/tcp-variants-comparison.cc:242: { On 2016/04/05 15:08:49, n.p wrote: > This would ...
10 years ago (2016-04-09 22:18:45 UTC) #3
trucanh524
10 years ago (2016-04-09 22:28:35 UTC) #4
On 2016/04/05 15:09:46, n.p wrote:
> On 2016/04/05 15:08:50, n.p wrote:
> > Generally I like it, and I do not spot any critical issue. There are some
> minor
> > comments inline. Good job!
> 
> Ah, I forgot that would be nice to have the documentation that you put at the
> beginning of this review inside some .rst
> 
> Nat

I've submitted scalable.rst.  

Thank you for reviewing the code. 

Anh
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b