Vous êtes sur la page 1sur 18

ATM vs.

TCP/IP
Before we start discussing details of ATM let us discuss/compare/contrast in general for Telephone and Internet networks. ATM is based on telephone network while TCP/IP is based on Internet. Comparison table for these two technologies is shown in the next page. page Based on comparison chart shown below the objective of ATM is to combine the flexibility of Internet with per-user QoS guarantees of the telephone network. Following are the main features of ATM:
Service is connection oriented oriented, with data transferred over a VC Fixed-size packet (53-Bytes packets called cells) Statistical multiplexed data over same channel or link The QoS attributes of ATM allow it to carry voice, data, and video, thus making ATM suitable for an integrated services. Figure below shows different types of data which are processed through ATM adaptation d i layer l
1

Comparison of Telephone Network with Internet Network


Telephone Network
Internet

Circuit-switching Connection-oriented Intelligent network Reliable Connection Dumb end-system end system Designed for voice QoS

Packet Switching Connectionless Dumb network Unreliable connection Intelligent end-system end system Designed for data No QoS
2

[Reference 2]

Fixed cell size advantages


Simpler buffer hardware Avoids memory fragmentation problem Variable length packets require contiguous memory blocks of different sizes Easier to synchronize. y Cell boundaries can be determined easily as explained below and shown in the attached figure
For a fixed size cell CRC can be used to determine cell boundaries as explained below. Note that CRC is used just for header error. Take 4 bytes out-of out of 48 Bytes and compute CRC and match with the fifth byte. If it matches we are synchronized if not take the next 48 bits (shift the window by a bit) and repeat the process. process A match occurs in at most N steps if the cell contains no errors. Once the cell boundary is identified, subsequent boundaries are found by counting bits. Conversely if CRC errors are detected in several Conversely, consecutive cells, this can be taken to indicate loss of 4 synchronization (loss of cell boundary location).

Fixed cell size advantages/Disadvantages


Simpler packet scheduling (advantages): 1. Easier to allocate different bandwidths and delays y to different VCs. Packet delay estimation shown below 2. Easier to implement priority 3. Fixed sized cells can be switched in parallel in synchronous fashion (Q Elaborate on advantages)

Processing overhead as messages are segmented into cells (Disadvantages)

The relatively short size of the ATM cells implies a large overhead that takes up approximately 5/53 or 9 9.4% 4% of the bandwidth of every link link. Doub the cell size will reduce the overhead to under 5%. (Disadvantage; TE= (Li)/(Li+Lo))

Segmentation mismatch: 1 1. The last cell in a fragmented message may not be fully used. used This effect will decrease as the message length increases

Why 48 Byte cells


Europe was opting for a cell size of 32- octets + 4-octet header while US and Japan opted for 64-Octets with 5-Octet header. This difference was split and a compromise of 48Octet was selected at the 1989 Group XVIII meeting at Geneva. Some technical justification follows:
For 64 64-kbits/sec kbits/sec voice loosing traffic for 1 or 2 msec is annoying (acts as a click noise). Loosing speech for 32 to 64 msec is quite disruptive. On the other hand, cell loss of a duration of 4-16 ms is not very noticeable i bl or disturbing di bi to the h listener li or viewer. i Therefore, Th f a cell size of anywhere around 32 to 64 octets would be acceptable. [ 32 Octets = 32 x 8 = 256 bits; 256/64,000 = 0.004 sec or 4 msec. Similarly, 48 Octets equals 6 ms and 64 equals 8 msec. Thus, 6 ms is not so bad]
6

A ( 7) consecutive incorrect HECs Synchronized

Hunt Error Correct HEC

Presynchronized B ( 6) consecutive correct HECs

Information stream SAR convergence

6 VPI

GFC VCI VCI HEC UNI header

VPI VCI PT CLP

AAL

48-byte cells ATM layer 8 53-byte ATM cells VPI Physical layer VCI Signals that encode bit stream 7 6

VPI VCI VCI VC PT HEC NNI header CLP

Delay Computation for 53-Octet cell


Total cell delay is shown in Figure below. Calculations are:
Packetization delay (For digital voice):
The time between sampling p g = 1/800 sec = 125 sec Thus, for 48 Bytes (48 samples) total delay = 48 x 125 = 6000 sec

- Transmission and propagation delay:


- For a typical 1000 Km the propagation delay = 1000 x 5 sec/Km = 5000 sec. The transmission delay 53 Bytes @ 155 Mbps = 3 sec. Thus, the transmission delay can be neglected when compared with propagation delay

- Q Queuing i Delay: D l Assuming that the average buffer load is 80%. Then the average number of cells in the buffer is given by:
2 2 2 x0.8 0.82 N 0.96 / 0.4 2.4cells 2(1 ) 2(1 0.8) With transmission speed of 155 Mbps this leads to a total delay of 6.6 sec . Thus, for 10 tendom switches the total delay 70 sec
8

Delay Computation
Processing delay:
Assuming that the processing of a single cell takes 10 cell times (depends upon the speed of the processor), the total processing delay @ 155 Mbps = 28 sec. With 10 switches the total processing delay = 280 sec

Depacketization delay:
A Assuming i that h depacketization d k i i delay d l equals l re-clocking l ki delay d l to remove jitter we need additional 70 sec

Thus the total delay y equals: q


PD+TD+FD+QD+DD = 11,420 sec =11.4 ms
Voice ATM switch TD PD FD QD Delay PD = Packetization delay TD = Transmission delay (including propagation) FD = Fixed processing delay QD = Queuing i delay d l DD = Depacketization delay Total delay Delay jitter TD ATM network ATM switch TD FD QD TD DD

Assumptions Voice transmission (64 Kbps) Transmission rates = 155 Mbps Length of path = 1,000 km Path goes through 5 nodes

Value in s 6,000 5,000 280 70 70 11,420 70

Connection oriented service (VPI, VCI)


ATM connections are identified through two labels called the virtual path identifier (VPI) and virtual channel identifier (VCI) shown in the header block ( (Earlier figure) g ) Cells are switched using the combined VPI/VCI value. VPI/PCI overhead values are available for use as the network administrator chooses. An example: Multiple VCI can be associated with one VPI. The approach can be to assign certain BW to VPI and then distribute among VCIs. Virtual Path Connections (VPCs): Cells can be switched based on the VPI value only
10

Advantages/Disadvantages of connection oriented service ATM switches can identify different connections by their VPI/VCI designation. As a result following advantages are achieved:
Admission control: Refusing certain connections if resources are not available Congestion control: Limiting the amount of traffic from a connection Resource allocation: Negotiating the BW and buffers Policing: Monitoring the burstiness and average data rate

Disadvantages g of connection-oriented service


Overhead in connection set-up. High penalty for few cells of transmission. Can be more efficient if datagram is used Link or a node failure terminates the virtual channel. channel Only few data packets will be lost in datagram mode

11

12

ATM service Class


Si Six categories i of f services i are specified ifi d b by ATM formum (Reference to ATM Traffic Mgt Spec Version 4 4.1) 1)
CBR: Constant Bit Rate Rt VBR: Real Rt-VBR: Real-Time Time Variable Bit Rate Nrt-VBR: Non-Real-Time Variable Bit Rate ABR: Available Bit Rate UBR: Unspecified Bit Rate GFR: Guaranteed Frame Rate to ensure minimum rate gurantees for UBR services

13

Traffic Descriptor
A traffic descriptor p is a set of p parameters that is negotiated g in the contract between the service provider and the user. Parameters of the traffic are defined by an algorithm called the generalized cell rate algorithm (GCRA). The contract also includes the quality-of-service (QoS) requirements i t of f the th user The network must ensure that the user's traffic conforms to the traffic descriptor specified in the contract Traffic Parameters Peak Cell Rate (PCR)= 1/minimum inter-cell distance Sustained Cell Rate (SCR): The maximum long-term average cell rate of the user Initial cell rate: The rate at which the source transmits after an idle period Cell Delay Variation Tolerance (CDVT): Allows the user to send above PCR with a certain tolerance Burst Tolerance (BT): Implies a bound on the maximum number of back-to-back back to back cells (at peak rate) that can be sent by the user before it is forced to send at the rate SCR Minimum cell rate: Is the reciprocal of the maximum time between two cells
14

QoS
The quality of service (QoS) parameters (attributes) are:
Cell loss ratio (CLR), Cell delay variation (CDV), peak-to-peak cell delay variation (peak-to-peak CDV) maximum cell transfer delay (Max CTD), mean cell transfer f delay (Mean ( CTD). C )

Service parameters are negotiated between end systems and the network when a connection of a particular service category is being set up. There also are "non-negotiated" g Q QoS attributes including g cell error ratio (CER). The service categories specify the traffic and QoS parameters according as discussed below and shown in the attached table
15

Real-time Services CBR (Constant Bit Rate)


Connections require static amount of bandwidth that h is i reserved d throughout h h the h connection i lifetime Generally strict QoS requirements Characterized by Peak Cell Rate (PCR),Cell delay y variation and p peak-to-peak p cell delay y variation (CDV, Pk-to-Pk CDV) E.g.: voice, video, circuit emulation Rt-VBR (Variable Bit Rate) - Transmission rate varies with time -"bursty. Characterized by PCR PCR, SCR SCR,CDVT, CDVT and BT - Strict QoS requirements achieved by specifying: CLR, , CDV and Pk-to-pk p CDV
16

Non-real-time services
Nrt-VBR (Non-real-time VBR) Bursty characteristics, e.g., non-real-time video Characteri ed in terms of PCR, Characterized PCR SCR,MCR, SCR MCR CDVT QoS: characterized by Low cell loss ratio, but loose delay requirements ABR (Available Bit Rate) Closed-loop flow control mechanism is used to control the source rate in response to changing ATM layer transfer characteristics Feedback is conveyed in Resource Management (RM) cells Source adapts its traffic in accordance with feedback: Expects to achieve low cell loss and fair share of available bandwidth Source specifies PCR and MCR Network guarantees maximum and minimum source transmission rate UBR (Unspecified Bit Rate) Loose delay requirements E E.g., fil file t transfer, f email il No traffic related service guarantees 17

18

Vous aimerez peut-être aussi