Quite akin to the current spectrum war, the 1990s witnessed a bandwidth war
that baffled the communications industry. Despite a growing worldwide thirst for
bandwidth, supply has outpaced the demand by a wide margin! During the rapid
expansion of the Internet in the 1990s, the data communications industry created
an infrastructure that was capable of delivering cheap bandwidth in high
volumes. In fact, bandwidth has increased so much that even the affects of
Metcalfe's Law are insufficient to consume available capacity for many years to
come. The result of this imbalance has been the commoditization of bandwidth,
rapidly declining bandwidth prices, and a vendor environment that has actively
promoted the myth that high bandwidth can address almost any performance
problem.
But as enterprise application deployments have expanded to WAN, an
environment where bandwidth is sometimes as high as in the LAN environment, IT
managers have witnessed a dramatic decrease in application performance. They
scratch their heads and wonder, “Why would two networks, the LAN and the WAN,
with identical bandwidth capacities deliver such different performance results?”
The answer is that application performance is affected by many factors
associated with both network and application logic. At the network level,
application performance is limited by high latency (the effect of physical
distance), jitter, packet loss, and congestion. At the application level,
performance is further limited by natural behavior of application protocols,
application protocols that engage in excessive handshaking across network links,
and serialization of applications themselves.
Application Performance
The top most prevalent myth is that application performance depends only on
bandwidth. Application performance and throughput are influenced by many
factors. Latency and packet loss have a profound effect on application
performance. Little's Law, the seminal description of queuing theory and an
equation that models the effects of physical distance (latency) and packet loss,
illustrates the impacts of these two factors on application performance.
As the round trip time (RTT) of each request increases, the congestion window
must increase or TCP throughput will decrease. Unfortunately, TCP does not
effectively manage large windows. As a result, even small amounts of latency and
packet loss can quickly drop network performance for a given application to less
than 1 Mbps. Even if bandwidth capacity were to be increased to 100 Mbps, the
application would never consume more than one percent of the total capacity.
Under these conditions, managers who add network capacity waste money on a
resource that cannot be fully utilized.
In WAN, sources of high round trip times (latency) include physical distance,
inefficient network routing patterns, and network congestion-elements that are
all present in abundance on WAN. Today, many TCP protocol stacks are highly
inefficient when it comes to managing retransmissions. In fact, some stacks may
have to retransmit the whole congestion window if a single packet is lost. They
also tend to back off exponentially (ie reduce congestion windows and increase
retransmission timers) in the face of network congestion, a behavior that is
detected by TCP as packet loss. And, while loss is often insignificant in frame
relay networks (less than .01% on average), it is very significant in IP VPN
networks that go into and out of certain markets like China, where loss rates
commonly exceed 5%. Under this latter scenario, high loss rates can have a
catastrophic effect on performance. When packet loss and latency effects are
combined, the performance drop-off is even more severe.
Ensuring Fairness
Myth number two is that TCP requires aggressive backup to ensure fairness.
Many network engineers believe that aggressive backup in the face of congestion
is necessary to keep network access fair. While in some cases that statement is
true, in others, it is not. Where congestion control is the responsibility of
each host on a network, an environment where each host has no knowledge of the
other host's bandwidth needs, aggressive backup is necessary to ensure fairness.
However, if congestion is managed within the fabric of the network by a system
that sees all traffic on a given WAN connection, much greater and more efficient
throughput is possible-and aggressive backup is not required. Standard protocol
behavior specifies that when hosts consume bandwidth, they must do so
independent of the requirements of the application.
The result is a situation where applications are often starved for bandwidth
resources at the same time that the network is largely unused. This situation is
obviously highly inefficient. A much better solution to the TCP fairness problem
is allow individual hosts to consume as much bandwidth as they need, so long as
all other hosts receive adequate service when they need it. This can be
accomplished by implementing a single congestion window, shared by all hosts,
that is managed within the network itself. The result is a system where hosts
get the bandwidth they need in periods of light competition, and all hosts get
sufficient bandwidth when competition is more intense. This single window method
delivers consistently higher utilization and greater overall throughput.
As a result, IT managers experience optimally utilized networks under the
broadest range of network latency and loss conditions. Single window solutions
that are completely transparent to client systems can be constructed. Components
of such solutions may include TCP technologies such as selective
acknowledgement, local congestion window management, improved retransmission
algorithms, and packet dispersion. These capabilities are then combined with
other technologies that match the throughput requirements of applications to the
availability of network resources and track the bandwidth requirements of all
hosts utilizing the network. By aggregating the throughput of multiple, parallel
WAN links, this technology can achieve even greater throughput and reliability.
Packet Compression
Another myth is that packet compression improves application performance.
While common packet compression techniques can reduce the amount of traffic on
the WAN, they often impede application performance since they tend to add
latency to application transactions. These techniques require that packets be
queued up, compressed, transmitted, decompressed on the receiver, and then
retransmitted-all of which can take substantial resources and add substantial
latency, actually slowing down the very applications that need acceleration.
Next generation application performance solutions combine protocol streamlining
with transparent data reduction techniques. Compared to packet based solutions,
next generation solutions dramatically reduce the amount of data that needs to
be transmitted, eliminate latency that is introduced by protocol behavior due to
physical distance, and can drive wide area network performance at gigabit
speeds.
Quality of Service
The other myth is that quality of service technology accelerates
applications. Quality of Service (QoS), if used properly, is a highly beneficial
technology that can be helpful for managing application performance. However,
the only thing that QoS can do is divide existing bandwidth into multiple
virtual channels. QoS does nothing to move more data or streamline protocol
behavior. QoS simply decides, in an intelligent way, which packets to drop. And
while it is better to drop packets in a controlled way than to leave it to
chance, dropping packets does not accelerate applications.
Many QoS implementations rely on port numbers to track applications. Since
applications often negotiate port assignments dynamically, these mechanisms have
to be configured to reserve a large port ranges to ensure coverage of the ports
actually used by the application. For QoS to be most effective, it should be
dynamic. Dynamic QoS solutions ensure that bandwidth is reserved only when
applications can use it.
The Solution
So, how to overcome these challenges in business environment? One way is to
install a WAN application acceleration product. These products can deliver
dramatic application performance and greatly reduced WAN costs by monitoring the
limiting effects of network conditions, adjusting protocol behavior, and
managing all levels of the protocol stack from the network layer to the
application layer. It's important that these products are built around an
architecture that can recognize the critical interdependence between
application-level and transport-level behavior. It should integrate advanced
transport acceleration technologies such as adaptive TCP acceleration and
session-aware quality of service, with application acceleration technologies
that include dynamic (XML) object caching, application proxies, and application
encryption. The system should also be supported by a statistics generation and
monitoring engine that enables real-time management of application network
behavior.
These types of products can essentially deliver LAN-like application
performance over the WAN, accelerating applications such as ERP, CRM, email,
file transfer, data replication, and other applications, resulting in
predictable, fast performance for all WAN users.
Ameet Dhillon
The author is director of Product Management at F5 Networks
vadmail@cybermedia.co.in
Page(s) 1