1 How scalable is the capacity of (electronic) IP routers? Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University

Slides:



Advertisements
Similar presentations
1 Maintaining Packet Order in Two-Stage Switches Isaac Keslassy, Nick McKeown Stanford University.
Advertisements

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 High Speed Router Design Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
Router Architecture : Building high-performance routers Ian Pratt
Scaling Internet Routers Using Optics UW, October 16 th, 2003 Nick McKeown Joint work with research groups of: David Miller, Mark Horowitz, Olav Solgaard.
May 28th, 2002Nick McKeown 1 Scaling routers: Where do we go from here? HPSR, Kobe, Japan May 28 th, 2002 Nick McKeown Professor of Electrical Engineering.
A Scalable Switch for Service Guarantees Bill Lin (University of California, San Diego) Isaac Keslassy (Technion, Israel)
Making Parallel Packet Switches Practical Sundar Iyer, Nick McKeown Departments of Electrical Engineering & Computer Science,
1 Circuit Switching in the Core OpenArch April 5 th 2003 Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University
Scaling Internet Routers Using Optics Producing a 100TB/s Router Ashley Green and Brad Rosen February 16, 2004.
1 Architectural Results in the Optical Router Project Da Chuang, Isaac Keslassy, Nick McKeown High Performance Networking Group
1 OR Project Group II: Packet Buffer Proposal Da Chuang, Isaac Keslassy, Sundar Iyer, Greg Watson, Nick McKeown, Mark Horowitz
Using Load-Balancing To Build High-Performance Routers Isaac Keslassy, Shang-Tse (Da) Chuang, Nick McKeown Stanford University.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion The.
A Load-Balanced Switch with an Arbitrary Number of Linecards Isaac Keslassy, Shang-Tse (Da) Chuang, Nick McKeown Stanford University.
Scaling Internet Routers Using Optics Isaac Keslassy, Shang-Tse Da Chuang, Kyoungsik Yu, David Miller, Mark Horowitz, Olav Solgaard, Nick McKeown Department.
EE 122: Router Design Kevin Lai September 25, 2002.
IEE, October 2001Nick McKeown1 High Performance Routers Slides originally by Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford.
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 EE384Y: Packet Switch Architectures Part II Load-balanced Switches Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University.
1 Trend in the design and analysis of Internet Routers University of Pennsylvania March 17 th 2003 Nick McKeown Professor of Electrical Engineering and.
Stanford University August 22, 2001 TCP Switching: Exposing Circuits to IP Pablo Molinero-Fernández Nick McKeown Stanford University.
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Switch and Router Architectures Computer Science Division Department of Electrical Engineering.
August 20 th, A 2.5Tb/s LCS Switch Core Nick McKeown Costas Calamvokis Shang-tse Chuang Accelerating The Broadband Revolution P M C - S I E R R.
1 Growth in Router Capacity IPAM, Lake Arrowhead October 2003 Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University.
Router Architectures An overview of router architectures.
Can Google Route? Building a High-Speed Switch from Commodity Hardware Guido Appenzeller, Matthew Holliman Q2/2002.
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.
1 IP routers with memory that runs slower than the line rate Nick McKeown Assistant Professor of Electrical Engineering and Computer Science, Stanford.
Computer Networks Switching Professor Hui Zhang
Nick McKeown CS244 Lecture 7 Valiant Load Balancing.
Professor Yashar Ganjali Department of Computer Science University of Toronto
Optics in Internet Routers Mark Horowitz, Nick McKeown, Olav Solgaard, David Miller Stanford University
How Emerging Optical Technologies will affect the Future Internet NSF Meeting, 5 Dec, 2005 Nick McKeown Stanford University
1 Copyright © Monash University ATM Switch Design Philip Branch Centre for Telecommunications and Information Engineering (CTIE) Monash University
Router Architecture Overview
Advance Computer Networking L-8 Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan Seshan.
Designing Packet Buffers for Internet Routers Friday, October 23, 2015 Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford.
Winter 2006EE384x1 EE384x: Packet Switch Architectures I Parallel Packet Buffers Nick McKeown Professor of Electrical Engineering and Computer Science,
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #14 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”
Applied research laboratory 1 Scaling Internet Routers Using Optics Isaac Keslassy, et al. Proceedings of SIGCOMM Slides:
Nick McKeown1 Building Fast Packet Buffers From Slow Memory CIS Roundtable May 2002 Nick McKeown Professor of Electrical Engineering and Computer Science,
1 Performance Guarantees for Internet Routers ISL Affiliates Meeting April 4 th 2002 Nick McKeown Professor of Electrical Engineering and Computer Science,
1 Router Design Bruce Davie with help from Hari Balakrishnan & Nick McKeown.
An Introduction to Packet Switching Nick McKeown Assistant Professor of Electrical Engineering and Computer Science, Stanford University
CS 4396 Computer Networks Lab Router Architectures.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Challenges in Modern Multi-Tera- bit Class Switch Design.
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.
IEE, October 2001Nick McKeown1 High Performance Routers IEE, London October 18 th, 2001 Nick McKeown Professor of Electrical Engineering and Computer Science,
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,
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.
A Load Balanced Switch with an Arbitrary Number of Linecards I.Keslassy, S.T.Chuang, N.McKeown ( CSL, Stanford University ) Some slides adapted from authors.
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.
Weren’t routers supposed
Addressing: Router Design
Chapter 4: Network Layer
Advance Computer Networking
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Techniques and problems for
Chapter 4: Network Layer
Presentation transcript:

1 How scalable is the capacity of (electronic) IP routers? Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University

2 Why ask the question? Widely held assumption: Electronic IP routers will not keep up with link capacity. Background: Router Capacity = (number of lines) x (line-rate) Biggest router capacity 4 years ago ~= 10Gb/s Biggest router capacity 2 years ago ~= 40Gb/s Biggest router capacity today ~= 160Gb/s Next couple of generations: ~1-40Tb/s

3 Why it’s hard for capacity to keep up with link rates Packet processing power Link rate

4 Why it’s hard for capacity to keep up with link rates 0, Fiber Capacity (Gbit/s) TDMDWDM Packet processing PowerLink Speed 2x / 2 years2x / 7 months Source: SPEC95Int & David Miller, Stanford.

5 Instructions per packet time Instructions per packet What we’d like: (more features) QoS, Multicast, Security, … What will happen

6 What limits a router’s capacity? It’s a packet switch: –Must be able to buffer every packet for an unpredictable amount of time. Hop-by-hop routing: –Once per ~1000bits it must index into a forwarding table with ~100k entries. [Optional QoS support –Very complex per-packet processing] Limited by memory random access time

7 What really limits the capacity? At first glance: the random access time to memory. In fact, this can be solved by more parallelism (replication and pipelining). Dilemma: But parallelism requires more power and space.

8 What really limits the capacity? Suggestion: –Don’t assume optics will oust CMOS in IP routers because of increased system capacity. –It might oust CMOS because of reduced (power x space) for a given capacity.

9 Outline A brief history of IP routers Where they will go next –Incorporating optics into routers –More parallelism (with or without optics)

10 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

11 First Generation Routers Queueing Structure: Centralized Shared Memory Large, single dynamically allocated memory buffer: N writes per “cell” time N reads per “cell” time. Limited by memory bandwidth. Numerous work has proven and made possible QoS: –Fairness –Delay Guarantees –Delay Variation Control –Loss Guarantees –Statistical Guarantees Memory Controller Memory Controller Output 1 Output 2 Output N Input 1 Input 2 Input N

12 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

13 Second Generation Routers Queueing Structure: Combined Input and Output Queueing Bus 1 write per “cell” time1 read per “cell” time Rate of writes/reads determined by bus speed

14 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

15 Arbiter Third Generation Routers Queueing Structure Switch 1 write per “cell” time1 read per “cell” time Rate of writes/reads determined by switch fabric speedup Per-flow/class or per- output queues (VOQs) Per-flow/class or per- input queues Flow-control backpressure

16 Third Generation Routers 19” or 23” 7’ Size-constrained: 19” or 23” wide. Power-constrained.

17 Complex linecards Physical Layer Framing & Maintenance Packet Processing Buffer Mgmt & Scheduling Buffer Mgmt & Scheduling Buffer & State Memory Buffer & State Memory Typical IP Router Linecard OC192c linecard: ~10-30M gates ~2Gbits of memory ~2 square feet >$10k cost 100’s of Watts Lookup Tables “Backplane” Switch Fabric Arbitration Optics

18 Fourth Generation Routers/Switches Optics inside a router for the first time Tb/s routers in development

19 Where next? Incorporating (more) optics into a router. More parallelism (with or without optics).

20 Incorporating optics into a router Replacing the switch fabric with an optical datapath. Increasing the internal “cell” size to reduce rate of arbitration and reconfiguration.

21 Replacing the switch fabric with optics Switch Fabric Arbitration Physical Layer Framing & Maintenance Packet Processing Buffer Mgmt & Scheduling Buffer Mgmt & Scheduling Buffer & State Memory Buffer & State Memory Typical IP Router Linecard Lookup Tables Optics Physical Layer Framing & Maintenance Packet Processing Buffer Mgmt & Scheduling Buffer Mgmt & Scheduling Buffer & State Memory Buffer & State Memory Typical IP Router Linecard Lookup Tables Optics electrical Switch Fabric Arbitration Physical Layer Framing & Maintenance Packet Processing Buffer Mgmt & Scheduling Buffer Mgmt & Scheduling Buffer & State Memory Buffer & State Memory Typical IP Router Linecard Lookup Tables Optics Physical Layer Framing & Maintenance Packet Processing Buffer Mgmt & Scheduling Buffer Mgmt & Scheduling Buffer & State Memory Buffer & State Memory Typical IP Router Linecard Lookup Tables Optics optical Req/Grant Candidate technologies 1.MEMs 2.Fast tunable lasers + passive optical couplers

22 Replacing the switch fabric with optics Most common internal “cell” size is 64 bytes OC192, OC768) Too fast for arbitration Too fast for reconfiguration What we’ll see: –Increased cell length –E.g. switch bursts of cells –But less efficient.

23 More parallelism Parallel packet buffers Parallel lookup tables Multiple parallel routers

24 Multiple parallel routers What we’d like: R RR R The building blocks we’d like to use: R R R R NxN IP Router capacity 100s of Tb/s

25 Why this might be a good idea Larger overall capacity Faster line rates Redundancy Familiarity –“After all, this is how the Internet is built”

26 Multiple parallel routers Load Balancing architectures RR R 1 2 … … k R R R R/k R R R

27 Method #1: Random packet load- balancing Method: As packets arrive they are randomly distributed, packet by packet over each router. Advantages: –Almost unlimited capacity –Load-balancer is simple –Load-balancer needs no packet buffering Disadvantages: –Random fluctuations in traffic  each router is loaded differently Packets within a flow may become mis-sequenced It is not possible to predict the system performance

28 Method #2: Random flow load- balancing Method: Each new flow (e.g. TCP connection) is randomly assigned to a router. All packets in a flow follow the same path. Advantages: –Almost unlimited capacity –Load-balancer is simple (e.g. hashing of flow ID). –Load-balancer needs no packet buffering. –No mis-sequencing of packets within a flow. Disadvantages: –Random fluctuations in traffic  each router is loaded differently It is not possible to predict the system performance

29 Observations Random load-balancing: It’s hard to predict system performance. Flow-by-flow load-balancing: Worst-case performance is very poor. If designers, system builders, network operators etc. need to know the worst case performance, random load-balancing will not suffice.

30 Method #3: Intelligent packet load-balancing Goal: Each new packet is carefully assigned to a router so that: Packets are not mis-sequenced. The throughput is maximized and understood. Delay of each packet can be controlled. We call this “Parallel Packet Switching”

31 Method #3: Intelligent packet load- balancing Parallel Packet Switching 1 2 k 1 N rate, R 1 N Router Bufferless R/k

32 Parallel Packet Switching Advantages –Single-stage of buffering –No excess link capacity –k  power per subsystem  –k  memory bandwidth  –k  lookup rate 

33 Precise Emulation of a Shared Memory Switch NN Shared Memory Switch 1 N Parallel Packet Switch = ? 1 N 1 N

34 Parallel Packet Switch Theorem 1.If S > 2k/(k+2)  2 then a parallel packet switch can precisely emulate a FCFS shared memory switch for all traffic.

35 Example of an IP Router with Parallel Packet Switching Gb/s rate, R Tb/s router R/k Overall capacity 160Tb/s

36 My conclusions The capacity of electronic IP routers will scale a long way yet. The opportunity of optics is to reduce power and space –By using optics within the router. –By replacing routers with circuit switches.