Skip to content Skip to navigation

Connexions

You are here: Home » Content » What is Traffic shaping

Navigation

Recently Viewed

This feature requires Javascript to be enabled.
 

What is Traffic shaping

Module by: Christopher Chikalimba-Gama. E-mail the author

Traffic Shaping

Traffic shaping is an attempt to control computer network traffic in order to optimize or guarantee performance, low latency, and/or bandwidth. Traffic shaping deals with concepts of classification, queue disciplines, enforcing policies, congestion management, Quality of service (QoS), and fairness. Traffic shaping provides a mechanism to control the volume of traffic being sent into a network (bandwidth throttling), and the rate at which the traffic is being sent (rate limiting). For this reason, traffic shaping schemes need to be implemented at the network edges to control the traffic entering the network. It also may be necessary to identify traffic flows at the ingress point (the point at which traffic enters the network) with a granularity that allows the traffic-shaping control mechanism to separate traffic into individual flows and shape them differently. Two pre-dominate methods for shaping traffic exist: a leaky bucket implementation and a token bucket implementation. Both these schemes have distinctly different properties and are used for distinctly different purposes. In computer networking, traffic shaping works by debursting traffic flows, i.e. smoothing the peaks and troughs of data transmission. A before-and-after example of how traffic shaping works is as follows.

Benefits

When lots of traffic flows past a packet bottleneck (logical or physical) the benefits of traffic shaping are:

  • Less jitter.
  • Reduced packet loss.
  • Lower latency.
Additionally, off-site network queues, such as often found on the provider side of dial-up connections, tend to fill up less quickly. Lower latency can be achieved if traffic shaping is combined with some sort of Quality of service classification system. On/off behavior, especially with hysteresis, promotes packet-bursts:
  • half-duplex — link collisions make delay variations (jitter), because the packets are delayed with each collision by the backoff-time.
  • Port queue buffer IEEE 802.3x "flow"-control.

Technologies commonly using traffic shaping

Traffic shaping is often used in combination with:

  • Differentiated services, Integrated services — including traffic classification and prioritization.
  • Weighted round robin (WRR).
  • Random early detection (RED), Weighted RED (WRED) and RED In/Out (RIO) — Lessens the possibility of port queue buffer tail drops and this lowers the likelihood of TCP global synchronization.
  • A number of port queue buffers.
  • VLAN IEEE 802.1p and IEEE 802.1D.

References

  1. Ferguson P., Huston G.,. (1998). Quality of Service: Delivering QoS on the Internet and in Corporate Networks. In Ferguson P. (Ed.), John Wiley, (Wikipedia 2006, last accessed 13 February 2006).

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks