Home > Articles > Information Technology

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close Window

William Stallings

Learn more…

A Look Back: Expert's Choice of Must-Have Books by William Stallings
Apr 13, 2009
Introduction to Network-Based Intrusion Detection Systems
Aug 24, 2007
Computer Security and Statistical Databases
Aug 17, 2007
Role-Based Access Control in Computer Security
Aug 10, 2007
Introduction to Secure Electronic Transaction (SET)
May 17, 2002
Introduction to Modem Technology
Apr 19, 2002
Differentiated Services: Using QoS to Manage Internet Traffic
Mar 29, 2002
Quality of Service (QoS) for Local Area Networks (LANs)
Feb 15, 2002
Introduction to Asynchronous Transfer Mode
Jan 25, 2002
Introduction to Hyper Text Transfer Protocol
Dec 21, 2001
TCP/IP Architecture and Operation
Nov 30, 2001
Wireless Networks: An Overview
Oct 26, 2001
IEEE 802.16 for Broadband Wireless Local Loop
Oct 26, 2001
Mobile IP
Oct 26, 2001
Cellular Networks and Mobile Telephony
Oct 26, 2001
Communications Satellites
Oct 26, 2001
Introduction to Bluetooth
Oct 26, 2001
Wireless Networks: To Probe Further
Oct 26, 2001
Gigabit and 10-Gigabit Ethernet
Oct 12, 2001
The EIA-568 Cabling Standards for Building Wiring
Aug 27, 2001
X.509 Public Key Certificates
Jul 13, 2001
A New Standard for MANs: The IEEE 802.17 Resilient Packet Ring
Jun 15, 2001
Standards Organizations
May 18, 2001
A View of the LANscape
Apr 27, 2001
Ethernet
Apr 27, 2001
Ethernet Case Study: Rock and Roll Hall of Fame and Museum
Apr 27, 2001
Local Area Networks: An Overview
Apr 27, 2001
Local Area Networks: To Probe Further
Apr 27, 2001
Masters of the LAN Universe: The IEEE 802 Committee
Apr 27, 2001
Wireless LANs
Apr 27, 2001

Sorry, this author hasn't posted any blogs.

DS Configuration and Operation

Figure 2 illustrates the type of configuration envisioned in the DS documents. A DS domain consists of a set of contiguous routers; that is, it's possible to get from any router in the domain to any other router in the domain by a path that does not include routers outside the domain. Within a domain, the interpretation of DS codepoints is uniform, so that consistent service is provided.

Figure 2 DS domains.

Routers in a DS domain are either boundary nodes or interior nodes. Typically, the interior nodes implement simple mechanisms for handling packets based on their DS codepoint values. This includes queuing discipline to give preferential treatment depending on codepoint value, and packet-dropping rules to dictate which packets should be dropped first in the event of buffer saturation. The DS specifications refer to the forwarding treatment provided at a router as per-hop behavior (PHB). This PHB must be available at all routers, and typically PHB is the only part of DS implemented in interior routers.

The boundary nodes include PHB mechanisms but also more sophisticated traffic-conditioning mechanisms required to provide the desired service. Thus, interior routers have minimal functionality and minimal overhead in providing the DS service, while most of the complexity is in the boundary nodes. The boundary node function can also be provided by a host system attached to the domain, on behalf of the applications at that host system.

The traffic-conditioning function consists of five elements:

  • Classifier: Separates submitted packets into different classes. This is the foundation of providing differentiated services. A classifier may separate traffic only on the basis of the DS codepoint (behavior aggregate classifier) or based on multiple fields within the packet header or even the packet payload (multifield classifier).

  • Meter: Measures submitted traffic for conformance to a profile. The meter determines whether a given packet stream class is within or exceeds the service level guaranteed for that class.

  • Marker: Polices traffic by re-marking packets with a different codepoint as needed. This may be done for packets that exceed the profile; for example, if a given throughput is guaranteed for a particular service class, any packets in that class that exceed the throughput in some defined time interval may be re-marked for best-effort handling. Also, re-marking may be required at the boundary between two DS domains. For example, if a given traffic class is to receive the highest supported priority, and this is a value of 3 in one domain and 7 in the next domain, packets with a priority 3 value traversing the first domain are re-marked as priority 7 when entering the second domain.

  • Shaper: Polices traffic by delaying packets as necessary so that the packet stream in a given class doesn't exceed the traffic rate specified in the profile for that class.

  • Dropper: Drops packets when the rate of packets of a given class exceeds that specified in the profile for that class.

Figure 3 illustrates the relationship between the elements of traffic conditioning. After a flow is classified, its resource consumption must be measured. The metering function measures the volume of packets over a particular time interval to determine a flow's compliance with the traffic agreement. If the host is bursty, a simple data rate or packet rate may not be sufficient to capture the desired traffic characteristics. A token bucket scheme is an example of a way to define a traffic profile to take into account both packet rate and burstiness.

Figure 3 DS traffic conditioner.

A token bucket traffic specification consists of two parameters: a token replenishment rate R and a bucket size B. The token rate R specifies the continually sustainable data rate; that is, over a relatively long period of time, the average data rate to be supported for this flow is R. The bucket size B specifies the amount by which the data rate can exceed R for short periods of time. The exact condition is as follows: During any time period T, the amount of data sent cannot exceed RT + B.

Figure 4 illustrates this scheme and explains the use of the term bucket. The bucket represents a counter that indicates the allowable number of octets of IP data that can be sent at any time. The bucket fills with octet tokens at the rate of R (that is, the counter is incremented R times per second), up to the bucket capacity (up to the maximum counter value). IP packets arrive and are queued for processing. An IP packet may be processed if there are sufficient octet tokens to match the IP data size. If so, the packet is processed and the bucket is drained of the corresponding number of tokens. If a packet arrives and insufficient tokens are available, the packet exceeds the limit for this flow.

Figure 4 Token bucket scheme.

Over the long run, the rate of IP data allowed by the token bucket is R. However, if there is an idle or relatively slow period, the bucket capacity builds up, so that at most an additional B octets above the stated rate can be accepted. Thus, B is a measure of the degree of burstiness of the data flow that is allowed.

If a traffic flow exceeds some profile, several approaches can be taken. Individual packets in excess of the profile may be re-marked for lower-quality handling and allowed to pass into the DS domain. A traffic shaper may absorb a burst of packets in a buffer and pace the packets over a longer period of time. A dropper may drop packets if the buffer used for pacing becomes saturated.

  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

Stephen MorrisGetting off the ground with your first iPhone app
By Stephen B. Morris on January 13, 20102 Comments

My first iPhone app – “The Day Was…” has now been through two updates. I want to talk a little about how to get started with this interesting technology. As with any software, the first step is having an idea, i.e., one or more requirements.

Out with the Old; In with the New
By John Traenkenschuh on January 3, 2010 No Comments

Time to think through last year's work and this year's goals

Facebook does an About Face--of sorts
By John Traenkenschuh on December 15, 2009 No Comments

Have you tuned your Facebook privacy settings yet?  How's that working out for you?

See All Related Blogs

Informit Network