Difference between revisions of "TCP"

From dankwiki
Jump to navigation Jump to search
Line 18: Line 18:
 
* [[FreeBSD APIs#IPPROTO_TCP|FreeBSD's]] TCP socket options
 
* [[FreeBSD APIs#IPPROTO_TCP|FreeBSD's]] TCP socket options
 
* [http://linuxgazette.net/135/pfeiffer.html TCP and Linux' Pluggable Congestion Control Algorithms], a 2007 Linux Gazette article by René Pfeiffer
 
* [http://linuxgazette.net/135/pfeiffer.html TCP and Linux' Pluggable Congestion Control Algorithms], a 2007 Linux Gazette article by René Pfeiffer
 +
[[CATEGORY: Networking]]

Revision as of 22:24, 19 May 2011

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