aboutsummaryrefslogtreecommitdiffstats
path: root/man7/tcp.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-03-31 07:40:57 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-03-31 22:11:02 +0200
commit22ae407d3eb47d0dedcec46258deb88f71e86f10 (patch)
tree47baca5368337b7979eb210b47e65c20f2b2f362 /man7/tcp.7
parent70415818187d563f73a17bc6cfbb8240106d57ef (diff)
downloadman-pages-22ae407d3eb47d0dedcec46258deb88f71e86f10.tar.gz
tcp.7: Document /proc/sys/net/ipv4/tcp_autocorking
Text heavily based on Documentation/networking/ip-sysctl.txt Cowritten-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/tcp.7')
-rw-r--r--man7/tcp.719
1 files changed, 18 insertions, 1 deletions
diff --git a/man7/tcp.7 b/man7/tcp.7
index 0b8bf57ae0..b443057649 100644
--- a/man7/tcp.7
+++ b/man7/tcp.7
@@ -73,7 +73,7 @@
.\" commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36
.\" Author: Eric Dumazet <edumazet@google.com>
.\"
-.TH TCP 7 2014-01-23 "Linux" "Linux Programmer's Manual"
+.TH TCP 7 2014-03-31 "Linux" "Linux Programmer's Manual"
.SH NAME
tcp \- TCP protocol
.SH SYNOPSIS
@@ -302,6 +302,23 @@ The list is a subset of those listed in
The default value for this list is "reno" plus the default setting of
.IR tcp_congestion_control .
.TP
+.IR tcp_autocorking " (Boolean; default: enabled; since Linux 3.14)"
+.\" commit f54b311142a92ea2e42598e347b84e1655caf8e3
+.\" Text heavily based on Documentation/networking/ip-sysctl.txt
+If this option is enabled, the kernel tries to coalesce small writes
+(from consecutive
+.BR write (2)
+and
+.BR sendmsg (2)
+calls) as much as possible,
+in order to decrease the total number of sent packets.
+Coalescing is done if at least one prior packet for the flow
+is waiting in Qdisc queues or device transmit queue.
+Applications can still use the
+.B TCP_CORK
+socket option to obtain optimal behavior
+when they know how/when to uncork their sockets.
+.TP
.IR tcp_available_congestion_control " (String; read-only; since Linux 2.4.20)"
.\" The following is from 2.6.28-rc4: Documentation/networking/ip-sysctl.txt
Show a list of the congestion-control algorithms