Load Balancing and Switch Scheduling Xiangheng Liu EE 384Y Final Presentation June 4, 2003.

Slides:



Advertisements
Similar presentations
Hadi Goudarzi and Massoud Pedram
Advertisements

1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Price Of Anarchy: Routing
~1~ Infocom’04 Mar. 10th On Finding Disjoint Paths in Single and Dual Link Cost Networks Chunming Qiao* LANDER, CSE Department SUNY at Buffalo *Collaborators:
An Optimal Lower Bound for Buffer Management in Multi-Queue Switches Marcin Bieńkowski.
Greedy Algorithms Basic idea Connection to dynamic programming
Short-Term Fairness and Long- Term QoS Lei Ying ECE dept, Iowa State University, Joint work with Bo Tan, UIUC and R. Srikant, UIUC.
EE 685 presentation Optimal Control of Wireless Networks with Finite Buffers By Long Bao Le, Eytan Modiano and Ness B. Shroff.
DYNAMIC POWER ALLOCATION AND ROUTING FOR TIME-VARYING WIRELESS NETWORKS Michael J. Neely, Eytan Modiano and Charles E.Rohrs Presented by Ruogu Li Department.
Greedy Algorithms Basic idea Connection to dynamic programming Proof Techniques.
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
Towards Simple, High-performance Input-Queued Switch Schedulers Devavrat Shah Stanford University Berkeley, Dec 5 Joint work with Paolo Giaccone and Balaji.
Hash Tables With Finite Buckets Are Less Resistant to Deletions Yossi Kanizo (Technion, Israel) Joint work with David Hay (Columbia U. and Hebrew U.) and.
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.
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 Ecole Polytechnque, Nov 7, 2007 Scheduling Unit Jobs to Maximize Throughput Jobs:  all have processing time (length) = 1  release time r j  deadline.
Duality Lecture 10: Feb 9. Min-Max theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum Cut Both.
TCP Stability and Resource Allocation: Part I. References The Mathematics of Internet Congestion Control, Birkhauser, The web pages of –Kelly, Vinnicombe,
April 10, HOL Blocking analysis based on: Broadband Integrated Networks by Mischa Schwartz.
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Input-Queued.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion MSM.
Guaranteed Smooth Scheduling in Packet Switches Isaac Keslassy (Stanford University), Murali Kodialam, T.V. Lakshman, Dimitri Stiliadis (Bell-Labs)
Randomized Competitive Analysis for Two Server Problems Wolfgang Bein Kazuo Iwama Jun Kawahara.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
Online Packet Switching Techniques and algorithms Yossi Azar Tel Aviv 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
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.
Virtual Memory.
Yossi Azar Tel Aviv University Joint work with Ilan Cohen Serving in the Dark 1.
By Avinash Sridrahan, Scott Moeller and Bhaskar Krishnamachari.
Enabling Class of Service for CIOQ Switches with Maximal Weighted Algorithms Thursday, October 08, 2015 Feng Wang Siu Hong Yuen.
ECES 741: Stochastic Decision & Control Processes – Chapter 1: The DP Algorithm 31 Alternative System Description If all w k are given initially as Then,
Node-based Scheduling with Provable Evacuation Time Bo Ji Dept. of Computer & Information Sciences Temple University Joint work.
1 Scheduling The part of the OS that makes the choice of which process to run next is called the scheduler and the algorithm it uses is called the scheduling.
Competitive Queue Policies for Differentiated Services Seminar in Packet Networks1 Competitive Queue Policies for Differentiated Services William.
ORSIS Conference, Jerusalem Mountains, Israel May 13, 2007 Yoni Nazarathy Gideon Weiss University of Haifa Yoni Nazarathy Gideon Weiss University of Haifa.
Guaranteed Smooth Scheduling in Packet Switches Isaac Keslassy (Stanford University), Murali Kodialam, T.V. Lakshman, Dimitri Stiliadis (Bell-Labs)
DJW. Infocom 2006 optimal scheduling algorithms for input-queued switches Devavrat Shah, MIT Damon Wischik, UCL Note. The animations in these slides have.
Constructions of Optical Priority Queues Jay Cheng Department of Electrical Engineering & Institute of Communications Engineering National Tsing Hua University.
Order Optimal Delay for Opportunistic Scheduling In Multi-User Wireless Uplinks and Downlinks Michael J. Neely University of Southern California
Network teleology Damon Wischik
Reduced Rate Switching in Optical Routers using Prediction Ritesh K. Madan, Yang Jiao EE384Y Course Project.
Throughput of Internally Buffered Crossbar Switch Saturday, February 20, 2016 Mingjie Lin
Block-Based Packet Buffer with Deterministic Packet Departures Hao Wang and Bill Lin University of California, San Diego HSPR 2010, Dallas.
A Load Balanced Switch with an Arbitrary Number of Linecards I.Keslassy, S.T.Chuang, N.McKeown ( CSL, Stanford University ) Some slides adapted from authors.
Input buffered switches (1)
1 Chapter 7 Network Flow Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Clustering Data Streams A presentation by George Toderici.
Approximation Algorithms based on linear programming.
Online Bipartite Matching with Augmentations Presentation by Henry Lin Joint work with Kamalika Chaudhuri, Costis Daskalakis, and Robert Kleinberg.
11-1 Lyapunov Based Redesign Motivation But the real system is is unknown but not necessarily small. We assume it has a known bound. Consider.
Analysis of Maximum Size Matching scheduling algorithm (MSM) in input- queued switches under uniform traffic Neda Beheshti and Mohsen Bayati {nbehesht,
Section 5.4 Flow Models, Optimal Routing, and Topological Design p.1.
scheduling for local-area networks”
The Duality Theorem Primal P: Maximize
Balaji Prabhakar Departments of EE and CS Stanford University
Chapter 7 Network Flow Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Searching: linear & binary
Balaji Prabhakar Departments of EE and CS Stanford University
EE384Y: Packet Switch Architectures II
An Optimal Lower Bound for Buffer Management in Multi-Queue Switches
Optimal Control for Generalized Network-Flow Problems
Satellite Packet Communications A UNIT -V Satellite Packet Communications.
Presentation transcript:

Load Balancing and Switch Scheduling Xiangheng Liu EE 384Y Final Presentation June 4, 2003

Motivation – Duality? Load Balancing Algorithms –Join the Shortest Queue (SQ) –Join a random queue (RAND) –Join the Shortest Queue of Randomly Chosen d queues (SQ(d)) –Randomization with Memory (SQ(d,m)) Bandwidth Allocation Algorithms –Longest Queue First (LQF) –Serve a random queue (RAND) –Serve the Longest Queue of Randomly chosen d queues (LQF(d)) –Randomization with Memory (LQF(d,m))

One Dimensional Case Queue Dynamics Linear Approximation Taking the negative Let we have

Intuition for the Resemblance Bandwidth allocation  Load balancing Trick: Negative dual system Cast bandwidth allocation as load balancing –Reverse the directions of all arrows –Arrivals: arrival of tokens = departure of packets –System state = Number of tokens (Note: the state is always less or equal to 0) –Service: departure of tokens = arrival of packet SQ in load balancing will translate to LQF in bandwidth allocation based on this duality. Duality only true for linear approximation.

2-D: N x N crossbar switch One arrival at a given input per time slot. No buffering at the input. Each block can only read from one input per time slot.

Dual of MWM in Load Balancing Load balancing in crossbar switches is essentially a matching problem. Switch scheduling is better studied in 2-D. Cast load balancing as switch scheduling. Design load balancing algorithm based on MWM scheduling. –At time n, if there is no packet arriving at input i, we let q ij =  for all j = 1, …, N. –Find a matching that minimizes the weighted sum of queue lengths.

Joint Load Balancing and Switch Scheduling: 1-D Dual algorithms usually give optimal solutions for linear systems. –Kalman filter and State feedback controller –Linear Modulation and Matched filter. Load Balancer Bandwidth Allocator Poisson(n ) exp(n)

Mean Field Analysis Assume the load balancer uses SQ(d) and the bandwidth allocation adopts LQF(d). s i (t) – fraction of queues with load at least i. Mean Field Analysis – differential equation In Equilibrium, Backward Recursion:

Performance Comparison

Entropy Rate of Load Balancing System Entropy rate of one dimensional load balancing system with a class of randomized algorithm. Theorem 1 [Nair, et. Al. 2001] Under mild conditions, the entropy rate of queue size process of the load balancing system with any algorithm describable by the coin toss model is equal to (H ER (A) + H(S) + H(C)). Same class of randomized algorithm exists for bandwidth allocation. If the queue dynamics were linear, the dual bandwidth allocation system should have the same entropy rate.

Dual Analysis – Entropy rate of randomized bandwidth allocation Failed Attempt – try to prove the two systems have equal entropy rates. Conjecture 1 – The dual bandwidth allocation system has an entropy rate that is upper bounded by (H ER (A) + H(S) + H(I) + H(C)) and lower bounded by (H ER (A) + H(S+I)). The bijection that proves Theorem 1 for load balancing is not true for switch scheduling. Reason – the server may choose an empty queue with the result of coin tosses and it will be tossed again in the next time slot.

Conclusions The Load Balancing and Switch Scheduling are duals of each other if we assume the linear queue dynamics approximation. We can design new algorithms in one area by taking advantage of the research in the other. Joint load balancing algorithms lead to great performance gains over the system where only load balancing is used. Failed attempt – relate the entropy rates of the dual systems.