Data Center Networks and Basic Switching Technologies

Slides:



Advertisements
Similar presentations
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.
Advertisements

ECE506/2 #1Spring 2009 © , Richard A. Stanley ECE537 Advanced and High Performance Networks 1: Network Layer Review Professor Richard A. Stanley,
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.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
EE 122: Router Design Kevin Lai September 25, 2002.
Network Layer4-1 Router Architecture Overview Two key router functions: r run routing algorithms/protocol (RIP, OSPF, BGP) r switching datagrams from incoming.
Data Center Networks and Basic Switching Technologies Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems.
A 50-Gb/s IP Router Authors: Craig Partridge et al. IEEE/ACM TON June 1998 Presenter: Srinivas R. Avasarala CS Dept., Purdue University.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 15.
CS 640: Introduction to Computer Networks
Router Architectures An overview of router architectures.
Router Architectures An overview of router architectures.
12-1 Last time □ BGP policy □ Broadcast / multicast routing ♦ Spanning trees Source-based, group-shared, center-based ♦ Reverse path forwarding, pruning.
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
CS 6401 Routing, Routers, Switching Fabrics Outline Link state routing Link weights Router Design / Switching Fabrics.
Computer Networks Switching Professor Hui Zhang
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All material copyright
1 Wide Area Networks and Internet CT1403 Lecture-8: Internet Network Layer (Part-3) By : Najla Al-Nabhan.
Network Layer – part 31 Customer-Provider Routing Relationships  The Global Internet consists of Autonomous Systems (AS) interconnected with each other:
Lecture 10 Overview. Border Gateway Protocol(BGP) De facto standard for Internet inter-AS routing allows subnet to advertise its existence to rest of.
What’s inside a router. Router architecture overview two key router functions:  run routing algorithms/protocol (RIP, OSPF, BGP)  forwarding datagrams.
Network Layer —— the core of networking. The Network Core  mesh of interconnected routers  the fundamental question: how is data transferred through.
CS 1652 The slides are adapted from the publisher’s material All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Jack Lange.
A 50-Gb/s IP Router 참고논문 : Craig Partridge et al. [ IEEE/ACM ToN, June 1998 ]
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
CS 4396 Computer Networks Lab Router Architectures.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Forwarding.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r Understand principles behind network layer services: m Routing (path selection) m dealing with.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 9 - ARP, IP Packets and 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.
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.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Chapter 4: Network Layer
Chapter 3 Part 3 Switching and Bridging
Chapter 4 Network Layer All material copyright
Chapter 4: Network Layer
CS/ECE 438: Communication Networks
CS 268: Router Design Ion Stoica February 27, 2003.
CS4470 Computer Networking Protocols
Data Center Networks and Switching and Queueing
Addressing: Router Design
Chapter 4: Network Layer
Chapter 3 Part 3 Switching and Bridging
CS 1652 The slides are adapted from the publisher’s material
Lecture 11 Switching & Forwarding
Chapter 4-1 Network layer
Session 12 INST 346 Technologies, Infrastructure and Architecture
What’s “Inside” a Router?
Network Core and QoS.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
October 26th, 2010 CS1652/Telcom2310 Jack Lange
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.
CS 5565 Network Architecture and Protocols
CSCD 330 Network Programming Winter 2019 Lecture 13 Network Layer
Chapter 3 Part 3 Switching and Bridging
Network Layer: Control/data plane, addressing, routers
Chapter 4: Network Layer
Project proposal: Questions to answer
Computer Networks: Switching and Queuing
Chapter 4: Network Layer
Network Core and QoS.
Control-Data Plane Separation
Presentation transcript:

Data Center Networks and Basic Switching Technologies Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking February 27, 2017 Slides used and adapted judiciously from Computer Networking, A Top-Down Approach

Goals for Today Basic Switching Technologies/Router Architecture Overview See Section 4.3 in book A 50-Gb/s IP Router Craig Partridge , Senior Member , Philip P. Carvey , Isidro Castineyra , Tom Clarke , John Rokosz , Joshua Seeger , Michael Sollins , Steve Starch , Benjamin Tober , Gregory D. Troxel , David Waitzman , Scott Winterble. IEEE/ACM Transactions on Networking (ToN), Volume 6, Issue 3 (June 1998), pages 237-248.

Router Architecture Overview two key router functions: run routing algorithms/protocol (e.g. RIP, OSPF, BGP) forwarding datagrams from incoming to outgoing link forwarding tables computed, pushed to input ports routing processor routing, management control plane (software) forwarding data plane (hardware) high-seed switching fabric router input ports router output ports

Router Architecture Overview Input Port Functions lookup, forwarding queueing line termination link layer protocol (receive) switch fabric physical layer: bit-level reception data link layer: e.g., Ethernet see chapter 5 decentralized switching: given datagram dest., lookup output port using forwarding table in input port memory (“match plus action”) goal: complete input port processing at ‘line speed’ queuing: if datagrams arrive faster than forwarding rate into switch fabric

Router Architecture Overview Switching Fabrics transfer packet from input buffer to appropriate output buffer switching rate: rate at which packets can be transfered from inputs to outputs often measured as multiple of input/output line rate N inputs: switching rate N times line rate desirable three types of switching fabrics memory memory bus crossbar

Router Architecture Overview Switching via Memory: First Generation Routers traditional computers with switching under direct control of CPU packet copied to system’s memory speed limited by memory bandwidth (2 bus crossings per datagram) input port (e.g., Ethernet) memory output system bus

Router Architecture Overview Switching via a bus datagram from input port memory to output port memory via a shared bus bus contention: switching speed limited by bus bandwidth 32 Gbps bus, Cisco 5600: sufficient speed for access and enterprise routers bus

Router Architecture Overview Switching via interconnection network overcome bus bandwidth limitations banyan networks, crossbar, other interconnection nets initially developed to connect processors in multiprocessor advanced design: fragmenting datagram into fixed length cells, switch cells through the fabric. Cisco 12000: switches 60 Gbps through the interconnection network crossbar

Router Architecture Overview Output Ports datagram buffer queueing switch fabric link layer protocol (send) line termination buffering required when datagrams arrive from fabric faster than the transmission rate scheduling discipline chooses among queued datagrams for transmission

Router Architecture Overview Output Port Queuing at t, packets more from input to output one packet time later switch fabric buffering when arrival rate via switch exceeds output line speed queueing (delay) and loss due to output port buffer overflow!

Router Architecture Overview How much buffering? RFC 3439 rule of thumb: average buffering equal to “typical” RTT (say 250 msec) times link capacity C e.g., C = 10 Gpbs link: 2.5 Gbit buffer recent recommendation: with N flows, buffering equal to RTT C . N

Router Architecture Overview Input Port Queuing fabric slower than input ports combined -> queueing may occur at input queues queueing delay and loss due to input buffer overflow! Head-of-the-Line (HOL) blocking: queued datagram at front of queue prevents others in queue from moving forward one packet time later: green packet experiences HOL blocking switch fabric switch fabric output port contention: only one red datagram can be transferred. lower red packet is blocked

Goals for Today Basic Switching Technologies/Router Architecture Overview See Section 4.3 in book A 50-Gb/s IP Router Craig Partridge , Senior Member , Philip P. Carvey , Isidro Castineyra , Tom Clarke , John Rokosz , Joshua Seeger , Michael Sollins , Steve Starch , Benjamin Tober , Gregory D. Troxel , David Waitzman , Scott Winterble. IEEE/ACM Transactions on Networking (ToN), Volume 6, Issue 3 (June 1998), pages 237-248.

Multigigabit Router (MGR) Architecture Network interfaces (Line cards) Forwarding Engine Network Processor Switching Fabric .

Multigigabit Router (MGR) Contributions Network interfaces (Line cards) Forwarding Engine distinct from line cards Forwarding Engine Complete set of forwarding tables, fast path QoS Network Processor Updates Routing Table Separates and handles slow path Switching Fabric Switched backplane

Multigigabit Router (MGR) Forwarding Engine RISC Architecture 64-bit, 415MHz, Alpha 21164 Quad issue (two integer and two floating point every cycle) Cache Dcache and icache 8kB each Secondary Cache (Scache; unified, 96kB) Entire routing table fits in cache Tertiary cache (Bcache; 16MB) 32 Byte cacheline Hardware Software

Case study: P4FPGA Switch P4FPGA: A Rapid Prototyping Framework for P4, Han Wang, Robert Soulé, Huynh Tu Dang, Ki Suh Lee, Vishal Shrivastav, Nate Foster, and Hakim Weatherspoon, To Appear in Proceedings of the ACM Symposium of Software-defined networking Research (SOSR), April 2017

Goals for Today Basic Switching Technologies/Router Architecture Overview See Section 4.3 in book A 50-Gb/s IP Router Craig Partridge , Senior Member , Philip P. Carvey , Isidro Castineyra , Tom Clarke , John Rokosz , Joshua Seeger , Michael Sollins , Steve Starch , Benjamin Tober , Gregory D. Troxel , David Waitzman , Scott Winterble. IEEE/ACM Transactions on Networking (ToN), Volume 6, Issue 3 (June 1998), pages 237-248.

Before Next time Project Proposal HW2 Required review and reading due this Friday, March 3 Meet with groups, TA, and professor HW2 Chat Server Due this next Friday, March 10 Required review and reading “The Worlds Fastest and Programmable Networks”, Barefoot Whitepaper https://www.barefootnetworks.com/media/white_papers/Barefoot-Worlds-Fastest-Most-Programmable-Networks.pdf Check website for updated schedule