Check out my first novel, midnight's simulacra!


From dankwiki
Revision as of 10:01, 12 July 2011 by Dank (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.


LRO/TSO are safe to use on routers and bridges so long as all interfaces involved support the technique.


Large receive offload. Cannot guarantee refragmentation, and thus ought not generally be used on bridges or routers.


Generic receive offload. Generalizes LRO to guarantee possibility of refragmentation, but coalesces a proper subset of packets suitable for LRO.


TCP segmentation offload, also known as TCP Large Send.


Generic segmentation offload, introduced in Linux 2.6.18. Generalizes TSO to guarantee possibility of refragmentation.


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