DJW. Infocom 2006 optimal scheduling algorithms for input-queued switches Devavrat Shah, MIT Damon Wischik, UCL Note. The animations in these slides have.

Slides:



Advertisements
Similar presentations
Lectures 12&13: Persistent Excitation for Off-line and On-line Parameter Estimation Dr Martin Brown Room: E1k Telephone:
Advertisements

1 Scheduling Reserved Traffic in Input-Queued Switches: New Delay Bounds via Probabilistic Techniques Matthew Andrews and Milan Vojnović Bell Labs, Lucent.
Modeling the Interactions of Congestion Control and Switch Scheduling Alex Shpiner Joint work with Isaac Keslassy Faculty of Electrical Engineering Faculty.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 19 Scheduling IV.
Planning under Uncertainty
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.
Factor Analysis Purpose of Factor Analysis
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.
The Concurrent Matching Switch Architecture Bill Lin (University of California, San Diego) Isaac Keslassy (Technion, Israel)
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion MSM.
1 Scheduling Reserved Traffic in Input-Queued Switches: New Delay Bounds via Probabilistic Techniques Milan Vojnović EPFL Joint work with Matthew Andrews.
Maximum Size Matchings & Input Queued Switches Sundar Iyer, Nick McKeown High Performance Networking Group, Stanford University,
September 23, 2010Neural Networks Lecture 6: Perceptron Learning 1 Refresher: Perceptron Training Algorithm Algorithm Perceptron; Start with a randomly.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Maximal.
CS Dept, City Univ.1 Maximal Lifetime Scheduling for Wireless Sensor Surveillance Networks Prof. Xiaohua Jia Dept. of Computer Science City University.
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.
Distributed Scheduling Algorithms for Switching Systems Shunyuan Ye, Yanming Shen, Shivendra Panwar
Load Balancing and Switch Scheduling Xiangheng Liu EE 384Y Final Presentation June 4, 2003.
Introduction to the design (and analysis) of experiments James M. Curran Department of Statistics, University of Auckland
State-Space Searches. 2 State spaces A state space consists of –A (possibly infinite) set of states The start state represents the initial problem Each.
State-Space Searches.
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.
Buffer Management for Shared- Memory ATM Switches Written By: Mutlu Apraci John A.Copelan Georgia Institute of Technology Presented By: Yan Huang.
Load Balanced Birkhoff-von Neumann Switches
M ULTIFRAME P OINT C ORRESPONDENCE By Naseem Mahajna & Muhammad Zoabi.
CS 8751 ML & KDDSupport Vector Machines1 Support Vector Machines (SVMs) Learning mechanism based on linear programming Chooses a separating plane based.
Summary of switching theory Balaji Prabhakar Stanford University.
Message-Passing for Wireless Scheduling: an Experimental Study Paolo Giaccone (Politecnico di Torino) Devavrat Shah (MIT) ICCCN 2010 – Zurich August 2.
State-Space Searches. 2 State spaces A state space consists of A (possibly infinite) set of states The start state represents the initial problem Each.
Wireless Communication Technologies 1 Phase noise A practical oscillator does not produce a carrier at exactly one frequency, but rather a carrier that.
1 Markov Decision Processes Infinite Horizon Problems Alan Fern * * Based in part on slides by Craig Boutilier and Daniel Weld.
1 Markov Decision Processes Infinite Horizon Problems Alan Fern * * Based in part on slides by Craig Boutilier and Daniel Weld.
LEAST MEAN-SQUARE (LMS) ADAPTIVE FILTERING. Steepest Descent The update rule for SD is where or SD is a deterministic algorithm, in the sense that p and.
REFERENCE INPUTS: The feedback strategies discussed in the previous sections were constructed without consideration of reference inputs. We referred to.
HOMOGENEOUS LINEAR SYSTEMS Up to now we have been studying linear systems of the form We intend to make life easier for ourselves by choosing the vector.
1  Problem: Consider a two class task with ω 1, ω 2   LINEAR CLASSIFIERS.
Network teleology Damon Wischik
Law of Variable Proportions
November 21, 2013Computer Vision Lecture 14: Object Recognition II 1 Statistical Pattern Recognition The formal description consists of relevant numerical.
Queueing in switched networks Damon Wischik, UCL thanks to Devavrat Shah, MIT TexPoint fonts used in EMF. Read the TexPoint manual before you delete this.
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
Energy Optimal Control for Time Varying Wireless Networks Michael J. Neely University of Southern California
Deep Learning Overview Sources: workshop-tutorial-final.pdf
scheduling for local-area networks”
Chapter 6: CPU Scheduling
Feedback Control Systems (FCS)
Module 5: CPU Scheduling
Chapter 6: CPU Scheduling
§1-3 Solution of a Dynamical Equation
Stability Analysis of MNCM Class of Algorithms and two more problems !
Chapter 6: CPU Scheduling
Signals and Systems Lecture 2
Module 5: CPU Scheduling
State-Space Searches.
State-Space Searches.
Introduction to the design (and analysis) of experiments
Chapter 6: CPU Scheduling
State-Space Searches.
Input-queued switches: queueing theory & algorithm design
Module 5: CPU Scheduling
Optimal Control for Generalized Network-Flow Problems
Introduction to Packet Scheduling
Presentation transcript:

DJW. Infocom 2006 optimal scheduling algorithms for input-queued switches Devavrat Shah, MIT Damon Wischik, UCL Note. The animations in these slides have been removed. For the full set of slides, including animations, download

DJW. Infocom 2006 Input-queued crossbar switch The matching (or scheduling) algorithm decides which inputs to match with which outputs What is a good scheduling algorithm? What is the quality of service / queueing performance? What is the relationship between scheduling and performance?

DJW. Infocom 2006 Example: Serve the longer queue first queue size second queue size

DJW. Infocom 2006 Example: Serve the longer queue first queue size second queue size The system is basically one-dimensional + noise If we keep track of the total queue size W, we can deduce the individual queue sizes Q 1 ≈ Q 1 ≈ W /2 This relationship does not depend on the arrival rates (so long as the system is stable)

DJW. Infocom 2006 Example: Serve the longer queue first queue size second queue size first queue second queue total workload Another way to visualize this relationship is to plot both — the actual queue sizes — the queue sizes estimated from the workload W, Q 1 = Q 1 = W /2 These agree almost perfectly

DJW. Infocom 2006 Terminology State space collapse (SSC) –the fact that the vector of queue sizes Q can be written as a function of the workload W, Q =Δ W Workload –a carefully chosen sum of queue sizes Lifting map –Δ Collapsed (or invariant) space –{ (Q 1, Q 2 ) : Q 1 = Q 2 } –more generally, the set of achievable Q =Δ W, as W varies

DJW. Infocom 2006 Input-queued switches have state space collapse! For a n×n switch there are n 2 queues to keep track of The workload vector lists the total queue size for each input port and for each output port, and it has dimension 2n-1 The lifting map Δ depends on the scheduling algorithm Here I’ve illustrated the maximum weight matching scheduler: –at each time step, choose a set of queues to serve so that the sum of their queue sizes is as large as possible output 1output 2output 3output 4 input workload input 1 input 2 input 3 input 4 output workloads measured queue sizes, from a simulation queue sizes inferred from the measured workloads

DJW. Infocom 2006 Technical details Method –write down differential equations describing the system, i.e. a fluid model –use combinatorial techniques to prove convergence, and to characterize the fixed points –use heavy traffic queueing theory to show that as the load on the switch increases, fluctuations in Q away from Δ W become negligible compared to Q Lifting map: for arrival rate matrix λ, q =Δ w is the unique solution to w 1 w 2 w 3 w 4 w1w1 w2w2 w3w3 w4w4

DJW. Infocom 2006 Why is this useful? (I) We’ve shown that Q =Δ W Once we’ve found Δ it’s easy to work out if any queues are persistently small, i.e. guaranteed good quality of service We can also see if giving priority to some queues has a negative impact on others

DJW. Infocom 2006 Why is this useful? (II) We’ve shown that Q =Δ W W is easier to reason about than Q –In those states where every queue is non-zero, the switch is work-conserving (i.e. no service is wasted) –It’s therefore useful to look at the space {W : Δ W >0} and to choose the scheduling algorithm to make this as big as possible We’ve used this to conjecture an optimal scheduling algorithm –i.e. one which never wastes service because of poor scheduling (in a stochastic limit sense) –At each timestep, it considers all max- size matchings, and chooses one with maximum log-weight

DJW. Infocom 2006 Conclusion We have reduced the problem of analysing scheduling algorithms to questions about the algebra of Δ It’s hard algebra! So far we only know Δ for a small class of algorithms, variations on maximum-weight matching The same approach works for any generalized switch, e.g. schedulers in wireless base-stations