EE 122: Router Design Kevin Lai September 25, 2002.

Slides:



Advertisements
Similar presentations
Router Internals CS 4251: Computer Networking II Nick Feamster Spring 2008.
Advertisements

Router Internals CS 4251: Computer Networking II Nick Feamster Fall 2008.
Based on slides from Dave Andersen and Nick Feamster
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 High Speed Router Design Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
Router Architecture : Building high-performance routers Ian Pratt
Chen-Nien Tsai 2008/10/16 1 Wireless and Broadband Network Laboratory (WBNLAB) Dept. of CSIE, NTUT.
Nick McKeown CS244 Lecture 6 Packet Switches. What you said The very premise of the paper was a bit of an eye- opener for me, for previously I had never.
Lecture 11 Switching & Forwarding EECS 122 University of California Berkeley.
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.
CS 268: Lecture 10 Router Design and Packet Lookup Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences University.
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.
CS 268: Router Design Ion Stoica March 1, 2004.
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 Architectural Results in the Optical Router Project Da Chuang, Isaac Keslassy, Nick McKeown High Performance Networking Group
Chapter 10 Switching Fabrics. Outline Physical Interconnection Physical box with backplane Individual blades plug into backplane slots Each blade contains.
1 Internet Routers Stochastics Network Seminar February 22 nd 2002 Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Introduction.
CS 268: Lecture 12 (Router Design) Ion Stoica March 18, 2002.
Nick McKeown 1 Memory for High Performance Internet Routers Micron February 12 th 2003 Nick McKeown Professor of Electrical Engineering and Computer Science,
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
Router Design and Packet Scheduling
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Switch and Router Architectures Computer Science Division Department of Electrical Engineering.
Router Architectures An overview of router architectures.
Router Design (Nick Feamster) February 11, Today’s Lecture The design of big, fast routers Partridge et al., A 50 Gb/s IP Router Design constraints.
Pipelined Two Step Iterative Matching Algorithms for CIOQ Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York, Stony Brook.
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
Professor Yashar Ganjali Department of Computer Science University of Toronto
Univ. of TehranComputer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
A 50-Gb/s IP Router 참고논문 : Craig Partridge et al. [ IEEE/ACM ToN, June 1998 ]
TO p. 1 Spring 2006 EE 5304/EETS 7304 Internet Protocols Tom Oh Dept of Electrical Engineering Lecture 9 Routers, switches.
1 John Magee 24 February 2014 CS 280: Network Layer: Virtual Circuits / Datagram Networks and What’s inside a Router? Most slides adapted from Kurose and.
Router Architecture Overview
Packet Forwarding. A router has several input/output lines. From an input line, it receives a packet. It will check the header of the packet to determine.
1 Performance Guarantees for Internet Routers ISL Affiliates Meeting April 4 th 2002 Nick McKeown Professor of Electrical Engineering and Computer Science,
Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr.
Forwarding.
Winter 2006EE384x Handout 11 EE384x: Packet Switch Architectures Handout 1: Logistics and Introduction Professor Balaji Prabhakar
Opticomm 2001Nick McKeown1 Do Optics Belong in Internet Core Routers? Keynote, Opticomm 2001 Denver, Colorado Nick McKeown Professor of Electrical Engineering.
1 A quick tutorial on IP Router design Optics and Routing Seminar October 10 th, 2000 Nick McKeown
1 How scalable is the capacity of (electronic) IP routers? Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University
Packet Switch Architectures The following are (sometimes modified and rearranged slides) from an ACM Sigcomm 99 Tutorial by Nick McKeown and Balaji Prabhakar,
The Fork-Join Router Nick McKeown Assistant Professor of Electrical Engineering and Computer Science, Stanford University
Spring 2000CS 4611 Router Construction Outline Switched Fabrics IP Routers Extensible (Active) Routers.
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.
Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr.
Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr.
Application Layer 2-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A.
Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai.
1 Building big router from lots of little routers Nick McKeown Assistant Professor of Electrical Engineering and Computer Science, Stanford University.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
scheduling for local-area networks”
Chapter 4 Network Layer All material copyright
CS 268: Lecture 10 Router Design and Packet Lookup
Weren’t routers supposed
CS 268: Router Design Ion Stoica February 27, 2003.
Packet Forwarding.
Addressing: Router Design
Chapter 4: Network Layer
Chapter 3 Part 3 Switching and Bridging
Lecture 11 Switching & Forwarding
Chapter 4-1 Network layer
What’s “Inside” a Router?
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.
CSCD 330 Network Programming Winter 2019 Lecture 13 Network Layer
Chapter 3 Part 3 Switching and Bridging
Chapter 4: Network Layer
Presentation transcript:

EE 122: Router Design Kevin Lai September 25, 2002

Routers  A router consists -A set of input interfaces at which packets arrive -A set of output interfaces from which packets depart -Some form of interconnect connecting inputs to outputs  Router implements two main functions -Forward packet to corresponding output interface -Manage bandwidth and buffer space resources......

What a Router Looks Like Cisco GSR 12416Juniper M160 6ft 19 ” 2ft Capacity: 160Gb/s Power: 4.2kW 3ft 2.5ft 19 ” Capacity: 80Gb/s Power: 2.6kW Slide by Nick McKeown

Why Understand Router Design  Many companies make switches and routers -e.g., Cisco, Juniper, Nortel  Many other devices have a similar structure -e.g., PC’s internal interconnect, multi-processor interconnect  Switch design dictates what can be done at higher layers -e.g., per flow state is expensive,the need to minimize per packet processing time

Why Do We Need Faster Routers? 1. To prevent routers becoming the bottleneck in the Internet. 2. To increase POP capacity, and to reduce cost, size and power.

Why we Need Faster Routers 1: To prevent routers from being the bottleneck 0, Fiber Capacity (Gbit/s) TDMDWDM Packet processing PowerLink Speed 2x / 18 months2x / 7 months Source: SPEC95Int & David Miller, Stanford. Slide by Nick McKeown

POP with smaller routers Why we Need Faster Routers 2: To reduce cost, power & complexity of POPs POP with large routers  Ports: Price >$100k, Power > 400W.  It is common for 50-60% of ports to be for interconnection. Slide by Nick McKeown

Requirements  Power -generates heat, costs money - < 5kW  Size -space costs money - < 2m 3  Bandwidth  Ports -number of external links  Price  Some customers want -Multicast -Quality of Service

Generic Router Architecture  Input and output interfaces are connected through an interconnect  A interconnect can be implemented by -Shared memory low capacity routers (e.g., PC-based routers) -Shared bus Medium capacity routers -Point-to-point (switched) bus High capacity routers input interfaceoutput interface Inter- connect

Route Table CPU Buffer Memory Line Interface MAC Line Interface MAC Line Interface MAC Typically <0.5Gb/s aggregate capacity First Generation Routers Shared Backplane Line Interface CPU Memory Slide by Nick McKeown

Second Generation Routers Route Table CPU Line Card Buffer Memory Line Card MAC Buffer Memory Line Card MAC Buffer Memory Fwding Cache Fwding Cache Fwding Cache MAC Buffer Memory Typically <5Gb/s aggregate capacity Slide by Nick McKeown

Third Generation Routers Line Card MAC Local Buffer Memory CPU Card Line Card MAC Local Buffer Memory Switched Backplane Line Interface CPU Memory Fwding Table Routing Table Fwding Table Typically <50Gb/s aggregate capacity Slide by Nick McKeown

Speedup  C – input/output link capacity  R I – maximum rate at which an input interface can send data into interconnect  R O – maximum rate at which an output can read data from interconnect  B – maximum aggregate interconnect transfer rate  Interconnect speedup: B/C  Input speedup: R I /C  Output speedup: R O /C input interfaceoutput interface Inter- connect C C RIRI RORO B

Typical Functions Performed by Input Interface on Data Path  Packet forwarding: decide to which output interface to forward each packet based on the information in packet header -examine packet header -lookup in forwarding table -update packet header

Typical Functions Performed by Output Interface  Buffer management: decide when and which packet to drop  Scheduler: decide when and which packet to transmit 1 2 Scheduler Buffer

Typical Functions Performed by Output Interface (cont’d)  Packet classification: map each packet to a predefined flow/connection (for datagram forwarding) -use to implement more sophisticated services (e.g., QoS)  Flow: a subset of packets between any two endpoints in the network 1 2 Scheduler flow 1 flow 2 flow n Classifier Buffer management

Interconnect  Point-to-point switch allows to simultaneously transfer a packet between any two disjoint pairs of input-output interfaces  Goal: come-up with a schedule that -Provide Quality of Service -Maximize router throughput  Challenges: -Address head-of-line blocking at inputs -Resolve input/output speedups contention -Avoid packet dropping at output if possible  Note: packets are fragmented in fix sized cells at inputs and reassembled at outputs

Output Queued (OQ) Routers  Only output interfaces store packets  Advantages -Easy to design algorithms: only one congestion point  Disadvantages -Requires an output speedup of N, where N is the number of interfaces  not feasible input interfaceoutput interface Backplane C RORO

Input Queueing (IQ) Routers  Only input interfaces store packets  Advantages -Easy to built Store packets at inputs if contention at outputs -Relatively easy to design algorithms Only one congestion point, but not output… need to implement backpressure  Disadvantages -Hard to achieve utilization  1 (due to output contention, head-of-line blocking) However, theoretical and simulation results show that for realistic traffic an input/output speedup of 2 is enough to achieve utilizations close to 1 input interfaceoutput interface Backplane C RORO

Head-of-line Blocking  The cell at the head of an input queue cannot be transferred, thus blocking the following cells Cannot be transferred because output buffer overflow Cannot be transferred because is blocked by red cell Output 1 Output 2 Output 3 Input 1 Input 2 Input 3

A Router with Input Queues Head of Line Blocking The best that any queueing system can achieve. Slide by Nick McKeown

Solution to Avoid Head-of-line Blocking  Maintain at each input N virtual queues, i.e., one per output Output 1 Output 2 Output 3 Input 1 Input 2 Input 3

Combined Input-Output Queueing (CIOQ) Routers  Both input and output interfaces store packets  Advantages -Easy to built Utilization 1 can be achieved with limited input/output speedup (<= 2)  Disadvantages -Harder to design algorithms Two congestion points Need to design flow control input interfaceoutput interface Backplane C RORO