[haiku-bugs] Re: [Haiku] #13629: tcp: slow start & congestion avoidance @ rfc 5681 : updated rules for congestion window

  • From: "a-star" <trac@xxxxxxxxxxxx>
  • Date: Mon, 14 Aug 2017 20:17:27 -0000

#13629: tcp: slow start & congestion avoidance @ rfc 5681 : updated rules for
congestion window
--------------------------------------+-----------------------------------
   Reporter:  a-star                  |      Owner:  axeld
       Type:  task                    |     Status:  new
   Priority:  normal                  |  Milestone:  Unscheduled
  Component:  Network & Internet/TCP  |    Version:  R1/Development
 Resolution:                          |   Keywords:  tcp, gsoc, slow start
 Blocked By:                          |   Blocking:
Has a Patch:  1                       |   Platform:  All
--------------------------------------+-----------------------------------

Comment (by a-star):

 Reverting the change in _SendQueued (point 2 in the description of ticket)
 to the original implementation which deducted the size of tcp options from
 fSendMaxSegmentSize.

 I inspected the outgoing packets from Ubuntu as well as Windows. Both of
 them upon receiving a RMSS of 1460 sent out packets of length 1448 only,
 i.e., subtracted the 12 bytes of TCP timestamp option.

 Although the rfc tells us that the size doesn't include the length of
 options but it is only realistic to subtract the size of options since
 while negotiating MSS during handshake one cannot know in advance what tcp
 options will be used. All packets will use timestamp once negotiated but
 some may carry extra information such as SACK as well.

 Should have noted that in the first place. :)

--
Ticket URL: <https://dev.haiku-os.org/ticket/13629#comment:13>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: