Router Architecture : Building high-performance routers Ian Pratt

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.
A Search Memory Substrate for High Throughput and Low Power Packet Processing Sangyeun Cho, Michel Hanna and Rami Melhem Dept. of Computer Science University.
A Scalable and Reconfigurable Search Memory Substrate for High Throughput Packet Processing Sangyeun Cho and Rami Melhem Dept. of Computer Science University.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—4-1 Implementing Inter-VLAN Routing Deploying Multilayer Switching with Cisco Express Forwarding.
1 ELEN 602 Lecture 18 Packet switches Traffic Management.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 High Speed Router Design Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
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.
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.
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.
UCB Switches Jean Walrand U.C. Berkeley
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 High Speed Router Design Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
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
Big, Fast Routers Dave Andersen CMU CS
t Popularity of the Internet t Provides universal interconnection between individual groups that use different hardware suited for their needs t Based.
EE 122: Router Design Kevin Lai September 25, 2002.
1 A Fast IP Lookup Scheme for Longest-Matching Prefix Authors: Lih-Chyau Wuu, Shou-Yu Pin Reporter: Chen-Nien Tsai.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Introduction.
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.
ECE 526 – Network Processing Systems Design
UCB Switches Jean Walrand U.C. Berkeley
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
Paper Review Building a Robust Software-based Router Using Network Processors.
Professor Yashar Ganjali Department of Computer Science University of Toronto
ECE 526 – Network Processing Systems Design Network Processor Architecture and Scalability Chapter 13,14: D. E. Comer.
CS 3035/GZ01: Networked Systems Kyle Jamieson Department of Computer Science University College London Inside Internet Routers.
CS 552 Computer Networks IP forwarding Fall 2005 Rich Martin (Slides from D. Culler and N. McKeown)
TO p. 1 Spring 2006 EE 5304/EETS 7304 Internet Protocols Tom Oh Dept of Electrical Engineering Lecture 9 Routers, switches.
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”
Routers. These high-end, carrier-grade 7600 models process up to 30 million packets per second (pps).
Computer Networks: Switching and Queuing Ivan Marsic Rutgers University Chapter 4 – Switching and Queuing Delay Models.
ISLIP Switch Scheduler Ali Mohammad Zareh Bidoki April 2002.
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.
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,
Stress Resistant Scheduling Algorithms for CIOQ Switches Prashanth Pappu Applied Research Laboratory Washington University in St Louis “Stress Resistant.
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 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,
Spring 2000CS 4611 Router Construction Outline Switched Fabrics IP Routers Extensible (Active) Routers.
Techniques for Fast Packet Buffers Sundar Iyer, Nick McKeown Departments of Electrical Engineering & Computer Science, Stanford.
Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai.
scheduling for local-area networks”
Weren’t routers supposed
Packet Forwarding.
Addressing: Router Design
Chapter 4: Network Layer
CS 31006: Computer Networks – The Routers
Advance Computer Networking
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Project proposal: Questions to answer
Techniques and problems for
Chapter 4: Network Layer
Presentation transcript:

Router Architecture : Building high-performance routers Ian Pratt University of Cambridge Computer Laboratory Often its the backbone thats slow My guess is that it will be more frequentky in future... Look at why...

IP Routers Need big, fast routers Rapidly becoming a bottleneck Particularly at POPs for interconnecting ISPs Densely connected mesh of high speed links Often need features too : filtering, accounting etc. Rapidly becoming a bottleneck Best today: sixteen OC-192 ports Fortunately, routeing is parallelize-able Have beaten Moore's Law : 70% vs. 60% p.a. Recent DWDM advances running at 180% p.a. ! Insufficient to just have links – need switches/routers to build a network Cisco GSR 12416 Costs millions, consumes 5kW

Router Evolution First generation Second generation Workstation with multiple line cards connected via a bus Software address lookup and header rewrite Buffering in main memory Second generation Forwarding cache & header rewrite on line card Peer to peer transfers between line cards Buffer memory on line cards to decouple bus scheduling

Router Evolution Shared bus became a bottleneck Third generation Space-division switched back plane pt2pt connections between fabric and line cards All buffering on line cards Full forwarding table CPU card only used for control plane Routeing table calculation Fourth generation Optical links between line cards and switch fabric

IP Address Lookup Longest prefix match lookup (find most specific route) Map to output port number Currently, about 120k routes and growing Internet core routers need full table No default route 99.5% of prefixes ≤ 24 bits (50% are 24 bits) Packet rates high on high speed links 40 byte packet every 32ns on OC-192 10Gb/s

Hardware address lookup Binary trie Iterative tree descent until leaf node reached Compact representation, but Lots of memory accesses in common case 24-8 direct lookup trie 224 entry lookup table (16.8MB) with 2nd level table for the infrequent longer prefixes Vast majority of entries will be duplicates, but Only $20 of DRAM Normally one lookup per memory access

Packet Buffer Requirements Routers typically have 1x b/w delay product of buffering per port e.g. for OC-768 : 250ms x 40Gb/s =1.25GB/port Need DRAM for density but random access too slow currently around 50ns and improving at only 7% p.a. 40 byte packet every 8ns at OC-768 Use small SRAM at head and tail of a DRAM FIFO to batch packets and make use of DRAM's fast sequential access modes to the same DRAM row

Switch fabric Design Ideal fabric would allow every input port to send to the same output port simultaneously So-called output buffered switch Implementation infeasible / unnecessary Input-buffered switches used in practice Simple design suffers from head-of-line blocking Limit of 58% of max throughput for random traffic May be able to run fabric at greater than line speed

Switch Fabric Design Use "virtual output queues" on input ports Scheduler to try and maximise fabric utilization Easier if central scheduling is done in discrete rounds Fixed time (size) slots Choose links on request graph such as to maximise the number of output ports in use in each slot time Bipartite match Maximum Weight Matching now realisable Previously used an approximation In future, parallel packet switching with load balancing looks promising