TO 3-7-06 p. 1 Spring 2006 EE 5304/EETS 7304 Internet Protocols Tom Oh Dept of Electrical Engineering Lecture 9 Routers, switches.

Slides:



Advertisements
Similar presentations
IP Router Architectures. Outline Basic IP Router Functionalities IP Router Architectures.
Advertisements

ATM( Asynchronous Transfer Mode) SWITCHING Group 1
1 IK1500 Communication Systems IK1330 Lecture 3: Networking Anders Västberg
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.
Router Architecture : Building high-performance routers Ian Pratt
1 Delta Network The delta network is one example of a multistage interconnection network that can be used as a switch fabric The delta network is an example.
What's inside a router? We have yet to consider the switching function of a router - the actual transfer of datagrams from a router's incoming links to.
Spring 2002CS 4611 Router Construction Outline Switched Fabrics IP Routers Tag Switching.
Chapter 8 Switching Switching at the physical layer in the traditional telephone network uses the circuit-switching approach.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
1 Performance Results The following are some graphical performance results out of the literature for different ATM switch designs and configurations For.
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 Advances in Optical Switching Mohammad Ilyas, PhD College of Engineering & Computer Science Florida Atlantic University Boca Raton, Florida USA
Chapter 10 Switching Fabrics. Outline Physical Interconnection Physical box with backplane Individual blades plug into backplane slots Each blade contains.
t Popularity of the Internet t Provides universal interconnection between individual groups that use different hardware suited for their needs t Based.
EE 4272Spring, 2003 Chapter 9: Circuit Switching Switching Networks Circuit-Switching Networks Circuit-Switching Concept  Space-Division Switching  Time-Division.
EE 122: Router Design Kevin Lai September 25, 2002.
ATM COMPONENTS Presented by: ANG BEE KEEWET CHONG SIT MEIWET LAI YIN LENGWET LEE SEANG LEIWET
EE 4272Spring, 2003 Chapter 11. ATM and Frame Relay Overview of ATM Protocol Architecture ATM Logical Connections ATM Cells ATM Service Categories ATM.
Router Architectures An overview of router architectures.
Router Architectures An overview of router architectures.
4: Network Layer4b-1 Router Architecture Overview Two key router functions: r run routing algorithms/protocol (RIP, OSPF, BGP) r switching datagrams from.
Chapter 4 Queuing, Datagrams, and Addressing
Computer Networks Switching Professor Hui Zhang
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
ATM SWITCHING. SWITCHING A Switch is a network element that transfer packet from Input port to output port. A Switch is a network element that transfer.
ATM switching Ram Dantu. Introduction Important characteristics –switching speed –potential to lose cells Must minimize –queuing and switching delay Line.
1 Copyright © Monash University ATM Switch Design Philip Branch Centre for Telecommunications and Information Engineering (CTIE) Monash University
CPS 356: Introduction to Computer Networks Lecture 7: Switching technologies Ch 2.8.2, 3.1, 3.4 Xiaowei Yang
Router Architecture Overview
Switching Fourth Meeting. Switching Modes Circuit Switching Continuous link Exclusive Packet Switching No continuous link Data is divided into packets.
Data and Computer Communications Circuit Switching and Packet Switching.
Univ. of TehranAdv. topics in Computer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
Delivery, Forwarding, and Routing of IP Packets
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #14 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”
Final Chapter Packet-Switching and Circuit Switching 7.3. Statistical Multiplexing and Packet Switching: Datagrams and Virtual Circuits 4. 4 Time Division.
Forwarding.
21-Dec-154/598N: Computer Networks Cell Switching (ATM) Connection-oriented packet-switched network Used in both WAN and LAN settings Signaling (connection.
Ch 8. Switching. Switch  Devices that interconnected with each other  Connecting all nodes (like mesh network) is not cost-effective  Some topology.
Lecture Note on Switch Architectures. Function of Switch.
1 A quick tutorial on IP Router design Optics and Routing Seminar October 10 th, 2000 Nick McKeown
Packet Switch Architectures The following are (sometimes modified and rearranged slides) from an ACM Sigcomm 99 Tutorial by Nick McKeown and Balaji Prabhakar,
Spring 2000CS 4611 Router Construction Outline Switched Fabrics IP Routers Extensible (Active) Routers.
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.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
Univ. of TehranIntroduction to Computer Network1 An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
CS 4594 Broadband Switching Elements and Fabrics.
Structure of a switch We use switches in circuit-switched and packet- switched networks. In this section, we discuss the structures of the switches used.
Univ. of TehranIntroduction to Computer Network1 An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
EE 122: Lecture 19 (Asynchronous Transfer Mode - ATM)
Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
ATM-Asynchronous Transfer Mode
Addressing: Router Design
Chapter 4: Network Layer
Chapter 3 Part 3 Switching and Bridging
What’s “Inside” a Router?
Bridges and Extended LANs
Router Construction Outline Switched Fabrics IP Routers
Delta Network The delta network is one example of a multistage interconnection network that can be used as a switch fabric The delta network is an example.
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.
Chapter 3 Part 3 Switching and Bridging
Chapter 4: Network Layer
Packet Switch Architectures
Presentation transcript:

TO p. 1 Spring 2006 EE 5304/EETS 7304 Internet Protocols Tom Oh Dept of Electrical Engineering Lecture 9 Routers, switches

TO p. 2 First Generation Routers Fabric = shared bus All packets go over shared bus into main memory for centralized processing

TO p. 3 First Generation Routers (cont)  Packets are transferred over bus to main memory and CPU for processing, then to output queues  Packet processing in software  Bottlenecks  Mainly centralized packet processing by CPU  Shared bus is inefficient (each packet takes two times on bus) but not slow compared to CPU

TO p. 4 Second Generation Routers  Distribute portion of routing table to a cache at each input line card  Cache hits: packet goes through bus directly to output queue  Cache miss: packet goes to CPU for processing as before  Shared bus is still bottleneck

TO p. 5 Third Generation Routers Forwarding path works at line speed and separate from control plane Switch fabric is highly parallel to transfer multiple packets simultaneously

TO p. 6 Third Generation Routers (cont)  Shared bus replaced by space-division switch fabric for higher throughput  Borrow switching techniques from ATM switching  Complete separation of CPU into routing engine (building routing table and running routing protocol) and packet forwarding engine (packet processing and routing)  Full routing info. in line cards  Faster address lookup algorithms  Application specific integrated circuits (ASICs) for faster packet processing, to work at “line speed”

TO p. 7 Fourth Generation Routers  Data plane is optical  Control plane is electronic  Packet headers must be processed electronically  Ultimate goal is all-optical network

TO p. 8 ATM Switching Origins  Packet speech research (late 1970s - early 1980s) found packet switching for voice, but only if protocols and switches are modified  X.25 and IP were designed for data and unsuited for packet speech  Fast packet switching: streamlined or "lightweight" protocol for high speed packet processing in hardware  Assumes reliable, high rate digital transmission facilities - then minimal error control necessary  Should be suitable for both real-time traffic (eg, speech) and nonreal-time data

TO p. 9 ATM Switching Origins (cont)  Fast packet switching is not a particular protocol, but a set of principles designed to minimize packet delays and maximize switch throughput  Minimal error control (no ACKs or retransmissions) Error control can be done at higher layers if needed  Connection oriented (virtual circuits)  Main function of packet header is identify VC  Fast packet switches use highly parallel hardware processing to minimize delay and maximize throughput

TO p. 10 ATM Switching Origins (cont)  Packets should be much shorter compared to IP or X.25 (eg. max. 144 bytes of info.)  Shorter than normal data packets to minimize packetization delay (time to fill packet with speech data) and queueing delays  Packets can be variable length or fixed length, but fixed length packets simplify switch design and achieve better pipelining performance

TO p. 11 Fast Packet Switch - Example Control processor (software): handles connection setups, connection admission control, operations and network management

TO p. 12 Fast Packet Switch - Example (cont) Input port processors (hardware): processes incoming packets at line speed, discard packets with header bit errors, looks up virtual circuit numbers in routing table, passes data packets to fabric and control packets to CP

TO p. 13 Fast Packet Switch - Example (cont) Switch fabric (hardware): transfers multiple incoming packets in parallel to output ports, may contain buffering to resolve contentions, may handle packets with priorities

TO p. 14 Fast Packet Switch - Example (cont) Output port processors (hardware): recomputes packet header fields as needed

TO p. 15 Fast Packet Switch - Example (cont) Packet forwarding path is hardware and parallelized Software handles control and management functions on slower timescale

TO p. 16 ATM Switching  ATM is result of fast packet switching research, standardized by ITU in 1988  Short, fixed length cells (packets): 5-byte header + 48-byte payload  ATM switches based on fast packet switching principles  Based on fast packet switching principles  Most switch architectures differ in design of switch fabric

TO p. 17 ATM Switching (cont)  Cell header is primarily to identify virtual circuit number (VPI/VCI) at UNIat NNI GFCVPI VCI PT HEC 48-byte data CLP VPI VCI PT HEC 48-byte data CLP 8 bits

TO p. 18 ATM Switching (cont) Input port processors: receive physical layer signal, extract ATM cells

TO p. 19 ATM Switching (cont) Cell processing: discard cells with header bit errors, look up VPI/VCI in routing table, may add “routing tag” to cell

TO p. 20 ATM Switching (cont) Switch fabric: routes cells to output queues

TO p. 21 ATM Switching (cont) Output queues: buffers cells waiting for transmission, discard cells with CLP=1 if overflow

TO p. 22 ATM Switching (cont) Output port processing: physical transmission

TO p. 23 ATM Switch Fabrics - Typical Designs  Space division, e.g., banyan network, Batcher- banyan, Starlite  Shared medium, eg, TDM bus  Shared memory  Fully interconnected, eg., bus matrix, knockout switch

TO p. 24 Space Division Switches  Banyan networks 8x8 banyan is constructed by interconnecting 4x4 banyans 4x4 banyan is constructed by interconnecting 2x2 modules 8 incoming cells are pipelined together through the fabric stages

TO p. 25 Space Division Switches (cont)  Class of multistage interconnection networks (MINs) with self-routing property  Each cell carries the control information for its route to output  Simple, regular structure, simple 2x2 switching elements → easy for hardware implementation  NxN needs only N/2 log N switching elements  All hardware at same speed as port speed  Modular: easy to construct larger fabrics

TO p. 26 Space-Division Switches (cont)  Self-routing

TO p. 27 Space Division Switches (cont)  Internally blocking: two cells going to different outputs may collide on same internal link  For uniform random traffic, throughput is low (about 0.4 for N=32)  Approaches: internal buffering (doesn’t improve throughput much), internal speedup (about 4 factor to achieve near full utilization?)

TO p. 28 Space Division Switches (cont)  Add Batcher sorting network: sorts cells according to destination addresses

TO p. 29 Space Division Switches (cont)  Batcher-banyan network is internally nonblocking but doesn’t solve output contention: two cells going to same output port at same time  Approach 1: input buffers allow one cell to each output at a time and queue others  For uniform random traffic, throughput is (general result for input buffering)  Cause is HOL (head of line) blocking: output contention lets one cell go to output and another cell must stay in input buffer; this keeps cells in queue behind it from going to a free output port

TO p. 30 Space Division Switches (cont)  Approach 2: (Starlite switch) trap conflicting cells (going to same output port) after Batcher sorter and recirculate these cells through a shared buffer to try again through Batcher

TO p. 31 Space Division Switches (cont)  Sharing buffer reduces total amount of buffer required  Need to expand Batcher fabric and add trap network  Need to keep track of number of reattempts of each cell to maintain proper cell sequence

TO p. 32 Shared Medium Switches  High speed TDM bus

TO p. 33 Shared Medium Switches (cont)  High speed TDM bus

TO p. 34 Shared Medium Switches (cont)  Cells at N inputs take round robin turns to broadcast on bus  Address filter at each output detects cells addressed to that output port  Output buffer at each output  To be nonblocking, bus must be N times faster than input and output port rates (speedup factor of N)  Address filters and buffers work at bus speed  Simple, modular design, with moderate buffer requirements

TO p. 35 Shared Memory Switches

TO p. 36 Shared Memory Switches (cont)  Virtual operation

TO p. 37 Shared Memory Switches (cont)  Cells at N inputs take round robin turns to be written into central shared memory  Then read out to appropriate output port; read addresses are kept as linked lists  Buffer sharing → minimal amount of buffers required  N is limited by memory access speed (speedup factor of N again)

TO p. 38 Fully Interconnected Switches  Bus matrix switch

TO p. 39 Fully Interconnected Switches  Bus matrix switch

TO p. 40 Fully Interconnected Switches (cont)  Each input cell is broadcast to every output  Each output multiplexes N buffers (one buffer for each input port), each with an address filter  No speedup factor (everything works at speed of input and output port rates) and no blocking  Expensive in buffers and address filters: grow by N2, and each bus has N crosspoints → limit N