Penguin

Differences between current version and revision by previous author of TcpTuning.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 3 Last edited on Wednesday, January 7, 2009 2:57:06 pm by BrendonJones
Older page: version 2 Last edited on Thursday, March 23, 2006 2:18:45 pm by IanMcDonald Revert
@@ -6,4 +6,10 @@
  
 The main thing for end nodes is that your TcpWindow needs to be bigger than the sum of your BandwidthDelayProduct. 
  
 Your speed is limited by the size of your packets (check your [MSS]), the loss rate, the [RTT] and how you use Delayed Acks. For an online calculator see: http://wand.net.nz/~perry/max_download.php 
+  
+More modern versions of the Linux kernel (since 2.4.17/2.6.7?) have [full autotuning|http://www.psc.edu/networking/projects/tcptune/#Linux] which should take care of most of this for you. If your kernel supports autotuning and it is enabled then  
+  
+ cat /proc/sys/net/ipv4/tcp_moderate_rcvbuf  
+  
+should show the value 1. If you manually adjust buffer sizes in your program with [setsockopt(2)] then autotuning will be disabled for that connection (not recommended).