[Ns-bugs] [Bug 1039] TCP Nagle algorithm and RTO calculation
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Thu Mar 17 09:23:08 PDT 2011
http://www.nsnam.org/bugzilla/show_bug.cgi?id=1039
Josh Pelkey <jpelkey at gatech.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1046|0 |1
is obsolete| |
--- Comment #9 from Josh Pelkey <jpelkey at gatech.edu> 2011-03-17 12:23:08 EDT ---
Created attachment 1047
--> http://www.nsnam.org/bugzilla/attachment.cgi?id=1047
Change attribute to TcpNoDelay and add test suite
The test suite is pretty simple. I initially send 5 packets to get some data
and acks flowing. I then write 1 byte followed by 535 bytes to the socket. With
TcpNoDelay on, both of these will be wrapped up and sent individually. Without
TcpNoDelay, i.e. Nagle on, the 1 byte and 535 byte will be sent together in one
packet. This leads to a different number of Rx events at the packet sink (a
difference of one packet). For the test I check the total number of Rx events
at the packet sink, plus the sizes of each packet received.
This patch does not fix the two failing test cases, ns3-tcp-cwnd and
routing-aodv-regression, by regenerating the test vectors. That can be done
separately.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list