Compound TCP: Difference between revisions
m Reverted edits by 2607:FB90:465C:8A6B:19A:5465:78F2:6896 (talk) to last version by Comp.arch |
Rescuing 1 sources and tagging 0 as dead. #IABot (v1.2.7.1) |
||
Line 45: | Line 45: | ||
* [http://research.microsoft.com/en-us/projects/ctcp/ The Compound TCP for High-speed and Long Distance Networks], Microsoft Research publication |
* [http://research.microsoft.com/en-us/projects/ctcp/ The Compound TCP for High-speed and Long Distance Networks], Microsoft Research publication |
||
* [http://www.networkperformancedaily.com/2006/12/vistas_tcpip_promises_and_peri.html Vista's TCP/IP Promises and Perils], Article at Network Performance Daily |
* [http://www.networkperformancedaily.com/2006/12/vistas_tcpip_promises_and_peri.html Vista's TCP/IP Promises and Perils], Article at Network Performance Daily |
||
* [http://netlab.caltech.edu/lachlan/ctcp Caltech's Compound TCP patch for Linux] |
* [https://web.archive.org/web/20080802222857/http://netlab.caltech.edu:80/lachlan/ctcp/ Caltech's Compound TCP patch for Linux] |
||
* Enabling CTCP on 2003/XP x64: [http://blog.tiensivu.com/aaron/archives/1537-KB-949316-Add-Compound-TCP-CTCP-support-to-XP-and-Server-2003.html],[http://blog.tiensivu.com/aaron/archives/901-Compound-TCP-congestion-control-algorithm-in-Vista-can-make-lossyhigh-latency-connections-behave-better..html] |
* Enabling CTCP on 2003/XP x64: [http://blog.tiensivu.com/aaron/archives/1537-KB-949316-Add-Compound-TCP-CTCP-support-to-XP-and-Server-2003.html],[http://blog.tiensivu.com/aaron/archives/901-Compound-TCP-congestion-control-algorithm-in-Vista-can-make-lossyhigh-latency-connections-behave-better..html] |
||
* [http://www.hamilton.ie/net/delay_tests_final.pdf Report on experimental evaluation of Compound TCP] [http://www.hamilton.ie Hamilton Institute] and [http://netlab.caltech.edu Caltech], March 2008. |
* [http://www.hamilton.ie/net/delay_tests_final.pdf Report on experimental evaluation of Compound TCP] [http://www.hamilton.ie Hamilton Institute] and [http://netlab.caltech.edu Caltech], March 2008. |
Revision as of 06:24, 29 November 2016
Compound TCP (CTCP) is a Microsoft algorithm that was introduced as part of the Windows Vista and Window Server 2008 TCP stack. It is designed to aggressively adjust the sender's congestion window to optimise TCP for connections with large bandwidth-delay products while trying not to harm fairness (as can occur with HSTCP). It is also available for Linux, as well as for Windows XP and Windows Server 2003 via a hotfix.[1]
Principles of operation
Like FAST TCP and TCP Vegas, Compound TCP uses estimates of queuing delay as a measure of congestion; if the queuing delay is small, it assumes that no links on its path are congested, and rapidly increases its rate. However, unlike FAST and Vegas, it does not seek to maintain a constant number of packets queued.
Compound TCP maintains two congestion windows: a regular AIMD window and a delay-based window. The size of the actual sliding window used is the sum of these two windows. The AIMD window is increased the same way that TCP Reno increases it. If the delay is small, the delay-based window increases rapidly to improve the utilisation of the network. Once queuing is experienced, the delay window gradually decreases to compensate for the increase in the AIMD window. The aim is to keep their sum approximately constant, at what the algorithm estimates is the path's bandwidth-delay product. In particular, when queuing is detected, the delay-based window is reduced by the estimated queue size to avoid the problem of "persistent congestion" reported for FAST and Vegas. Thus, unlike TCP-Illinois and its precursor TCP Africa, Compound TCP can reduce its window in response to delay. This increases its fairness to Reno.[citation needed]
Supported platforms
Windows 2003 & XP x64
A hotfix is available that adds CTCP support to 64 bit Windows XP and Windows Server 2003.[2]
The following registry key can be set to 1 to enable, or 0 to disable:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TCPCongestionControl
Windows Vista/2008/7
CTCP is enabled by default in computers running beta versions of Windows Server 2008 and disabled by default in computers running Windows Vista and 7.
CTCP can be enabled with the command:
netsh interface tcp set global congestionprovider=ctcp
or disabled with the command:
netsh interface tcp set global congestionprovider=none
To display the current setting for CTCP use:
netsh interface tcp show global
Parameter "Add-On Congestion Control Provider" will either have a value of "none" if CTCP is disabled or "ctcp" if it is enabled.
Windows 8 / 8.1
Windows 8/8.1 uses PowerShell command http://technet.microsoft.com/en-us/library/hh826132.aspx to modify the congestion control algorithm.
Linux
In addition to Windows, CTCP was also ported to Linux by Angelo P. Castellani. A patch derived from this was developed at Caltech, which included CTCP's TUning By Emulation (TUBE). The patch was only available to researchers due to software patents. Since kernel version 2.6.17 the module has been incompatible and fails to compile due to kernel API changes.[3]
See also
- TCP congestion avoidance algorithm
- Explicit Congestion Notification
- Transmission Control Protocol — Development
References
External links
- Compound TCP Internet-Draft
- "A Compound TCP Approach for High-speed and Long Distance Networks" July 2005
- Performance Enhancements in the Next Generation TCP/IP Stack, The Cable Guy
- The Compound TCP for High-speed and Long Distance Networks, Microsoft Research publication
- Vista's TCP/IP Promises and Perils, Article at Network Performance Daily
- Caltech's Compound TCP patch for Linux
- Enabling CTCP on 2003/XP x64: [1],[2]
- Report on experimental evaluation of Compound TCP Hamilton Institute and Caltech, March 2008.
- A simulation-based study of Compound TCP [dead link] July 14, 2008