Advanced Computer Networks

Slides:



Advertisements
Similar presentations
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Advertisements

EECC694 - Shaaban #1 lec # 10 Spring Asynchronous Transfer Mode (ATM) ATM is a specific asynchronous packet-oriented information, multiplexing.
1 ELEN 602 Lecture 18 Packet switches Traffic Management.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
CSC 450/550 Part 3: The Medium Access Control Sublayer More Contents on the Engineering Side of Ethernet.
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
Spring 2002CS 4611 Router Construction Outline Switched Fabrics IP Routers Tag Switching.
1 6/13/ :23 CS575ATM LAN Emulation1 Rivier College CS575: Advanced LANs ATM LAN Emulation ATM Network LAN.
1 Switching and Forwarding Bridges and Extended LANs.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
1 ELEN Lecture 13 LAN Bridges Routers, Switches, Gateways Network layer -IP Reading: 6.7,
1 Switching and Forwarding Bridges and Extended LANs.
EE 4272Spring, 2003 Chapter 11. ATM and Frame Relay Overview of ATM Protocol Architecture ATM Logical Connections ATM Cells ATM Service Categories ATM.
CECS 474 Computer Network Interoperability Tracy Bradley Maples, Ph.D. Computer Engineering & Computer Science Cal ifornia State University, Long Beach.
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
Connecting LANs, Backbone Networks, and Virtual LANs
Chapter 4 Queuing, Datagrams, and Addressing
Computer Networks Switching Professor Hui Zhang
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
29-Aug-154/598N: Computer Networks Switching and Forwarding Outline –Store-and-Forward Switches.
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
Chapter 4: Managing LAN Traffic
Chapter 18. Virtual-Circuit Networks: Frame Relay and ATM
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
Methods of ATM Internetworking. What is LAN Emulation? Lan Emulation provides for: – all existing LAN applications to run over ATM – the use of ATM as.
Internetworking and ATM Lecture 8, April 30, 2003 Data Communications and Networks Mr. Greg Vogl Uganda Martyrs University.
TO p. 1 Spring 2006 EE 5304/EETS 7304 Internet Protocols Tom Oh Dept of Electrical Engineering Lecture 9 Routers, switches.
CPS 356: Introduction to Computer Networks Lecture 7: Switching technologies Ch 2.8.2, 3.1, 3.4 Xiaowei Yang
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Univ. of TehranAdv. topics in Computer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
CSS432: Switching and Bridging 1 Switching and Bridging Textbook Ch3.1 and 3.4 Professor: Munehiro Fukuda.
Outline Packet switching paradigms Bridges and extended LANs Cell switching Switching hardware.
Local-Area-Network (LAN) Architecture Department of Computer Science Southern Illinois University Edwardsville Fall, 2013 Dr. Hiroshi Fujinoki
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
1 Prof. Dr. Ing. PUSZTAI Kalman ATM networks. 2 ATM overview Promising technology in early 90s (why?) Connection-oriented (virtual circuits) Signalling.
21-Dec-154/598N: Computer Networks Cell Switching (ATM) Connection-oriented packet-switched network Used in both WAN and LAN settings Signaling (connection.
Where are we? Chapter 3 and 4 are focused on getting the data from one place to another. Switching and routing Review the next slides First our goal is.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
Ch 8. Switching. Switch  Devices that interconnected with each other  Connecting all nodes (like mesh network) is not cost-effective  Some topology.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
Spring 2000CS 4611 Router Construction Outline Switched Fabrics IP Routers Extensible (Active) Routers.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
Computer Communication and Networking Lecture # 4 by Zainab Malik 1.
Virtual Circuit Networks Frame Relays. Background Frame Relay is a Virtual Circuit WAN that was designed in late 80s and early 90s. Prior to Frame Relays.
Univ. of TehranIntroduction to Computer Network1 An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
3. INTERNETWORKING (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 18 February
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag Mohammadi Packet Switching.
Univ. of TehranIntroduction to Computer Network1 An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
Chapter 3 Part 3 Switching and Bridging
Advanced Computer Networks
Chapter 9 Introduction To Data-Link Layer 9.# 1
Chapter 3: Packet Switching (overview)
EE 122: Lecture 19 (Asynchronous Transfer Mode - ATM)
Advanced Computer Networks
Scaling the Network: The Internet Protocol
3. Internetworking (part 1)
Packet Switching Outline Store-and-Forward Switches
Switching and Forwarding Bridges and Extended LANs
Chapter 3 Part 3 Switching and Bridging
Bridges and Extended LANs
Router Construction Outline Switched Fabrics IP Routers
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Packet Forwarding 2/22/2019 CS/ECE UIUC, Fall 2006.
Chapter 3 Part 3 Switching and Bridging
Scaling the Network: The Internet Protocol
Packet Switching Outline Store-and-Forward Switches
Presentation transcript:

Advanced Computer Networks CS716 Advanced Computer Networks By Dr. Amir Qayyum 1

Lecture No. 17

Virtual Paths with ATM Two level hierarchy of virtual connection: 8-bit VPI and 16-bit VCI Switches in the public network use 8-bit VPI Corporate sites use full 24-bit address (VPI + VCI) Much less connection-state info in switches Virtual path: fat pipe with bundle of virtual circuits

Physical Layers for ATM ATM may run over several phy media ATM was assumed to run over SONET but both are entirely separable entities ATM frame boundaries to be correctly identified Successive 53-byte ATM frames in payload SONET overhead byte points to the payload Another way is to calculate CRC (5th byte of the cell)

ATM and LANs ATM grew out of the telephone community and later used for computer communication Significant advantage of performance and better scalability of switched over shared media No distance limitation in ATM making it a good choice for high-performance LAN backbone Point-to-point, long distance Gigabit Ethernet is a competing technology with ATM

ATM as a LAN Backbone Different from traditional LANs; no native support for broadcast or multicast

How to broadcast to all nodes on an ATM LAN ? ATM in a LAN How to broadcast to all nodes on an ATM LAN ? Without knowing all the addresses Without setting up VC to all of them

ATM in a LAN Two solutions Redesign protocols that consider LAN different from what ATM can provide (e.g. ATMARP) Make ATM behave like shared media, without loosing performance advantage of switched media (e.g. LANE) ATM address is different from a unique 48-bit MAC address

Shared Ethernet Emulation with LANE All hosts think they are on the same Ethernet Ethernet Switch H ATM Switch H LANE / Ethernet Adaptor Card H H H Ethernet Switch H ATM Switch H LANE / Ethernet Adaptor Card H H H

LAN Emulation (LANE) with ATM Transparent shared media emulation of ATM Adds (not changes) functionality to ATM switches Each device needs a global MAC address, as well as an ATM address to establish a VC

LAN Emulation (LANE) with ATM Devices connect as LAN Emulation Clients (LEC) LANE provides Ethernet-like interface to LECs Similar solutions for other networks: VPNs on WANs, VLANs on large, switched Ethernets

ATM / LANE Protocol Layers Higher-layer Higher-layer protocols protocols (IP, ARP, . . .) (IP, ARP, . . .) Ethernet-like interface Signalling Signalling + LANE + LANE AAL5 AAL5 ATM ATM ATM PHY PHY PHY PHY Host Switch Host

Clients and Servers in LANE LAN Emulation Client (LEC) Host, bridge, router or switch LAN Emulation Server (LES) Maintains client’s MAC and ATM addresses Maintains ATM address of BUS

Clients and Servers in LANE LAN Emulation Configuration Server (LECS) High-level network management when LEC starts up Reachable by preset VC (recall known server port#) Maintains mapping of ATM address to LANE type

Clients and Servers in LANE Broadcast and Unknown Server (BUS) Emulates broadcast and multicast; critical to LANE Uses point-to-multipoint VC with all clients Servers physically located in one or more devices LECS

LANE Registration Client contacts LECS on predefined VC, and sends ATM address to it LECS returns LAN type, MTU and ATM address of LES Client signals connection to LES, and registers MAC and ATM addresses with LES LES returns ATM address of BUS Client signals connection to BUS Bus adds client to point-to-multipoint VC H3 LES BUS ATM Network H1 H2 LECS

LANE Circuit Setup Client (H1) knows destination MAC address of receiver (H2) Client (H1) sends 1st packet to BUS BUS sends address resolution request to LES LES returns ATM address to client (H1) Client (H1) signals connection to H2 for subsequent packets H3 LES BUS ATM Network H1 H2 LECS

Switches: The Intersections

The Intersections Design intersection to accommodate traffic flows Islamabad Zero Point Pir Wadhai Faizabad Flyover Rawalpindi Saddar Rawal Dam Faizabad Ayub Park Airport Design intersection to accommodate traffic flows

Contention in Switches Some packets destined for same output One goes first Others delayed or dropped Delaying packets requires buffering Finite capacity, some packets must still drop At inputs Increases/adds false contention Sometimes necessary At outputs Can also exert “backpressure”

Output Buffering 1x6 Switch Customer service Standard check-in lines x Mr. A waiting to claim refund of Rs.100 you Mr. X writing complaint letter trying to check-in 1x6 Switch

Input Buffering: Head-of-line Blocking Customer service Standard check-in lines agents are standing by ! x 1x6 Switch Mr. X writing complaint letter a Mr. A waiting to claim refund of Rs.100 trying to check-in you

Backpressure 1x6 Switch Customer service Standard check-in lines x a “no more, please” a you i trying to check-in 1x6 Switch propagation delay requires that switch exerts backpressure before buffer is full; thus used in networks with small propagation delay

Backpressure Switch 1 Switch 2 “no more, please” Propagation delay requires that switch 2 exert backpressure at high-water mark rather than when buffer completely full It is thus typically only used in networks with small propagation delays (e.g., switch fabrics)

Switching Hardware Multi-input multi-output device, getting packets from inputs to the outputs as fast as possible Performance of a switch is limited by I/O bus bandwidth (each packet traverse twice) 1Gbps I/O bus can support ten T3 (45 Mbps) links, three STS-3 (155 Mbps) links, and not even one STS-12 (625 Mbps) link Success or failure of a new protocol depend on whether it takes advantage of switch’s capabilities

Switching Fabric Special-purpose (switching) hardware General problem Connect N inputs to M outputs (NxM switch) Often N=M (bidirectional links) Design goals High throughput: want aggregate close to MIN (sum of inputs, sum of outputs) Avoid contention (fabric faster than ports) Good scalability:linear size/cost groth in N/M

Switching Fabric and Ports Input Output port port Input Output Switch Fabric Avoid contention here port Fabric port Switch fabric Input Output port port Input Output port port

Switch: Fabric and Ports Fabric has a job to deliver packets to the right output Input Output port port Input Output Switch fabric (with small internal buffering) port Fabric port Input Output port port Input Output port port

Ports and Fabric Ports deals with the complexity of the real world Virtual circuit management is handled in ports Determine outpt port using forwarding tables Input port is the first in performance bottlenecks Header processing and handling packet to fabric

Buffering is required at ports Ports and Fabric Buffering is required at ports Buffer management has profound impact on performance Internal (in fabric) or output buffering is normally used Fabric: simply move packets from inputs to outputs

Design Goals - Throughput An n x m switch can provide max ideal throughput of S = S1 + S2 + ……… + Sn Only possible if traffic at inputs is evenly distributed across all outputs Sustained throughput higher than link speed of output is not possible

Design Goals - Throughput Variable size packets affect performance Some operations have constant overhead per packet Switch performs differently for different sizes of packets Packet per second (pps) rate is also important Most switches are subject to internal contention Determine performance under diff traffic loads

Design Goals - Throughput Traffic models are important to throughput Arrival time, output port, packet length Extremely difficult to achieve accurate models Traffic-modeling very successful in telephony Designers now expect high range of throughputs In order to handle a steady stream of 64-byte packets, a 40Gbps switch need a rate of 78M pps !!!

Design Goals - Scalability Cost of hardware rises fast with increasing the number of ports n Adding ports increases hardware & design complexity Scalability in terms of rate of increase in cost Design complexity determines maximum switch size Switch designs run into problems at some maximum number of inputs and outputs

Switch Performance Avoid contention with buffering Good scalability Use output buffering when possible Apply backpressure through fabric Input buffering with “peeking” (non-FIFO semantics) to reduce head-of-line blocking problems Drop packets if input buffer overflows Good scalability O(N) ports Port design complexity O(N) gives O(N2) for switch Port design complexity O(1) gives O(N) for switch

Crossbar (“Perfect”) Switch Problem: hardware scales as O(N2)

Knockout Switch: Pick L from N D 4 8-to-4 concentrator D D D D 3 2x2 random selector D D D D 2 D delay unit Outputs Inputs D D D D D 1 Problem: what if more than L arrive

Shared Memory Switch … … Inputs Outputs Mux Buffer memory Demux W rite Read control control

Self-Routing Fabrics Use source routing on “network” within switch Input port attaches output port number as header Fabric routes packet based on output port Types Banyan network Batcher-Banyan network Sunshine switch

Banyan Network No contention if inputs are sorted and unique Sends 0 bit up Sends 1 bit down MSB LSB No contention if inputs are sorted and unique

Banyan Network MSB LSB Sends 0 bit up, 1 bit down

Batcher (Merge Sort) Network Routing packets through a Batcher network Batcher-Banyan Network Attach the two-back-to-back Arbitrary unique permutations routed without contention

Batcher-Banyan Network sends 1 bit up sends 0 bit down sends 0 bit up sends 1 bit down

(marks overflow packets) Sunshine Switch (marks overflow packets) Like a Knockout switch, except Recirculates overflow packets i.e., when more than L arrive in one cycle