Addressing: Router Design

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.
IP Router Architectures. Outline Basic IP Router Functionalities IP Router Architectures.
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
Lecture 11 Switching & Forwarding EECS 122 University of California Berkeley.
Spring 2002CS 4611 Router Construction Outline Switched Fabrics IP Routers Tag Switching.
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.
Big, Fast Routers Dave Andersen CMU CS
1 Internet Routers Stochastics Network Seminar February 22 nd 2002 Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University.
EE 122: Router Design Kevin Lai September 25, 2002.
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,
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 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.
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.
Advance Computer Networking L-8 Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan Seshan.
Department of Computer and IT Engineering University of Kurdistan Computer Networks II Router Architecture By: Dr. Alireza Abdollahpouri.
Routers. These high-end, carrier-grade 7600 models process up to 30 million packets per second (pps).
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,
CS 4396 Computer Networks Lab Router Architectures.
Winter 2006EE384x Handout 11 EE384x: Packet Switch Architectures Handout 1: Logistics and Introduction Professor Balaji Prabhakar
Lecture Note on Switch Architectures. Function of Switch.
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,
Spring 2000CS 4611 Router Construction Outline Switched Fabrics IP Routers Extensible (Active) Routers.
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 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.
1 Building big router from lots of little routers Nick McKeown Assistant Professor of Electrical Engineering and Computer Science, Stanford University.
1 CSCD 330 Network Programming Winter 2016 Lecture 13 Network Layer Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Chapter 3 Part 3 Switching and Bridging
scheduling for local-area networks”
EE384Y: Packet Switch Architectures Scaling Crossbar Switches
INF5050 – Protocols and Routing in Internet (Friday )
CS 268: Lecture 10 Router Design and Packet Lookup
Weren’t routers supposed
CS 268: Router Design Ion Stoica February 27, 2003.
Packet Forwarding.
Chapter 4: Network Layer
Chapter 3 Part 3 Switching and Bridging
Lecture 11 Switching & Forwarding
What’s “Inside” a Router?
CS 31006: Computer Networks – The Routers
Advance Computer Networking
Bridges and Extended LANs
Packet Switch Architectures
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.
CSCD 330 Network Programming Winter 2019 Lecture 13 Network Layer
Chapter 3 Part 3 Switching and Bridging
Project proposal: Questions to answer
Chapter 4: Network Layer
Packet Switch Architectures
Presentation transcript:

Addressing: Router Design CS 3251: Computer Networking I Nick Feamster Spring 2013

What a Router Chassis Looks Like Cisco CRS-1 Juniper M320 19” 17” Capacity: 1.2Tb/s Power: 10.4kW Weight: 0.5 Ton Cost: $500k Capacity: 320 Gb/s Power: 3.1kW 6ft 3ft 2ft 2ft

What a Router Line Card Looks Like 1-Port OC48 (2.5 Gb/s) (for Juniper M40) 4-Port 10 GigE (for Cisco CRS-1) 10in 2in Power: about 150 Watts 21in

Still pretty rare outside of research networks Lookups Must be Fast Year Line 40B packets (Mpkt/s) Cisco CRS-1 1-Port OC-768C (Line rate: 42.1 Gb/s) 1997 622Mb/s 1.94 OC-12 1999 2.5Gb/s 7.81 OC-48 2001 10Gb/s 31.25 OC-192 2003 40Gb/s 125 OC-768 Still pretty rare outside of research networks

IP Address Lookup: Summary Lookup limited by memory bandwidth. Lookup uses high-degree trie.

Summary of Routing Functionality Router gets packet Looks at packet header for destination Looks up forwarding table for output interface Modifies header (ttl, IP header checksum) Passes packet to output interface

Generic Router Architecture Data Hdr Lookup IP Address Update Header Header Processing Address Table Data Hdr Buffer Manager Buffer Memory Data Hdr Lookup IP Address Update Header Header Processing Address Table Data Hdr Buffer Manager Interconnection Fabric Data Hdr Buffer Memory Data Hdr Lookup IP Address Update Header Header Processing Address Table Buffer Manager Buffer Memory

Generic Router Architecture Header Processing Data Hdr Lookup IP Address Update Header Data Hdr Queue Packet IP Address Next Hop Address Table Buffer Memory 1M prefixes Off-chip DRAM 1M packets Off-chip DRAM

1st Generation: Switching via Memory Off-chip Buffer Shared Bus Route Table CPU Buffer Memory Line Interface MAC CPU Memory Line Interface

Innovation #1: Each Line Card Has the Routing Tables Prevents central table from becoming a bottleneck at high speeds Complication: Must update forwarding tables on the fly. How would a router update tables without slowing the forwarding engines?

2nd Generation: Switching via Bus CPU Route Table Buffer Memory Line Card Line Card Line Card Buffer Memory Buffer Memory Buffer Memory Fwding Cache Fwding Cache Fwding Cache MAC MAC MAC

Innovation #2: Switched Backplane Every input port has a connection to every output port During each timeslot, each input connected to zero or one outputs Advantage: Exploits parallelism Disadvantage: Need scheduling algorithm

Crossbar Switching Conceptually: N inputs, N outputs Actually, inputs are also outputs In each timeslot, one-to-one mapping between inputs and outputs. Goal: Maximal matching Traffic Demands Bipartite Match L11(n) Maximum Weight Match LN1(n)

Third Generation Routers “Crossbar”: Switched Backplane Line Card CPU Card Line Card Local Buffer Memory Local Buffer Memory CPU Line Interface Routing Table Memory Fwding Table Fwding Table MAC MAC Typically <50Gb/s aggregate capacity

Goal: Utilization “100% Throughput”: no packets experience head-of-line blocking Does the previous scheme achieve 100% throughput? What if the crossbar could have a “speedup”? Key result: Given a crossbar with 2x speedup, any maximal matching can achieve 100% throughput.

Combined Input-Output Queueing Advantages Easy to build 100% can be achieved with limited speedup Disadvantages Harder to design algorithms Two congestion points Flow control at destination Speedup of n: no queueing at input. What about output? input interfaces output interfaces Crossbar

Head-of-Line Blocking Problem: The packet at the front of the queue experiences contention for the output queue, blocking all packets behind it. Input 1 Output 1 Input 2 Output 2 Input 3 Output 3 Maximum throughput in such a switch: 2 – sqrt(2)

Solution: Virtual Output Queues Maintain N virtual queues at each input one per output Input 1 Output 1 Output 2 Input 2 Output 3 Input 3