Re: TCP_CONGESTION documentation

From: Stephen Hemminger
Date: Sun Nov 23 2008 - 01:34:35 EST


On Sat, 22 Nov 2008 15:56:32 +0100
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> On Fri, Nov 21, 2008 at 11:39:18PM -0800, Stephen Hemminger wrote:
> > Does this help get it started in right direction??
>
> Yes.
>
> > --------------------------------------------
> >
> > This is an implementation of the TCP protocol defined in
> > RFC 793, RFC 1122 and RFC 2001 with the NewReno and SACK
> > extensions. It provides a reliable, stream-oriented,
>
> Perhaps drop NewReno, it's really obsolete because Linux is so
> far beyond.
>
> >
> > Note that TCP actually allocates twice the size of the
> > buffer requested in
>
> The "twice" is obsolete, it's far more complicated now.
> So it should be just "more" I think
>
> > socket option is enabled, urgent data is put into the
> > normal data stream (a program can test for its location
> > using the SIOCATMARK ioctl described below), otherwise it
> > can be only received when the MSG_OOB flag is set for
> > recv(2) or recvmsg(2).
> >
> > Linux supports multiple different congestion control
> > algorithms. The default choice of congestion control is controlled
> > by net.ipv4.tcp_congestion_control sysctl. This value can
> > be overridden by TCP_CONGESTION socket option. The actual choices
> > of congestion control available vary according between release
> > as more are added, and depend on the configuration choices
>
> Hmm perhaps mention the current standard default?

There is no "standard default" it is a kernel config option.
And it may change in future, so writing it into the manual page
seems being short sighted.
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html