Traffic Shaping

May 13, 2001, 11:00 PM —  ITworld — 

Some organizations, in addition using to the queuing techniques we
talked about last time, take a more active hand in improving quality of
service (QoS) by applying traffic shaping technology. Traffic shaping
aims to decrease the burstiness of UDP and TCP traffic, thereby
decreasing the load on the router and switch buffers as well as the
latency jitter caused by long queues. Traffic shaping identifies
traffic flows, then manages their maximum transmission rates based on
reconfigured parameters.

Traffic shaping's great advantage is that it can be implemented in a
device inserted anywhere in the dataflow. An enterprise can use traffic
shaping techniques even if it doesn't control the network core -- to
smooth the traffic flow to its ISP, for example, and to allocate
bandwidth among applications or departments.

As with queuing in routers, there are multiple techniques that can be
used for traffic shaping.

* Class-based queuing (CBQ) is a way of setting the maximum
committed data rates by type of application, called a class. CBQ
slices the available bandwidth into subchannels based on IP
header information. The data flows therefore grab bandwidth only
within their channel. Most implementations can temporarily
distribute excess overall capacity to the various subchannels.

CBQ is somewhat similar in operation to custom queuing's dynamic
bandwidth reservation, but is typically employed at network entry
points rather than in backbone routers. It is also analogous to
frame relay's committed information rate (CIR) mechanism, except
that it works with IP traffic at layer 3 rather than at layer 2
as frame relay does.

* Unlike CBQ, rate control works directly with TCP or UDP to
manipulate transmission rates instead of relying on the existing
TCP channel-capacity feedback mechanism. For TCP, rate control
manipulates TCP's acknowledgements as they pass through the rate
control device. It adjusts the size of the acknowledgement
window, inserts new acknowledgements, and respaces existing
acknowledgements.

Rate control cannot manipulate acknowledgement window sizes in
UDP, as UDP packets don't use acknowledgements or flow-control
windows. Instead, standard "leaky bucket" flow control can be
used to buffer uneven UDP traffic as it arrives and feed it out
at a steady rate.

* Frame relay traffic shaping operates at layer 2 and thus can
complement higher-layer TCP/IP traffic shaping or queuing
mechanisms. You can enforce rates on a per virtual circuit basis
by setting the CIR to a value lower than the link speed. When
there are multiple VCs on a frame relay access link, you can use
CIRs to allocate bandwidth among VCs.

How do you choose?
If your WAN transfers realtime video or audio along with other data,
then you have two options: ATM or a router-based network utilizing
weighted fair queuing with random early detection (RED).

If your network carries mostly transaction traffic, then use an IP-
based WAN with prioritization in the routers and traffic classification
based on implicit signaling -- that is, QoS techniques based upon
information already included in the packets.

You can add traffic shaping devices to the network to control bulk data
transfers if none of your other traffic requires special attention.

» posted by ITworld staff

ITworld

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Sidekick: The Good News & the Bad News
Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace