Skip Links

Network World

  • Social Web 
  • Email 
  • Close

High-speed TCP eases WAN congestion

By Mark Day , Network World , 10/03/2005
This vendor-written tech primer has been edited by Network World to eliminate product promotion, but readers should note it will likely favor the submitter's approach.
  • Share/Email
  • Comment
  • Print

TCP sometimes gets a bad rap because of the way its congestion-control algorithm hunts for bandwidth haphazardly and backs off conservatively at any sign of congestion. A properly tuned TCP implementation running over a well-engineered network can readily achieve throughputs of up to 100M bit/sec, even with very high latencies. But beyond 100M bit/sec in a typical high-latency environment, performance starts to degrade.

However, there is an elegant and easily implemented fix in a protocol enhancement called High-speed TCP (HS-TCP ). HS-TCP is an update of TCP that reacts better when using large congestion windows on high-bandwidth, high-latency networks.

Documented in IETF RFC-3649 , HS-TCP has experimental status rather than being on a standards track. Nevertheless, it is stable and useful, and is likely to be incorporated into future standards - just as with previous successful experimental modifications to TCP.

A window into the problem

TCP allows applications to communicate reliably over unreliable IP packet networks and permits sharing of network bandwidth across connections in a roughly fair fashion. It does so by having each TCP sender dynamically adjust its transmission window, which represents the maximum amount of unacknowledged data that can be in transit in the network at any given time.

The reason TCP performance starts to degrade beyond 100M bit/sec has to do with the window-adjustment algorithm. In its congestion-avoidance phase, ordinary TCP increases its sending window by one packet every round-trip time. And when it detects congestion, it cuts the window in half. For a high-bandwidth, high-latency connection, which is called a long fat network or LFN, the optimal window size might be 8,000 packets or more. This means it takes 4,000 round trips to recover from congestion. If each round-trip takes 100 millisec, the recovery time is 400 seconds. In a highly dynamic network, with lots of connections coming and going, normal TCP is simply too sluggish to track all of the activity.

HS-TCP alters how the window is opened on each round trip and closed on congestion events as a function of the absolute size of the window. When the window is small, HS-TCP behaves exactly like ordinary TCP. But when the window is large, it increases the window by a larger amount and decreases it by a smaller amount, where these amounts are chosen based on the precise value of the window in operation. The effect of these changes is that ordinary TCP's sluggishness disappears. HS-TCP performs well in LFNs and enables full utilization of multi-gigabit, high-delay links.

  • Share/Email
  • Comment
  • Print
Partner Content

Simplify Your Branch Infrastructure

Learn how to simplify your branch infrastructure while dramatically increasing app performance with Citrix Branch Repeater.

Download the Free Info Kit

Next-Gen Load Balancing

Free Guide: "Next Gen Load Balancing: 8 Things You Need to Handle Today's Network Traffic" shows you the functionality needed in your next load balancer.

Download the Free Guide

Accelerate Your Web Apps by up to 5x

Free Guide: "The Secret to Getting Maximum Speed from your Web Applications." Learn how you can deliver Web apps up to 5x faster.

Download the Free Guide

Comment
Login
Forgot your account info?
Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a NetworkWorld account? Log in here. Register now for a free account.

Videos

rssRss Feed
Get instant email notification when white papers, webcasts, executive guides are added to our library. Stay informed and up-to-date with the latest on IT Technologies with Network World's Resource Alerts.
Network World,to go. Wherever you are. Breaking news delivered to your mobile device. Select the hottest topics in networking and start receiving Network World on your mobile device today.