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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bill Davidsen
Date: Wednesday, July 14, 2010 - 8:21 am

Ed W wrote:
Are you sure that's the issue? The backlog is in incoming, is it not?

Having dealt with moderately long delays push TB between timezones, have you set 
your window size up? Set /proc/sys/net/ipv4/tcp_adv_win_scale to 5 or 6 and see 
if that helps. You may have to go into /proc/sys/net/core and crank up the 
rmem_* settings, depending on your distribution.

This allows the server to push a lot of data without an ack, which is what you 
want, the ack will be delayed by the long latency, so this helps. You can 
calculate how large to make the setting, but "make it bigger until tcpdump never 
shows the window size < 2k" is the best way, even a bit larger than that wont 
hurt, although it will take a bit of memory.

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Raise initial congestion window size / speedup slow start?, Bill Davidsen, (Wed Jul 14, 8:21 am)
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?, 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)