Summary of switching theory Balaji Prabhakar Stanford University.

Slides:



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

Lecture 12. Emulating the Output Queue So far we have shown that it is possible to obtain the same throughput with input queueing as with output queueing.
Belief-Propagation Assisted Scheduling in Input-Queued Switches S. Atalla 1, D. Cuda 2, P. Giaccone 1, M. Pretti 2 1 Politecnico di Torino 2 Italian National.
Modeling the Interactions of Congestion Control and Switch Scheduling Alex Shpiner Joint work with Isaac Keslassy Faculty of Electrical Engineering Faculty.
Router Architecture : Building high-performance routers Ian Pratt
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.
Routers with a Single Stage of Buffering Sundar Iyer, Rui Zhang, Nick McKeown High Performance Networking Group, Stanford University,
Towards Simple, High-performance Input-Queued Switch Schedulers Devavrat Shah Stanford University Berkeley, Dec 5 Joint work with Paolo Giaccone and Balaji.
A Scalable Switch for Service Guarantees Bill Lin (University of California, San Diego) Isaac Keslassy (Technion, Israel)
Algorithm Orals Algorithm Qualifying Examination Orals Achieving 100% Throughput in IQ/CIOQ Switches using Maximum Size and Maximal Matching Algorithms.
Making Parallel Packet Switches Practical Sundar Iyer, Nick McKeown Departments of Electrical Engineering & Computer Science,
Fast Matching Algorithms for Repetitive Optimization Sanjay Shakkottai, UT Austin Joint work with Supratim Deb (Bell Labs) and Devavrat Shah (MIT)
1 Input Queued Switches: Cell Switching vs. Packet Switching Abtin Keshavarzian Joint work with Yashar Ganjali, Devavrat Shah Stanford University.
1 Comnet 2006 Communication Networks Recitation 5 Input Queuing Scheduling & Combined Switches.
The Concurrent Matching Switch Architecture Bill Lin (University of California, San Diego) Isaac Keslassy (Technion, Israel)
1 Architectural Results in the Optical Router Project Da Chuang, Isaac Keslassy, Nick McKeown High Performance Networking Group
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Input-Queued.
1 ENTS689L: Packet Processing and Switching Buffer-less Switch Fabric Architectures Buffer-less Switch Fabric Architectures Vahid Tabatabaee Fall 2006.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion MSM.
CSIT560 by M. Hamdi 1 Course Exam: Review April 18/19 (in-Class)
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion The.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Scaling.
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.
CS 268: Lecture 12 (Router Design) Ion Stoica March 18, 2002.
1 EE384Y: Packet Switch Architectures Part II Load-balanced Switches Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University.
Maximum Size Matchings & Input Queued Switches Sundar Iyer, Nick McKeown High Performance Networking Group, 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.
COMP680E by M. Hamdi 1 Course Exam: Review April 17 (in-Class)
1 Achieving 100% throughput Where we are in the course… 1. Switch model 2. Uniform traffic  Technique: Uniform schedule (easy) 3. Non-uniform traffic,
1 Netcomm 2005 Communication Networks Recitation 5.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Maximal.
Surprise Quiz EE384Z: McKeown, Prabhakar ”Your Worst Nightmares in Packet Switching Architectures”, 3 units [Total time = 15 mins, Marks: 15, Credit is.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Scheduling.
Distributed Scheduling Algorithms for Switching Systems Shunyuan Ye, Yanming Shen, Shivendra Panwar
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.
1 Scheduling Crossbar Switches Who do we chose to traverse the switch in the next time slot? N N 11.
Pipelined Two Step Iterative Matching Algorithms for CIOQ Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York, Stony Brook.
Localized Asynchronous Packet Scheduling for Buffered Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York Stony Brook.
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
Load Balanced Birkhoff-von Neumann Switches
Enabling Class of Service for CIOQ Switches with Maximal Weighted Algorithms Thursday, October 08, 2015 Feng Wang Siu Hong Yuen.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Packet Switches.
EE384y EE384Y: Packet Switch Architectures Part II Scaling Crossbar Switches Nick McKeown Professor of Electrical Engineering and Computer Science,
1 IK1500 Communication Systems IK1500 Anders Västberg
Routers. These high-end, carrier-grade 7600 models process up to 30 million packets per second (pps).
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.
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.
An Introduction to Packet Switching Nick McKeown Assistant Professor of Electrical Engineering and Computer Science, Stanford University
Winter 2006EE384x1 EE384x: Packet Switch Architectures I a) Delay Guarantees with Parallel Shared Memory b) Summary of Deterministic Analysis Nick McKeown.
Winter 2006EE384x Handout 11 EE384x: Packet Switch Architectures Handout 1: Logistics and Introduction Professor Balaji Prabhakar
Buffered Crossbars With Performance Guarantees Shang-Tse (Da) Chuang Cisco Systems EE384Y Thursday, April 27, 2006.
SNRC Meeting June 7 th, Crossbar Switch Scheduling Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University
Improving Matching algorithms for IQ switches Abhishek Das John J Kim.
Topics in Internet Research: Project Scope Mehreen Alam
Scheduling algorithms for CIOQ switches Balaji Prabhakar.
Input buffered switches (1)
Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai.
scheduling for local-area networks”
EE384Y: Packet Switch Architectures Scaling Crossbar Switches
Balaji Prabhakar Departments of EE and CS Stanford University
Weren’t routers supposed
Packet Forwarding.
Addressing: Router Design
Stability Analysis of MNCM Class of Algorithms and two more problems !
Balaji Prabhakar Departments of EE and CS Stanford University
Presentation transcript:

Summary of switching theory Balaji Prabhakar Stanford University

2 Outline of Notes Focus on four types of architecture –Output-queued switches (ideal architecture, not much to say) –Input-queued crossbars –Combined input- and output-queued switches –Buffered crossbars (mentioned briefly)

3 A Detailed Sketch of a Router Network Processor Lookup Engine Network Processor Lookup Engine Network Processor Lookup Engine Interconnection Fabric Switch Output Scheduler Line cardsOutputs Packet Buffers Packet Buffers Packet Buffers

4 Things to Remember/Look for Switch design is mainly influenced by –Cost –Heat dissipation Key technological factors affecting cost and heat –Memory bandwidth (not the size of memory, but its speed) –Complexity of algorithms –Number of off-chip operations (this affects speed) Winning algorithms –Make the right trade-offs –Are very simple In hardware architecture design, switch/router design seems an exception in that theory has made a surprising amount of difference to the practice

5 Evolution of Switches In the beginning, there were only telephone switches Data packet/cell switches came in with ATM –Almost all original designs were either of the shared memory or the output-queued architecture –These architectures were difficult to scale to high bandwidths, because of their very high memory bandwidth requirement Input-queued switches require a low memory bandwidth, hence were seen as very scaleable

6 Evolution of Switches 1987: A very influential paper in switching, by Karol et. al. –IQ switches suffered from the head-of-line blocking phenomenon, which limits their throughput to 58% –This very poor performance nearly killed the IQ architecture Switching theory bifurcates: The IQ and CIOQ researches –The negative result of Karol et. al. generated much interest in the Combined Input- and Output-queued (CIOQ) architecture during the years We will return to CIOQ switches later –For now we will look at developments in the IQ architecture

7 Input-queued Switches

8 Evolution of IQ Switches 1993: Appearance of paper by Anderson et. al. –Showed that head-of-line blocking is easily overcome by the use of virtual output queues, hence higher throughputs are possible; however, VOQs required the switch fabric to be “scheduled” (this is a key trade-off: scheduling problem for memory bandwidth) –Showed that switch scheduling is equivalent to bipartite graph matching, introduced the Parallel Iterative Matching algorithm

9 Evolution of IQ Switches 1995: Nick McKeown develops the iSLIP algorithm in his thesis –Used, in 1996, in Cisco Sytems’ flagship GSR family of routers 1996: Influential paper by McKeown, Walrand and Anantharam –Showed that the Maximum Size Matching does not give 100% throughput –Showed that Maximum Weight Matching does give 100% throughput 1992: Paper by Tassiulas and Ephremides –Showed that the Maximum Weight Matching gives 100% throughput –And many other interesting theoretical results 1998: Tassiulas introduces a randomized version of the MWM algorithm –He showed that this simple algorithm gives 100% throughput –But, its delay performance was very poor 2000: Giaccone, Prabhakar and Shah introduce other randomized algorithms which give 100% throughput with delay very nearly equal to that of the MWM algorithm

10 Performance Analysis of IQ Switches Analyzing throughput –Bernoulli IID input processes: Lyapunov analysis of the Markov chain corresponding to the queue-size process (all papers mentioned previously) –SLLN input processes: Fluid models introduced by Dai and Prabhakar –Adversarial input processes: Analyzed by Andrews and Zhang Analyzing delay performance –Bounds from Lyapunov analysis: Leonardi et al, Kopikare and Shah –Heavy traffic analysis: Stolyar analyzes the MWM algorithm under heavy traffic –Shah and Wischik build on this and analyze MWM algorithms with different queue weights –See talks by Shah and Williams

11 Combined Input- and Output-queued Switches

12 CIOQ Switches Recall the negative result on IQ switches in the paper by Karol et al It started a lot of work on CIOQ switches –The aim was to get the performance of OQ switches at very near the cost of IQ switches –A number of heuristic algorithms, simulations and special-case analyses showed that with a speedup of about 4, a CIOQ switch could approach the performance of an OQ switch IQCIOQOQ Speedup = 1 Inexpensive Poor performance Speedup = 4 or 5? Inexpensive Great performance Speedup = N Expensive Great performance

13 CIOQ Switches Prabhakar and McKeown (1999) –Prove that a CIOQ switch with a speedup of 4 exactly emulates an OQ switch; i.e. there does not exist an input pattern of packets that can distinguish the two switches –They introduced an algorithm called MUCF, which is of the stable marriage type –This result was later improved to 2 by Chuang, Goel, McKeown and P –Related other work due to Charny et al, Krishna et al Iyer, Zhang and McKeown (2002?) generalize the above to switches with a single stage of buffers –Thereby making a theoretical analysis of the Juniper router architecture (which has a shared memory architecture) Dai and Prabhakar (2000) and Leonardi et al (2000) show that any maximal matching algorithm delivers a 100% throughput at a speedup of 2 –This result has a lot of significance for practice because (essentially) all commercial switches employ a speedup close to 2 and (truncated) maximal matching algorithms; so it validated a popular practice

14 Buffered Crossbars This type of fabric is very attractive because –It completely decouples the input from the output –It can handle variable-length packets in a natural way –It sits in some hot-selling networking products: e.g. Cisco’s Catalyst 6000 switch –Very ripe for theoretical study