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>
This commit is contained in:
Michael Kerrisk 2014-03-31 07:40:57 +02:00
parent 7041581818
commit 22ae407d3e
1 changed files with 18 additions and 1 deletions

View File

@ -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