Re: Raise initial congestion window size / speedup slow start?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ed W
Date: Wednesday, July 14, 2010 - 3:52 pm

>> Although section 3 of RFC 5681 is a great text, it does not say at all

So lets define the problem more succinctly:
- New TCP connections are assumed to have no knowledge of current 
network conditions (bah)
- We desire the connection to consume the maximum amount of bandwidth 
possible, but staying ever so fractionally under the maximum link bandwidth


Sounds like smarter people than I have played this game, but just to 
chuck out one idea: How about attacking the idea that we have no 
knowledge of network conditions?  After all we have a bunch of 
information about:

1) very good information about the size of the link to the first hop (eg 
the modem/network card reported rate)
2) often a reasonably good idea about the bandwidth to the first 
"restrictive" router along our default path (ie usually the situation is 
there is a pool of high speed network locally, then a more limited 
connectivity between our network and other networks.  We can look at the 
maximum flows through our network device to outside our subnet and infer 
an approximate link speed from that)
3) often moderate quality information about the size of the link between 
us and a specific destination IP

So here goes: the heuristic could be to examine current flows through 
our interface, use this to offer hints to the remote end during SYN 
handshake as to a recommended starting size, and additionally the client 
side can examine the implied RTT of the SYN/ACK to further fine tune the 
initial cwnd?

In practice this could be implemented in other ways such as examining 
recent TCP congestion windows and using some heuristic to start "near" 
those.  Or remembering congestion windows recently used for popular 
destinations?  Also we can benefit the receiver of our data - if we see 
some app open up 16 http connections to some poor server then some of 
those connections will NOT be given large initial cwnd.

Essentially perhaps we can refine our initial cwnd heuristic somewhat if 
we assume better than zero knowledge about the network link?


Out of curiousity, why has it taken so long for active feedback to 
appear?  If every router simply added a hint to the packet as to the max 
bandwidth it can offer then we would appear to be able to make massively 
better decisions on window sizes.  Furthermore routers have the ability 
to put backpressure on classes of traffic as appropriate.  I guess the 
speed at which ECN has been adopted answers the question of why nothing 
more exotic has appeared?


Actually the original question was mine and it was literally - can I 
adjust the initial cwnd for users of my very specific satellite network 
which has a high RTT.  I believe Stephen Hemminger has been kind enough 
to recently add the facility to experiment with this to the ip utility 
and so I am now in a position to go do some testing - thanks Stephen


Cheers

Ed W
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Raise initial congestion window size / speedup slow start?, Stephen Hemminger, (Wed Jul 14, 12:10 pm)
Re: Raise initial congestion window size / speedup slow start?, Hagen Paul Pfeifer, (Wed Jul 14, 3:13 pm)
Re: Raise initial congestion window size / speedup slow start?, Hagen Paul Pfeifer, (Wed Jul 14, 3:36 pm)
Re: Raise initial congestion window size / speedup slow start?, Hagen Paul Pfeifer, (Wed Jul 14, 3:40 pm)
Re: Raise initial congestion window size / speedup slow start?, Ed W, (Wed Jul 14, 3:52 pm)
Re: Raise initial congestion window size / speedup slow start?, Hagen Paul Pfeifer, (Wed Jul 14, 4:01 pm)
Re: Raise initial congestion window size / speedup slow start?, Stephen Hemminger, (Thu Jul 15, 1:48 pm)
Re: Raise initial congestion window size / speedup slow start?, Henrique de Moraes H ..., (Thu Jul 15, 7:58 pm)
Re: Raise initial congestion window size / speedup slow s ..., Hagen Paul Pfeifer, (Fri Jul 16, 2:03 am)
Re: Raise initial congestion window size / speedup slow start?, Hagen Paul Pfeifer, (Mon Jul 19, 4:42 pm)