Check out my first novel, midnight's simulacra!

TCP: Difference between revisions

From dankwiki
No edit summary
No edit summary
Line 11: Line 11:
* netdev 2009-03-11, "[http://patchwork.ozlabs.org/patch/24296/ TCP rx window autotuning harmful at LAN context]"
* netdev 2009-03-11, "[http://patchwork.ozlabs.org/patch/24296/ TCP rx window autotuning harmful at LAN context]"
* The Pittsburgh Supercomputing Center's [http://www.psc.edu/networking/projects/tcptune/#Linux Linux TCP notes]
* The Pittsburgh Supercomputing Center's [http://www.psc.edu/networking/projects/tcptune/#Linux Linux TCP notes]
 
===TCP auto-tuning on FreeBSD===
* Finally introduced in [FreeBSD 7.2] by [http://people.freebsd.org/~andre/ Andre Oppermann]:
<pre>With TCP send buffer auto scaling and the default values below it supports 20Mbit/s at 100ms and 10Mbit/s at 200ms. Both read and write buffer are auto-sized.</pre>
== See also ==
== See also ==
* [[Linux APIs#IPPROTO_TCP|Linux's]] TCP socket options
* [[Linux APIs#IPPROTO_TCP|Linux's]] TCP socket options
* [[FreeBSD APIs#IPPROTO_TCP|FreeBSD's]] TCP socket options
* [[FreeBSD APIs#IPPROTO_TCP|FreeBSD's]] TCP socket options

Revision as of 15:00, 19 June 2009

Portable APIs

  • TCP_NODELAY: Disable Nagle's algorithm (coalescing of small packets until an ACK is received or a retransmission triggered). See the Linux APIs page for interactions with TCP_CORK on that platform.

Tuning

TCP auto-tuning on Linux

TCP auto-tuning on FreeBSD

With TCP send buffer auto scaling and the default values below it supports 20Mbit/s at 100ms and 10Mbit/s at 200ms. Both read and write buffer are auto-sized.

See also