From 22ae407d3eb47d0dedcec46258deb88f71e86f10 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 31 Mar 2014 07:40:57 +0200 Subject: [PATCH] tcp.7: Document /proc/sys/net/ipv4/tcp_autocorking Text heavily based on Documentation/networking/ip-sysctl.txt Cowritten-by: Eric Dumazet Signed-off-by: Michael Kerrisk --- man7/tcp.7 | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/man7/tcp.7 b/man7/tcp.7 index 0b8bf57ae..b44305764 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -73,7 +73,7 @@ .\" commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36 .\" Author: Eric Dumazet .\" -.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