Difference between revisions of "TCP"

From dankwiki
Line 1: Line 1:
i;i'* http://articles.techrepublic.com.com/5100-10878_11-1050878.html -- "TCP/IP options for high-performance data transmission"
+
* http://articles.techrepublic.com.com/5100-10878_11-1050878.html -- "TCP/IP options for high-performance data transmission"
 
* http://www.ussg.iu.edu/hypermail/linux/kernel/0102.0/0943.html -- [[LKML]] thread, "TCP_NOPUSH on FreeBSD, TCP_CORK on Linux"
 
* http://www.ussg.iu.edu/hypermail/linux/kernel/0102.0/0943.html -- [[LKML]] thread, "TCP_NOPUSH on FreeBSD, TCP_CORK on Linux"
 
* http://www.irbs.net/internet/postfix/0707/1097.html -- postfix thread, "dkim-milter signing terribly slow with Postfix, but not with sendmail"
 
* http://www.irbs.net/internet/postfix/0707/1097.html -- postfix thread, "dkim-milter signing terribly slow with Postfix, but not with sendmail"

Revision as of 22:28, 1 May 2010

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