Packet Switching - Asynchronous Transfer Mode. Introduction. Areas for Discussion. 3.3 Cell Switching (ATM) ATM - Introduction

Similar documents
Cell Switching (ATM) Commonly transmitted over SONET other physical layers possible. Variable vs Fixed-Length Packets

Packet Switching. Hongwei Zhang Nature seems to reach her ends by long circuitous routes.

Cell Format. Housekeeping. Segmentation and Reassembly AAL 3/4

HWP2 Application level query routing HWP1 Each peer knows about every other beacon B1 B3

Internetworking Part 1

Administrivia. Homework on class webpage If you are having problems following me in class (or doing the homework problems), please buy the textbook

ATM Technology in Detail. Objectives. Presentation Outline

Asynchronous. nous Transfer Mode. Networks: ATM 1

Lesson 3 Network technologies - Controlling

! Cell streams relating to different media types are multiplexed together on a statistical basis for transmission and switching.

1997, Scott F. Midkiff 1

Packet Switching Techniques

Chapter 3 Packet Switching

Switching and Forwarding

Lecture 22 Overview. Last Lecture. This Lecture. Next Lecture. Internet Applications. ADSL, ATM Source: chapter 14

Module 10 Frame Relay and ATM

Asynchronous Transfer Mode (ATM) ATM concepts

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

ATM. Asynchronous Transfer Mode. these slides are based on USP ATM slides from Tereza Carvalho. ATM Networks Outline

Asynchronous Transfer Mode

Research paper Measured Capacity of an Ethernet: Myths and Reality

Module 10 Frame Relay and ATM

CompSci 356: Computer Network Architectures. Lecture 7: Switching technologies Chapter 3.1. Xiaowei Yang

A T M. Cell Switched Technology. not SMDS. Defacto Standard Multimedia capable Use with SONET or SDH. Fixed Length - 53 bytes. DigiPoints Volume 1

ATM Introduction. The Grand Unification 2005/03/11. (C) Herbert Haas

ATM. Asynchronous Transfer Mode. (and some SDH) (Synchronous Digital Hierarchy)

Master Course Computer Networks IN2097

DigiPoints Volume 1. Leader Guide. Module 12 Asynchronous Transfer Mode. Summary. Outcomes. Objectives. Prerequisites

Protocol Architecture (diag) Computer Networks. ATM Connection Relationships. ATM Logical Connections

Packet Switching. Guevara Noubir Fundamentals of Computer Networks. Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann

William Stallings Data and Computer Communications 7 th Edition. Chapter 11 Asynchronous Transfer Mode

CPEG 514. Lecture 11 Asynchronous Transfer Mode (ATM) CPEG 514

BROADBAND AND HIGH SPEED NETWORKS

ATM Logical Connections: VCC. ATM Logical Connections: VPC

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion

Ethernet Switches (more)

Chapter 10. Circuits Switching and Packet Switching 10-1

Bandwidth-on-Demand up to very high speeds. Variety of physical layers using optical fibre, copper, wireless. 3BA33 D.Lewis

Switching and Forwarding - continued

Switching and Forwarding - continued

Introduction. ATM Technology. What is ATM? Agenda

Appendix 5 - ATM Technology in Detail

This Lecture. BUS Computer Facilities Network Management X.25. X.25 Packet Switch. Wide Area Network (WAN) Technologies. X.

Direct Link Networks. Lecture - Encoding & Framing 1. Areas for Discussion. Problems

ATM Asynchronous Transfer Mode revisited

Explore some common protocols. Telephone network protocols. Traditional digital transmission. Digital Communications II

ATM networks. C. Pham Université de Pau et des Pays de l Adour LIUPPA Laboratory

Switched Multimegabit Data Service (SMDS)

Figure 10.1 Cell switching principles: (a) routing schematic; (b) VP routing; (c) VC routing.

Basic concept of ATM communication

Switched Multimegabit Data Service

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

Chapter 1 Introduction

Module 3. Wide Area Networking (WAN)

Outline. Circuit Switching. Circuit Switching : Introduction to Telecommunication Networks Lectures 13: Virtual Things

Packet Switching. Packet Switching (CSE 573S) Packet Switching Methods. Packet Switching. Ken Wong Washington University

Lecture 2: Links and Signaling

WAN Technologies (to interconnect IP routers) Mario Baldi

ET4254 Communications and Networking 1

Internet Protocols (chapter 18)

Packet Switching. Packet Switching What Issues Will We Focus On? COMP Jasleen Kaur. September 2, Networked and Distributed Systems

Internet II. CS10 : Beauty and Joy of Computing. cs10.berkeley.edu. !!Senior Lecturer SOE Dan Garcia!!! Garcia UCB!

ATM Networks. Raj Jain

CS 455: INTRODUCTION TO DISTRIBUTED SYSTEMS [NETWORKING] Frequently asked questions from the previous class surveys

Network management and QoS provisioning - revise. When someone have to share the same resources is possible to consider two particular problems:

Introduction to Internetworking

ATM in TCP/IP environment: Adaptations and Effectiveness

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

different problems from other networks ITU-T specified restricted initial set Limited number of overhead bits ATM forum Traffic Management

BROADBAND AND HIGH SPEED NETWORKS

CS455: Introduction to Distributed Systems [Spring 2018] Dept. Of Computer Science, Colorado State University

BROADBAND AND HIGH SPEED NETWORKS

Lecture 7. Reminder: Homework 2, Programming Project 1 due today. Homework 3, Programming Project 2 out, due Thursday next week. Questions?

Published IEEE Network, September This original version reconstructed December 2005.

Lecture 4 Wide Area Networks - Congestion in Data Networks

Position of IP and other network-layer protocols in TCP/IP protocol suite

Common Protocols. The grand finale. Telephone network protocols. Traditional digital transmission

WAN technology which are to be discussed:

COMP9332 Network Routing & Switching

GFP Considerations for RPR

Telematics Chapter 7: MPLS

CCNA Exploration1 Chapter 7: OSI Data Link Layer

Lecture (08) Fundamentals of WANs (II)

ST.MOTHER THERESA ENGINEERING COLLEGE

STEVEN R. BAGLEY PACKETS

Asynchronous Transfer Mode (ATM) Broadband ISDN (B-ISDN)

Digital Communication Networks

Distributed Queue Dual Bus

A closer look at network structure:

Unit_2 The Telephone Network. Shikha Sharma RCET,Bhilai 1

CMSC 417 Project Implementation of ATM Network Layer and Reliable ATM Adaptation Layer

CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

What Is Congestion? Effects of Congestion. Interaction of Queues. Chapter 12 Congestion in Data Networks. Effect of Congestion Control

ASYNCHRONOUS TRANSFER MODE

Fragmenting and Interleaving Real-Time and Nonreal-Time Packets

Wireless Networks. Communication Networks

Adaptation Problems and Solutions. MARCOM 97, Dipl.-Ing. Kai-Oliver Detken, BIBA Bremen, Germany, October the 16th, 1997

Communication Networks

ATM Switches. Switching Technology S ATM switches

Transcription:

Areas for Discussion Packet Switching - Asynchronous Transfer Mode 3.3 Cell Switching (ATM) Introduction Cells Joseph Spring School of Computer Science BSc - Computer Network Protocols & Arch s Based on Chapter 3, Peterson & Davie, Computer Networks: A Systems Approach, 3 rd Ed Segmentation and Reassembly Virtual Paths Physical Layers for ATM Lecture - ATM 1 Lecture - ATM 2 ATM - Introduction One particular example of a switching technology Introduction A telephone industry standard ATM Characteristics Provides a connection-orientated, packet switching service Hence uses Virtual Circuits (See Section 3.1.2) Lecture - ATM 3 Lecture - ATM 4 ATM - Introduction Connection Request Message In ATM the connection set up phase is called signalling main signalling protocol Q.2931 Q.2931 responsible for Discovering suitable route Allocating resources at switches along the circuit Objective here is to ensure a specific QoS - Quality of Service; one of main ATM strengths Lecture - ATM 5 ATM - Introduction Addresses With any virtual circuit the address of the destination must be put into the source message In ATM the address can be in one of several formats Most common formats are E.164 and NSAP (Network Service Access Points) Details unimportant here, note addresses different to the MAC addresses used in traditional LAN s Lecture - ATM 6

ATM Introduction Packets and Cells In ATM the packets are of fixed size An unusual feature (See p. 202 / next slide) 53 bytes = 5 bytes of header + 48 bytes of payload Compromise between Europe (32 bytes) and US (64 bytes) To distinguish between these fixed length ATM packets and the more general variable length packets we refer to the ATM packets as Cells ATM the canonical example of cell switching Lecture - ATM 7 ATM Introduction Packets and Cells Page 202 As is so often the case with standards the end result was a compromise that pleased almost no one: 48 bytes was chosen as the ATM cell payload. Probably the greatest tragedy of this choice is that it is not a power of 2, which means that it is quite a mismatch to most things that computers handle like pages and cache lines. Lecture - ATM 8 Advantages of Fixed Length Cells Variable Length Packets Some nice characteristics: Cells I Byte to send, (e.g. to acknowledge receipt of packet) then put it into a minimum sized packet No padding required! Lecture - ATM 9 Lecture - ATM 10 Advantages of Variable Length Packets Variable Length Packets Large file to send, then break up into maximum sized packets as required Ratio of header to data bytes reduces improving on bandwidth efficiency Minimises total number of packets sent, hence minimising the total processing incurred in per - packet operations Particularly important in increasing throughput Many network devices limited by number of packets / sec rather than bits / sec that they can process Lecture - ATM 11 Fixed Length Cells Why Fixed Length Cells? Mainly to facilitate implementation of hardware switches ATM created mid late 80 s 10 Mbps Ethernet was cutting edge in speed To increase speed people looked to H/W In telephone world think big for switches telephone switches serve k x 10 5 customers Fixed length packets very useful for fast, scalable switches: Lecture - ATM 12

Advantages of Fixed Length Cells Fixed length packets are very useful for fast, scalable switches: 1. Easier to build H/W to do simple jobs job of processing packets simpler if you know how long each packet will be 2. If packets same length, can have lots of switching elements doing the same thing in parallel improves scalability! Each taking the same time to do its job Lecture - ATM 13 Advantages of Fixed Length Cells 3. Reduces latency of high-priority packets Impractical to preempt a packet a switch may have to wait until it has transmitted the largest allowed packet before it is able to transmit the next one Fixed length cells mean that queue output is tied up for a fixed time taken to transmit a cell (less than for a general packet) Potential for more control over behaviour of (not length of ) queues though do tend to be shorter Lecture - ATM 14 Advantages of Fixed Length Cells 4. Fixed length cells may require less buffering in a switch Consider a maximum length packet Switch has to buffer the entire packet before it can forward it Now split the packet into say 10 cells Earlier cells can be forwarded by the switch long before the last switch has been received It follows that queues of cells tend to be shorter than queues of packets implying less delay for all traffic Lecture - ATM 15 Advantages of Fixed Length Cells 5. Suitable for Digital Voice Transmission ATM is telephone industry standard If it takes too long to fill each packet with digitised voice samples or too long to store and forward long packets then customers will complain regarding the perceived excessive latency Lecture - ATM 16 ATM Cell Format UNI User-Network Interface format: Host to switch NNI Network-Network Interface format: switch to switch Virtually no difference between the two formats 4 8 16 3 1 8 384 (48 bytes) GFC VPI VCI Type CLP HEC (CRC-8) Payload Fig 3.16: ATM Cell Format at the UNI Lecture - ATM 17 ATM Cell Format - Fields GFC:Generic Flow Control Not as yet fully defined Used to arbitrate for link locally Can be overwritten by network VPI: Virtual Path Identifier With VCI field, performs the role of Virtual Circuit Identifier VCI: Virtual Circuit Identifier Lecture - ATM 18

ATM Cell Format - Fields Type: Management functions versus user data 3-bit so eight possible values Four values, when the first bit is set management functions Remaining four values, when the first bit is clear user data Second bit indicates EFCI explicit forward congestion indication: set by congested switch to inform an end node that it is congested Third bit used in conjunction with ATM Adaptation Layer 5 to delineate frames Lecture - ATM 19 ATM Cell Format - Fields CLC:Cell Loss Priority User or network may set this element A one bit flag indicating whether the cell should be dropped preferentially in the case of overload E.g. Video coding application could set this bit for cells that would not significantly degrade the quality of the video A network element might set this bit for cells that have been transmitted by a user exceeding their agreed limit Lecture - ATM 20 ATM Cell Format - Fields HEC: Header Error Check An 8-bit CRC Uses the CRC-8 polynomial: C(x) = x 8 + x 2 + x + 1 Provides error detection and single bit error correction on the header only Protecting the cell header is important since an error in the VCI will lead to misdeliveries Payload: 48 bytes = 384 bits Lecture - ATM 21 Segmentation and Reassembly Lecture - ATM 22 Segmentation and Reassembly Assumption A low level protocol will just accept packets handed down to it by a high level packet, attach its own header and pass the packet on down With ATM this is not possible Packets handed down are often larger than 48 bytes and hence do not fit into an ATM payload Lecture - ATM 23 Segmentation and Reassembly How does ATM handle packets over 48 bytes? General Mechanism Fragment high-level message into several low-level fixed length packets at the source Transmit the individual low-level packets over the network Reassemble the fragments back together at the destination Lecture - ATM 24

Segmentation and Reassembly This method is usually called Fragmentation and Reassembly In ATM it is often called Segmentation and Reassembly (SAR) ATM Adaptation Layer To handle segmentation and reassembly an additional protocol layer, called the ATM Adaptation Layer (AAL) is added between the ATM layer and the variable length packet protocols that might use ATM, such as IP Lecture - ATM 25 Segmentation and Reassembly in ATM AAL AAL ATM ATM Fig 3.17 p. 198 Lecture - ATM 26 SAR Multiple Adaptation Layers ATM was designed to support Voice, Video and Data Initially Four Layers defined: AAL1: Supporting applications that require guaranteed bit rates; e.g. voice and video AAL2: As with AAL1 AAL3: Supports connection orientated data e.g. Virtual Circuits AAL4: Supporting connectionless data e.g. datagrams Lecture - ATM 27 SAR Multiple Adaptation Layers Later AAL3 and AAL4 were combined into the protocol AAL3/4 since reasons for keeping them separate felt to be insufficient However, many felt that AAL3/4 suffered from shortcomings too complex. Hence a new protocol was developed: AAL5: Introduced to simplify AAL3/4 Lecture - ATM 28 SAR Multiple Adaptation Layers The four current AAL protocols are: AAL1 AAL2 AAL3/4 AAL5 AAL 1 and AAL2 were designed to support applications such as voice, that require guaranteed bit rates AAL3/4 and AAL5 were designed to provide support for packet data running over ATM Lecture - ATM 29 ATM Adaptation Layer3/4 and 5 We consider the two computer communication protocols AAL3/4 and AAL5 AAL3/4 This protocol provides enough information to allow variable length packets to be transported across an ATM network Since we are now working at a new layer of the network hierarchy, convention requires us to introduce a new name for a packet A packet at this level is called a Protocol Data Unit (PDU) Lecture - ATM 30

ATM Adaptation Layer3/4 SAR involves two different packet protocols: 1. The Convergence Sublayer Protocol data Unit (CS- PDU) 2. ATM cell format for AAL3/4 CS-PDU defines an encapsulated format (adds header and trailer) for variable length PDU s passed down to the AAL layer before they are segmented into ATM cells The ATM cell format partitions the CS-PDU into fixed length ATM cells and adds sufficient information within the ATM payload to allow the original CS-PDU packet to be reassembled after traversing the ATM network Lecture - ATM 31 ATM Adaptation Layer 3/4 Convergence Sublayer Protocol Data Unit (CS-PDU) format for variable length PDU s Packets are then split into fixed length ATM cells 8 8 16 < 64 KB 8 0-24 CPI Btag BAsize User data Pad 0 Etag Fig 3.18: ATM Adaptation Layer 3/4 packet format 8 16 Len Lecture - ATM 32 Fields of AAL 3/4 Packet Format CPI: Common Part Indicator 8 bit Indicates version of CS-PDU format in use Only value 0 currently defined Btag:Beginning tag Should match with Etag (End tag) Protects against loss of end of one PDU and beginning of next PDU leading to inadvert join of two PDU s into one which is then passed up the protocol stack Lecture - ATM 33 Fields of AAL 3/4 Packet Format BAsize: Buffer Allocation Size An approximate indication of the packet size Used at receiving end to allocate buffer size Information not definitive since size of packet may not be known when value assigned to field Pad: Padding up to 3 bytes of zeros Padding with 0-filled byte ensures trailer aligned on a 32-bit boundary for more efficient processing CS-PDU Trailer: Consists of Etag field and Len, the real length of the PDU Lecture - ATM 34 ATM Cell Format for AAL 3/4 The CS-PDU packet must now be fragmented into fixed size ATM cells To achieve this the packet is divided into 44 byte chunks to which an AAL3/4 header and trailer totalling 4 bytes is added All 48 bytes are then encapsulated in a standard ATM cell: ATM Adaptation Layer 3/4 40 ATM Header 2 4 10 352 (44 Bytes) Type SEQ MID Payload Fig 3.19: ATM Cell format for AAL3/4 6 10 Length CRC-10 Value Name Meaning 10 BOM Beginning of message 00 COM Continuation of message 01 EOM End of Message 11 SSM Single-segment message Table 3.4: AAL3/4 Type Field Lecture - ATM 35 Lecture - ATM 36

Fields in ATM Cell Format for AAL 3/4 ATM Header Standard ATM 5 byte header described earlier Type: Indicates whether a cell is in the start, middle or end of a packet Allows CS-PDU to be reformed at the destination SEQ: A four bit sequence number Used to detect lost ATM cells Clearly too few bits to detect all cases of multiple lost cells Lecture - ATM 37 Fields in ATM Cell Format for AAL 3/4 MID: Multiplexing Identifier Allows multiple PDU s to be multiplexed onto a link Length: Number of payload data bytes Six bit field This will indicate 44 bytes for BOM and COM Possibly less than 44 bytes for end of message CRC: CRC-10 A 10-bit CRC Uses the CRC-10 polynomial: C(x) = x 10 + x 9 + x 5 + x 4 + x + 1 Lecture - ATM 38 ATM Adaptation Layer 3/4 CS-PDU Header User Data CS-PDU Trailer 44 Bytes 44 Bytes 44 Bytes 44 Bytes AAL AAL ATM Padding Header Trailer Header Cell Payload Fig 3.20: Encapsulation and Segmentation for AAL 3/4 Lecture - ATM 39 AAL3/4 Overhead in ATM Cells Note: Combining AAL3/4 with ATM results in a poor overhead to payload ratio Data: 44 bytes (max) ATM Header: 5 bytes AAL3/4 Header: 2 bytes AAL3/4 Trailer: 2 bytes Minimum Overhead: 9/44 = 17% (approx) i.e. overhead:payload = 9:44 = Lecture - ATM 40 ATM Adaptation Layer 5 - AAL 5 Motivation for AAL5 Too much overhead generated in AAL3/4 Yet segmentation and reassembly quite simple Changes introduced in AAL5 1. Two bit type field in AAL3/4 replaced by single bit in ATM cell header A set bit indicates the last cell in a packet Just enough information to reassemble the packet Lecture - ATM 41 ATM Adaptation Layer 5 - AAL 5 Changes introduced in AAL5 (Continued) 2. Four bytes no longer wasted in each ATM cell 3. All AAL3/4 fields in the ATM cells that provide protection against lost, corrupt or misordered cells are now provided by fields in the AAL5 CS-PDU packet format Lecture - ATM 42

ATM Adaptation Layer 5 Packet Format < 64 KB Data 0 47 bytes Pad Reserved Fig 3.21: ATM Adaptation Layer 5 Packet Format 16 16 32 Data:Variable length Pad: Data is padded out so that the CS-PDU will fit exactly into a group of ATM cells Len CRC-32 Lecture - ATM 43 ATM Adaptation Layer 5 Packet Format Reserved: Currently zero CRC-32: A very powerful 32-bit CRC check Power derives from the number of bits provided Functionality 1. CRC-32 checks for lost or misordered cells and for errors in the data But mis-ordered cells can no longer be reordered 2. The single 32-bit CRC check is more powerful than the 10-bit CRC s previously provided in each ATM 3. The multiplexing feature is lost Lecture - ATM 44 Summary Generally. AAL5 is more popular with the CS community than AAL3/4 Virtual Paths Two VCI fields in ATM provide a simple Virtual Circuit hierarchy See Section 3.3.3 Summary Physical Layers of ATM ATM is very closely related to SONET Nonetheless, ATM and SONET are distinct protocol layers that have been defined separately. ATM therefore doesn t have to run on SONET Lecture - ATM 45 Lecture - ATM 46 Summary 3.3 Cell Switching (ATM) Introduction Cells Segmentation and Reassembly Virtual Paths Physical Layers for ATM Lecture - ATM 47