048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Input-Queued.

Slides:



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

1 Scheduling Crossbar Switches Who do we chose to traverse the switch in the next time slot? N N 11.
Occupancy Problems m balls being randomly assigned to one of n bins. (Independently and uniformly) The questions: - what is the maximum number of balls.
Optimal-Complexity Optical Router Hadas Kogan, Isaac Keslassy Technion (Israel)
Discrete Time Markov Chains
Modeling the Interactions of Congestion Control and Switch Scheduling Alex Shpiner Joint work with Isaac Keslassy Faculty of Electrical Engineering Faculty.
1 Statistical Analysis of Packet Buffer Architectures Gireesh Shrimali, Isaac Keslassy, Nick McKeown
Submitters: Erez Rokah Erez Goldshide Supervisor: Yossi Kanizo.
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.
Towards Simple, High-performance Input-Queued Switch Schedulers Devavrat Shah Stanford University Berkeley, Dec 5 Joint work with Paolo Giaccone and Balaji.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Review.
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.
Performance analysis for high speed switches Lecture 6.
1 Input Queued Switches: Cell Switching vs. Packet Switching Abtin Keshavarzian Joint work with Yashar Ganjali, Devavrat Shah Stanford University.
Crossbar Switches Crossbar switches are an important general architecture for fast switches. 2 x 2 Crossbar Switches A general N x N crossbar switch.
April 10, HOL Blocking analysis based on: Broadband Integrated Networks by Mischa Schwartz.
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)
Mean Delay in M/G/1 Queues with Head-of-Line Priority Service and Embedded Markov Chains Wade Trappe.
1 Review of Probability Theory [Source: Stanford University]
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion MSM.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion The.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Scaling.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Statistical.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Course.
The Crosspoint Queued Switch Yossi Kanizo (Technion, Israel) Joint work with Isaac Keslassy (Technion, Israel) and David Hay (Politecnico di Torino, Italy)
1 Internet Routers Stochastics Network Seminar February 22 nd 2002 Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University.
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.
Fundamental Complexity of Optical Systems Hadas Kogan, Isaac Keslassy Technion (Israel)
1 Trend in the design and analysis of Internet Routers University of Pennsylvania March 17 th 2003 Nick McKeown Professor of Electrical Engineering and.
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.
Analysis of Input Queueing More complex system to analyze than output queueing case. In order to analyze it, we make a simplifying assumption of "heavy.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Scheduling.
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.
Lesson 11: Solved M/G/1 Exercises
April 10, HOL Blocking analysis based on: Broadband Integrated Networks by Mischa Schwartz.
21 Mar 2002 First Israelli-Swedish Workshop on Next Generation Networking1 / 28 Stochastic Analysis of Wireless-fair Scheduling Hwee Pink Tan and Raphael.
Summary of switching theory Balaji Prabhakar Stanford University.
Network Design and Analysis-----Wang Wenjie Queueing System IV: 1 © Graduate University, Chinese academy of Sciences. Network Design and Analysis Wang.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
1 IK1500 Communication Systems IK1500 Anders Västberg
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).
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,
1 Markov chains and processes: motivations Random walk One-dimensional walk You can only move one step right or left every time unit Two-dimensional walk.
048866: Packet Switch Architectures
Buffered Crossbars With Performance Guarantees Shang-Tse (Da) Chuang Cisco Systems EE384Y Thursday, April 27, 2006.
Dr. Anis Koubâa CS433 Modeling and Simulation
SNRC Meeting June 7 th, Crossbar Switch Scheduling Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University
Topics in Internet Research: Project Scope Mehreen Alam
Throughput of Internally Buffered Crossbar Switch Saturday, February 20, 2016 Mingjie Lin
Virtual-Channel Flow Control William J. Dally
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
Input buffered switches (1)
Analysis of Maximum Size Matching scheduling algorithm (MSM) in input- queued switches under uniform traffic Neda Beheshti and Mohsen Bayati {nbehesht,
scheduling for local-area networks”
Lecture on Markov Chain
CS 4594 Broadband Switch Analysis.
EE 122: Lecture 7 Ion Stoica September 18, 2001.
September 1, 2010 Dr. Itamar Arel College of Engineering
Scheduling Crossbar Switches
Switch Performance Analysis and Design Improvements
Presentation transcript:

048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Input-Queued Switches and Head-of-Line Blocking

Spring – Packet Switch Architectures2 Where We Are  We have studied output-queued and shared- memory switches  Why they provide an ideal performance (work- conserving)  Why they can hardly be implemented (speed-up)  We have studied performance criteria  Fairness  Queue size  We have studied tools for their analysis  Deterministic  Statistical

Spring – Packet Switch Architectures3 Where We Are  We will now study input-queued switches  Why they solve the speed-up problem  A first problem: head-of-line blocking reduces throughput Solution: virtual output queues  A second problem: arbitration between virtual output queues Solution: scheduling algorithms

Spring – Packet Switch Architectures4 Outline 1. Head-of-Line Blocking 2. HoL Blocking in Small Switches 3. 58% Throughput

Spring – Packet Switch Architectures5 Packets are queued at the inputs. Input-Queued Switch: How It Works The switch matches inputs and outputs…

Spring – Packet Switch Architectures6 Input-Queued Switch: How It Works

Spring – Packet Switch Architectures7 Input-Queued Switch: Speed-Up Advantage At most one packet leaves from each input (arrives to each output)  speed-up=1, not N

Spring – Packet Switch Architectures8 Head-of-Line Blocking Blocked! The switch is NOT work-conserving!

Spring – Packet Switch Architectures9 Glimpse: Virtual Output Queues

Spring – Packet Switch Architectures10 Outline 1. Head-of-Line Blocking 2. HoL Blocking in Small Switches 3. 58% Throughput

Spring – Packet Switch Architectures11 Assumptions  As in analysis of OQ switch:  Time is slotted  At each time-slot, at each of the N inputs: Bernoulli IID packet arrivals with probability   Each packet is destined for one of the N outputs uniformly at random  By symmetry, consider some given output  Scheduling: at each time-slot the output picks an HoL u.a.r. What throughput  can we get?

Spring – Packet Switch Architectures12 HoL Blocking in 2x2 Switch

Spring – Packet Switch Architectures13 HoL Blocking in 2x2 Switch

Spring – Packet Switch Architectures14 HoL Blocking in 2x2 Switch

Spring – Packet Switch Architectures15 Balls-and-Bins Model

Spring – Packet Switch Architectures16 Balls-and-Bins Model

Spring – Packet Switch Architectures17 Balls-and-Bins Model

Spring – Packet Switch Architectures18 Balls-and-Bins Model  Saturated switch  Assume infinite number of packets in each queue  They are all destined to some output u.a.r. (random coloring of packets)  Balls-and-bins model  N outputs  N bins  N HoL packets  N balls  At each time-slot 1. Remove one ball from each non-empty bin 2. Assign free balls to bins independently and u.a.r.

Spring – Packet Switch Architectures19 Markov Chain  There are three states for the bin occupancy: (2,0), (1,1), (0,2)  E.g., (2,0) means both HoL packets are destined to first output  We get a Markov chain: (2,0)(1,1)(0,2)

Spring – Packet Switch Architectures20 Transition Probabilities in Markov Chain 1/2  Transition from (2,0)

Spring – Packet Switch Architectures21 Transition Probabilities in Markov Chain (2,0)(1,1)(0,2) 1/2 1/4  Equilibrium state distribution:  ={¼, ½, ¼}  Output throughput=1-P(output empty) =75%

Spring – Packet Switch Architectures22 Side Note: State Collapse (2,0)(1,1) 1/2  Symmetric Markov chain  State collapse: (2,0) and (1,1)  Equilibrium (collapsed) state distribution: (1/2,1/2)  get real state distribution

Spring – Packet Switch Architectures23 3x3 Switch  Markov chain with following states: (3,0,0),(0,3,0),(0,0,3), (2,1,0),(2,0,1),(1,2,0),(0,2,1),(0,1,2),(1,0,2) (1,1,1)  State collapse into: (3,0,0),(2,1,0) and (1,1,1) (3,0,0)(2,1,0)(1,1,1) 1/3 2/3 2/9 1/9

Spring – Packet Switch Architectures24 3x3 Switch  Equilibrium state distribution  Per-output throughput  75% for 2x2, 68% for 3x3… but state space explosion for large N

Spring – Packet Switch Architectures25 Outline 1. Head-of-Line Blocking 2. HoL Blocking in Small Switches 3. 58% Throughput

Spring – Packet Switch Architectures26 Method #2: Recurrence Equations  Consider a given bin (output)  Let X t be the number of balls in this bin  Number of HoL packets for this output  Let A t be the number of arrivals to this bin  Let B t be the number of departures from all bins  The recurrence equation is:

Spring – Packet Switch Architectures27 Method #2: Recurrence Equations  The only queues with new HoL packets are those from which HoL packets left at the last time-slot  A t+1 is the sum of B t Bernoulli I.I.D. variables:

Spring – Packet Switch Architectures28 Method #2: Recurrence Equations  Steady-state: E[B] is N times the per- output throughput  As N ! 1, binomial goes to Poisson and (N  x (1/N) !  (approximation)

Spring – Packet Switch Architectures29 Method #2: Recurrence Equations  Same equations lead to same results (cf OQ switch)  When switch is saturated, there are N balls for N bins: EX=1  Hence

Spring – Packet Switch Architectures30 OQ switch HoL Blocking vs. OQ Switch IQ switch with HoL blocking