2011-02-21 11:56:11 +00:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2010-2011 The FreeBSD Foundation
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This documentation was written at the Centre for Advanced Internet
|
2011-04-12 08:13:18 +00:00
|
|
|
.\" Architectures, Swinburne University of Technology, Melbourne, Australia by
|
|
|
|
.\" David Hayes and Lawrence Stewart under sponsorship from the FreeBSD
|
|
|
|
.\" Foundation.
|
2011-02-21 11:56:11 +00:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
|
|
|
|
.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2015-01-12 08:33:04 +00:00
|
|
|
.Dd January 12, 2015
|
2011-09-15 12:15:36 +00:00
|
|
|
.Dt MOD_CC 4
|
2011-02-21 11:56:11 +00:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
2011-09-15 12:15:36 +00:00
|
|
|
.Nm mod_cc
|
2011-02-21 11:56:11 +00:00
|
|
|
.Nd Modular congestion control
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The modular congestion control framework allows the TCP implementation to
|
|
|
|
dynamically change the congestion control algorithm used by new and existing
|
|
|
|
connections.
|
|
|
|
Algorithms are identified by a unique
|
|
|
|
.Xr ascii 7
|
|
|
|
name.
|
|
|
|
Algorithm modules can be compiled into the kernel or loaded as kernel modules
|
|
|
|
using the
|
|
|
|
.Xr kld 4
|
|
|
|
facility.
|
|
|
|
.Pp
|
|
|
|
The default algorithm is NewReno, and all connections use the default unless
|
|
|
|
explicitly overridden using the TCP_CONGESTION socket option (see
|
|
|
|
.Xr tcp 4
|
|
|
|
for details).
|
|
|
|
The default can be changed using a
|
|
|
|
.Xr sysctl 3
|
|
|
|
MIB variable detailed in the
|
|
|
|
.Sx MIB Variables
|
|
|
|
section below.
|
|
|
|
.Sh MIB Variables
|
|
|
|
The framework exposes the following variables in the
|
|
|
|
.Va net.inet.tcp.cc
|
|
|
|
branch of the
|
|
|
|
.Xr sysctl 3
|
|
|
|
MIB:
|
|
|
|
.Bl -tag -width ".Va available"
|
|
|
|
.It Va available
|
|
|
|
Read-only list of currently available congestion control algorithms by name.
|
|
|
|
.It Va algorithm
|
|
|
|
Returns the current default congestion control algorithm when read, and changes
|
|
|
|
the default when set.
|
|
|
|
When attempting to change the default algorithm, this variable should be set to
|
|
|
|
one of the names listed by the
|
|
|
|
.Va net.inet.tcp.cc.available
|
|
|
|
MIB variable.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2014-12-26 01:48:44 +00:00
|
|
|
.Xr cc_cdg 4 ,
|
2011-02-21 11:56:11 +00:00
|
|
|
.Xr cc_chd 4 ,
|
|
|
|
.Xr cc_cubic 4 ,
|
2015-01-12 08:33:04 +00:00
|
|
|
.Xr cc_dctcp 4 ,
|
2011-02-21 11:56:11 +00:00
|
|
|
.Xr cc_hd 4 ,
|
|
|
|
.Xr cc_htcp 4 ,
|
|
|
|
.Xr cc_newreno 4 ,
|
|
|
|
.Xr cc_vegas 4 ,
|
|
|
|
.Xr tcp 4 ,
|
2011-09-15 12:15:36 +00:00
|
|
|
.Xr mod_cc 9
|
2011-02-21 11:56:11 +00:00
|
|
|
.Sh ACKNOWLEDGEMENTS
|
|
|
|
Development and testing of this software were made possible in part by grants
|
|
|
|
from the FreeBSD Foundation and Cisco University Research Program Fund at
|
|
|
|
Community Foundation Silicon Valley.
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
modular congestion control framework first appeared in
|
|
|
|
.Fx 9.0 .
|
|
|
|
.Pp
|
|
|
|
The framework was first released in 2007 by James Healy and Lawrence Stewart
|
2011-04-12 08:13:18 +00:00
|
|
|
whilst working on the NewTCP research project at Swinburne University of
|
|
|
|
Technology's Centre for Advanced Internet Architectures, Melbourne, Australia,
|
|
|
|
which was made possible in part by a grant from the Cisco University Research
|
|
|
|
Program Fund at Community Foundation Silicon Valley.
|
2011-02-21 11:56:11 +00:00
|
|
|
More details are available at:
|
|
|
|
.Pp
|
|
|
|
http://caia.swin.edu.au/urp/newtcp/
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An -nosplit
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
facility was written by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Lawrence Stewart Aq Mt lstewart@FreeBSD.org ,
|
|
|
|
.An James Healy Aq Mt jimmy@deefa.com
|
2011-02-21 11:56:11 +00:00
|
|
|
and
|
2014-06-26 21:46:14 +00:00
|
|
|
.An David Hayes Aq Mt david.hayes@ieee.org .
|
2011-02-21 11:56:11 +00:00
|
|
|
.Pp
|
|
|
|
This manual page was written by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An David Hayes Aq Mt david.hayes@ieee.org
|
2011-02-21 11:56:11 +00:00
|
|
|
and
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Lawrence Stewart Aq Mt lstewart@FreeBSD.org .
|