ATM quality of service and its use in IP networks

24th of April 1999

Inmaculada Carrión Rodrigo
Department of Computer Science and Engineering
Helsinki University of technology
inma@cc.hut.fi

Abstract

Asynchronous Transfer Mode is a connection-oriented, cell based transport service designed to carry a wide variety of applications including voice, video, and images as well as binary computer data, over a single, distributed, switched network.
One of the most important advantages of ATM is the provision of reserved QoS depending on the needs of the application.
At the moment non of the existing network layers can request from the network or deliver to a higher level a specific QoS, therefore the true value of ATM can not be exploited. Internet Protocol is the only protocol for which work is being done to enhance it to run directly across ATM networks.
This paper presents the QoS characteristics of both protocols, their differences and the necessary steps towards the successful mapping of these QoS characteristics .
 


Contents of the paper

1 Introduction
2 Introduction to ATM
          2.1 ATM Layers
          2.2 ATM Resource Reservation, Switching and Routing
          2.3 ATM QoS parameters
          2.4 ATM Traffic parameters
          2.5 ATM Services categories
          2.6 QoS Support: Traffic contract and Policing
3 IP QoS vs ATM QoS
          3.1 IP as a best-effort datagram transmission
          3.2 IP Service classes
          3.3 Differences between both QoS characterizations
4. Providing QoS in IP over ATM
          4.1 Real time services in an IP-over-ATM network
5. Conclusion

Glossary
References

Further Information
 

1 Introduction

Nowadays current network layer protocols expect and deliver only a "best effort" service, no specific QoS is guaranteed. In the future, however, this situation is likely to change. As ATM networks proliferate, it is likely that demand will grow to utilize their QoS benefits, since this is one of the ATM's major selling points [3].
Independently of ATM, as new networking infrastructures are developing which are capable of supporting new classes of multimedia applications that combine voice, video, image, and data traffic. These applications will require QoS guarantees from the network. One way in which such applications could be built is by running the applications or transport protocols directly across ATM.

The ATM Forum is developing Asynchronous Transfer Mode networking which provides real-time networking support. Also the Internet Engineering Task Force (IETF) is currently developing an integrated service model which is designed to support real-time services on the Internet.
The use of ATM in the Internet as a link layer protocol is already occurring, and both the IETF and the ATM Forum are producing specifications for IP over ATM [6].

2 Introduction to ATM

ATM support for guaranteed QoS connections is one of its most important advantages.

This support for guaranteed QoS connections is achieved when the ATM switches communicate their QoS needs and traffic characteristics to the network, and the network communicates admission control decisions back to them. Once the desired resources have been reserved they are kept for the lifetime of the connection. This mechanism (Resource Reservation) is explained in detail in chapters 2.2 and 2.6.

ATM Interfaces

The ATM network consists of ATM switches interconnected by point-to-point links or interfaces, these interfaces can be of two types:

  1. User-Network Interface- UNI
  2. Network-Node Interface- NNI


Bro_WP_ATM_fig1

Figure 1: ATM Network Interfaces [3]
 

2.1 ATM Layers

There are basically three layers in the ATM model: the ATM Adaptation Layer (AAL), the ATM Layer and the Physical layer. The ATM layers are specified in ITU-T Rec.I.321 and correspond to the OSI layers 1-2 [1].

ATM Adaptation Layers

The AAL layers provide an organized method of supporting multiple services over a common network infrastructure [2].

These layers translate the information received from the user (voice, video, frame relay, X.25, ...) and the ATM cell provided by the ATM layer.
They assure the appropriate service characteristics and divide all types of data into the 48 octet payload that will make up the ATM cell.
The data from the different sources is handled in unique way depending on the source, but when the data is transmitted across the network it is treated as the same kind of data. Only inside the AAL the information about the different interfaces is used, later in the ATM layer this information is ignored.

There are five types of AALs (AAL 1-5) depending on the type of service that the AAL is dealing with. See table 1 in chapter 2.5 for a correspondence between the AAL layers and the types of services.

ATM Layer

This layer adds the cell header to the 48 octet payload received from the AAL.

Its main functions are:

ATM Cell Header: it is 5 octets long and contains enough information to route the cell through the network. The main components of the ATM cell header are: The CLP has an important role in the provision of QoS. By setting this bit it is possible to allocate preferential use of the bandwidth in the network. If some cells arrive to the network interface with traffic parameters which are not in concordance with the traffic contract, these cells will most probably be allocated the CLP=1. In later state of the connection if the network needs resources, those cells with CLP=1 (low priority) will be discarded in favor of cells with the CLP=0 (higher priority).

2.2 ATM Resource Reservation, Switching and Routing

Virtual Channels (VC) and Virtual Paths (VP)

Cells belonging to a particular service or destination are assigned the same "Virtual Channel" in the AAL layer, and many virtual channels share a single link and placed together into "Virtual Paths" in the AAL layer.

The virtual paths are used for QoS management in the following way:

ATM Switches

There are two types of ATM switches: VC switch (it switches VC's from one VP to another) and VP switch (it switches VP's and does not take into account the VC's inside).

The functionality of an ATM switch related to QoS support can be resumed as follows:

1. Connection set-up

Before sending any data a connection must be set-up along the network (from the source to the destination). The switch wishing to set up the connection sends signaling packets with VPI=0 and VCI=5.  These packets are routed from switch to switch until they arrive to their destination. Once the connection has been accepted, at the destination system, the user data will use the same path.

Bro_WP_ATM_fig4
Figure 2: Connection Setup through ATM Signaling (SVC) [3]
2. Connection Admission Control

When the switch receives a connection request from another switch, it performs the Connection Admission Control function (CAC). The switch checks the traffic parameters and QoS requirements for the connection, and determines whether setting up the connection violates the QoS guarantees of already established connections.  If not, then it accepts the connection.

The VC routing protocol must ensure that a connection request is routed along a path which leads to the destination and also has probability to be accepted in the forthcoming ATM switches.

     
     

    Bro_WP_ATM_fig13

    Figure 3: Connection Admission Control [3]
3. Retransmission of cells

Once the connection is established, the switch receives the cells with their VCI and VPI. It checks these values against a table, and finds out the new values of the VCI and VPI, and towards which output-port it should retransmit the cell.

Bro_WP_ATM_fig2
      Figure 4: ATM Switch Operations [3]

2.3   ATM QoS parameters

Applications must specify the QoS they require from the network and the type of traffic that they wish to submit.
In ATM, the Private Network-to-Network Interface (PNNI) protocol communicates QoS information along with routing information, and the network nodes can utilize this information to establish paths for the required QoS.

The QoS Parameters for ATM are divided in additive (their values are accumulated through the network) and  non-aditive (it is a configured link and node attribute).

Additive parameters:

Non-aditive parameter: Note: In ATM the QoS is closely related with the usage of the bandwidth. The more bandwidth usage the more cell delay, cell loss and delay variation will happen; this means that the cells of  connections which share those resources will suffer a decrease in QoS.

2.4 ATM traffic parameters

The ATM network allocates resources for the connection depending on the expected behavior of the traffic, this way the availability of bandwidth and  maximum delays can be guaranteed .
The traffic parameters for ATM are: Note: not all traffic and QoS parameters are valid for all services classes.

The traffic characterization provided by an application or user is used by the network to make decisions about how to provide the desired quality of service to this application. It is also used to assess the effect the new flow will have on the service provided to existing flows.

2.5 ATM Service categories

The ATM Service categories are the classification (by the ITU and ATM forum) of the different kinds of connections available depending on the traffic and QoS requirements for the connection.
At connection set-up the user must request a specific service class from the network for that connection.
Different service classes may receive different priorities within the network. This priority is indicated with the Cell Loss Priority (CLP), if the CLP bit is set to 1, indicates that that cell may be dropped in preference of other cell with the bit set 0.

Table 1: Service Category Attributes and Guarantees
 
Service Category Attributes and Guarantees
Service Category * Traffic Description Correspondent
AAL layer
Min Loss (CLR) Delay/Variance Bandwidth Typical Use
Constant Bit Rate (CBR) 
[Deterministic Bit Rate (DBR)] 
PCR 1 x x x Real time, QoS guarantees.
Video-conferencing, telephony, distance learning, pay per view TV, audio library.
Real-Time Variable Bit Rate (rt-VBR) PCR, SCR, MBS 2 x x x Statistical mux, real time.
Voice with silent suppression (cells are transmitted only when the person is speaking).
Non-Real-Time Variable Bit Rate (nrt-VBR) 
[Statistical Bit Rate (SBR)]
PCR, SCR, MBS 3/4 x no x Statistical mux.
Data transfer such as Banking transactions.
Available Bit Rate (ABR) CR, MCR+ behavior parameters  3/4 x no x Resource exploitation, feedback control.
LAN interconnection, critical data transfer such as banking applications.
Unspecified Bit Rate (UBR) (PCR) 5 no no no Best effort, no guarantees.
Text and Image transfer, messaging. Connection-less upper layers protocols data such as IP.

* ATM forum "Service category" [ITU-T I.371 "ATM Transfer Capability"]

CBR: for constant (maximum) bandwidth services. These kind of connections need a fixed amount of bandwidth available for the whole duration of the connection. They might transmit at Peak Cell Rate (PCR) for sometime and later remain silent. Typically these connections receive high priority to minimize the amount of latency and jitter experienced by the cells in these connections [3].
rt-VBR: for time sensitive applications, its transmission rate varies with the time and delay is not tolerated.

nrt-VBR: for applications with bursty traffic and tolerating with delay and delay variations.

ABR: for applications capable of varying its emission rate. Those applications require a low cell loss ratio, but do not have tight requirements for throughput and delay. The ABR benefits from the "elastic bandwidth allocation", an ATM property that allows the sources to increase/reduce the information rate depending on the network availability.

UBR: applications which tolerate delays and which do not have special QoS requirements. These applications are expected to transmit non continuous bursts of cells. This service class is the closest to the best effort service of traditional IP.

2.6 QoS support: Traffic contract and Policing

When setting up a connection, the requesting node and the network agree a traffic contract which specifies the following:
  1. The characteristics of the traffic that the user will send.
  2. The QoS that the network should provide
The network will provide the type of guarantee appropriate to the service class as long as the user keeps the traffic between the terms agreed in the traffic profile.
The network has a mechanism to determine if the received cell stream is compliant with the contract. This is in known as Policing.

The policing function estimates the parameters of the incoming traffic and takes action if the measured traffic exceeds the agreed parameters.
The ATM switch performs this checking with an algorithm, the Generic Cell Rate Algorithm (GCRA) or "continuous leaky bucket".

The Generic Cell Rate Algorithm

The GCRA provides a rule to measure whether cell streams accomplish with their bandwidth parameters as specified in the traffic contract.
The Increment parameter, I, is the fill rate of the bucket. It is related to the distance in time between two consecutive cells of the same virtual connection.
The Limit parameter, L, represents the maximum value of the bucket fill level.

As a stream of cells arrive at the network interface, the contents of the bucket is increased by I for each cell that arrives. If the cells arrive at a faster rate than the agreed the bucket becomes full. The capacity of the bucket is L+I and a cell that causes the bucket to overflow is marked as non-conforming [2].
Such cells will be either discarded or the Cell Loss Priority bit will be set to 1.

3 IP QoS vs ATM QoS

3.1 IP as a best-effort datagram transmission

The traditional network service on the Internet is best-effort datagram transmission. In this service, packets from a source are sent to a destination, with no guarantee of delivery.
For those applications that require a guarantee of delivery, the TCP protocol will trade packet delay for correct reception by re-transmitting those packets that fail to reach the destination [6].

3.2 IP service classes

IP has an optional support for the Type of Service (TOS) indications within the IP header, which could theoretically be used to provide a rudimentary form of QOS support. In practice, however, almost no end system or intermediate system IP implementations have any support for TOS since they cannot be mapped into any common underlying networking technology.

Nowadays the method of QoS specification for the Internet is to specify a `service class' and some set of parameters, depending on the service class.
The currently proposed service classes are:

However IP classes do not correspond with the ATM classes. In some cases, ATM classes require parameters which are not provided at the IP level, such as loss rate. Therefore more IP service classes are expected to appear in the future.

3.3 Differences between both QoS characterizations

Traffic Characterization

In the Internet community, it is assumed that traffic will in general be bursty and that bursty traffic can be characterized by a `token bucket'.

ATM in turn, does not expect all traffic to be bursty. Furthermore, ATM in some classes also requires specification of peak cell rate, whereas peak rates are not currently included in the IP traffic characterizations.
One of the functions that must be performed in order to carry IP traffic over an ATM network is therefore a mapping from the characterization of the traffic as supplied to IP to a characterization that is acceptable for ATM. [6]

QoS characterization

Since the goal is to carry IP efficiently over ATM networks, it is necessary to establish mechanisms by which QoS specifications for IP traffic can be translated into QoS specifications that are meaningful for an ATM network. [6]

An ATM virtual circuit is established based upon a user's traffic characteristics and network performance objectives. These characteristics which include delay and throughput requirements can only be defined by the application level (at the transport level or above) as opposed to the internetworking level.
For instance, a file transfer application transferring a 100 MB file has very different link level performance requirements than a network time application.
The former requires a high throughput and low error rate connection whereas the latter could perhaps be adequately serviced utilizing a best-effort service.
Current IP does not provide much support for a quality of service specification and provides no support for the specification of link level performance needs by an application directly. This is due to the fact that only a single type of link level performance is available with link technologies like Ethernet.  As a result, all applications over IP today receive the same level of link service [9].

Routing

ATM computes a path at connection set-up and leaves the path in place until the connection is terminated or there is a failure in the path.
An ATM cell only carries information identifying the connection and no information about the actual source and destination of the cell.
An ATM switch checks a table of the established connections (VP/VC) that map to the next hop device, without checking the final destination only the VP/VC values from the header of the cell.

However, routing decisions in IP are based on the destination address contained in every packet.
The IP router checks a table that contains the routes to all possible destinations and the routing decision is made based on the final destination of the packet.
If an IP path has been selected for a given QoS, changes in the route may mean a change in the QoS of the path.

4 Providing QoS in IP over ATM

IP and ATM provide QoS in different ways, therefore to make possible the use of IP over ATM some mapping must be done between these protocols.
ATM and IP service models must be compatible, so that when  IP commits to provide a certain QoS to an application it must be able to request an appropriate QoS from the ATM network.

 4.1 Real time services in an IP-over-ATM network

There are several parameters required to map ATM services from a higher level service like IP. These ATM parameters are the following: addressing parameters, connection QOS-related parameters, connection management information, and ATM virtual circuit identifier.
The first three parameters provide support for ATM signaling. The last parameter, a connection identifier that maps IP packets to ATM virtual circuits, provides support for an ATM virtual circuit per application when the end-to-end connection travels across an ATM subnetwork(s) [9].

Real time applications can operate to some extent using best-effort delivery, but trading packet delay for correct reception is not always acceptable. Operating in the traditional mode for these applications results in reduced quality of the received information and, inefficient use of bandwidth.

Nowadays the IETF is developing a real-time service environment in which multiple classes of service are offered. This new environment will extend the existing best-effort service model to meet the needs of multimedia applications with real-time constraints [6] or Integrated Services Internet.
The Integrated Services Internet enhancements include traffic management mechanisms that closely match the traffic management mechanisms of ATM. For instance, protocols such as the Resource Reservation Protocol (RSVP) are being defined to allow for resource reservation across an IP network, just like ATM signaling allows this within ATM networks.

IP packets need not explicitly contain information parameters describing an application's traffic characteristics and network performance objectives (e.g., delay = low, throughput = 10 Mb/s). This information could potentially be mapped from resource reservation protocols that operate at the IP level [9].

Resource Reservation techniques

ATM uses a signaling protocol (Q.2931) both to establish virtual connections and to allocate resources to those connections [6].
It is sender based and relies on hard state in switches to maintain connections, the QoS associated with a connection at setup time cannot be changed subsequently (i.e., it is static); in a unicast connection, resources are allocated in both directions along the path, while in the multicast case, they are
allocated only from the sender to the receivers. In this case, all senders receive the same QoS.

Two protocols have been proposed for Resource Reservation in IP [6]:


RSVP is a control protocol, that will be used by applications within IP end systems (receiver based) to indicate to nodes transmitting to them the nature (such as bandwidth, jitter, maximum burstiness, and so on) of the packet streams that they wish to receive. Intermediate systems, will  interpret RSVP control packets in order to perform admission control (analogous to ATM CAC) and allocate the resources required to support the requested traffic flows.
RSVP nodes will maintain "soft state" about such traffic flows, and will perform packet level traffic shaping, scheduling, etc., like when ATM switches perform traffic Policing to provide the agreed QoS.
RSVP can hence be thought of as providing very much the same traffic contract specification functions with respect to packet level traffic flows that ATM UNI and NNI signaling play with respect to cell flows .[3]
 

Bro_WP_ATM_fig27

Figure 4: Mapping of the Integrated Services Internet into ATM [3]

RSVP routes traffic flows along source rooted point-to-multipoint paths, a flow which can be seen a stream of IP packets can be identified with VP and VC in ATM. Also the multicast protocols as for example Protocol Independent Multicast (PIM) and its routing capabilities could be identified with VC routing protocols in ATM.

Finally, only mention that the IP Version 6 protocol, IPv6,  will incorporate full support for integrated services through the use of such mechanisms and the definition of protocols like RSVP.
 

5. Conclusion

Along the paper the QoS capabities and benefits have been presented. ATM offers the possibility of reserving specific QoS depending on the needs of the applications.

This is particularly useful if we take into account the newcoming multimedia applications which combine voice, video, image, and data traffic.
Nowadays the network layer protocols do not provided the appropiate QoS to the above mentioned applications, which will surely require it.

Therefore this paper presents as a solution, to provide this QoS, to run the applications or transport protocols directly across ATM.
Internet Protocol is the only protocol for which work is being done to enhance it to run directly across ATM networks, the mapping of both protocols´ QoS will require some work but it is possible and it would be benefitial.
 

Glossary of abbreviations

 
AAL ATM Adaptation Layer
ABR Available Bit Rate
CBR Constant Bit Rate
CDV  Cell Delay Variation
CLP Cell Loss Priority
DBR Deterministic Bit Rate
GFC Generic Flow Control
HEC Header Error Control
ISDN Integrated Service Digital Network
LAN  Local Area Network
MCR Minimum Cell Rate
NNI Network-Node Interface
PCR Peak Cell Rate
PVC Permanent Virtual Circuit
QoS Quality of Service
SBR Statistical Bit Rate
SCR Sustained Cell Rate
SDH Synchronous Digital Hierarchy
SEAL Simple and Efficient Adaptation Layer (AAL5)
SVC Switched Virtual Circuit
UBR Unspecified Bit Rate
UNI User-Network Interface
VBR Variable Bit Rate
VC Virtual Circuit, Virtual Channel
VCI Virtual Circuit Identifier
VP Virtual Path 
VPI Virtual Path Identifier

References

 
[1]  Lynross Training & Consultancy, Internal training material: ATM Principles, 1998, course number: T208

[2] 

Lynross Training & Consultancy, Internal training material: ATM Advanced, 1998, course number: T223.
[3]
Alles Anthony, Cisco systems, Inc. ATM Interworking, May 1995.
http://www.cisco.com/warp/public/614/12.html
[4]
Livio Lambarelli, CSELT;  ATM Service Categories: The Benefits to the User, 04.02.97.
http://www.atmforum.com/atmforum/library/service_categories.html
[5]
Cisco Systems Inc., Building Consistent QoS into the network, 24.02.1998
http://www.cisco.com/warp/public/674/6.htm
[6] 
RFC1821: Integration of Real-time Services in an IP-ATM Network Architecture
ftp://ftp.funet.fi/rfc/rfc1821.txt
[7] 
IP over ATM working group

http://www.com21.com/pages/ietf.html
[8]
RFC1755: ATM Signaling Support for IP over ATM
ftp://ftp.funet.fi/rfc/rfc1755.txt
[9]
RFC1680: IPng Support for ATM Services
ftp://ftp.funet.fi/rfc/rfc1680.txt

Further Information

[1]
ATM Forum

http://www.atmforum.com/
[2]
Neil McCartney, Telecom Markets, Financial Times. Telefónica angers cable groups with plans for fast internet access service. February 25 1999, Issue number 356
[3]
ATM tutorial

http://www.npac.syr.edu:80/users/mahesh/homepage/atm_tutorial/
[4]
Mika Uusitalo, Sonera Solutions Ltd. IP Communications Network:  White paper. 09.12.1998.
http://www.sonera.fi/english/rd/ip/wp.htm
[5]
RFC1883: Internet Protocol, Version 6 (IPv6) Specification
ftp://ftp.funet.fi/rfc/rfc1883.txt
[6]
Link list for the course Tik-110.300, at Helsinki University of Technology
http://www.tcm.hut.fi/Opinnot/Tik-110.300/Links/atm.html
[7]
Neil McCartney, Telecom Markets, Financial Times. Sonera on course to launch Europe's first "unified" IP telephony service. March 25 1999, Issue number 358