Advanced Networking Technologies

Size: px
Start display at page:

Download "Advanced Networking Technologies"

Transcription

1 Advanced Networking Technologies Chapter Routers and Switches - Inputbuffered switches and matchings This chapter is heavily based on material by Holger Karl (Universität Paderborn) and Prof. Yashar Ganjali (University of Toronto) Content Head-of-line blocking the missing analysis A Markov model A closed-form approach Virtual output ueues revisited Under uniform traffic Under non-uniform traffic, with known traffic matrix Under non-uniform traffic, with unknown traffic matrix Maximum size matching Maximum weight matching Maximal size matching

2 Input-Queued Switch: How It Works The switch matches inputs and outputs Packets are ueued at the inputs. Input-Queued Switch: How It Works

3 Input-Queued Switch: Speed-Up Advantage At most one packet leaves from each input (arrives to each output) Þ speed-up=, not N Speedup: Ratio of switch speed/port speed 5 Head-of-Line Blocking Blocked! Blocked! Blocked! The switch is NOT work-conserving! (There is a packet for an output port, but the port is idle.) 6

4 Assumptions for a simple analysis Assumptions: Time is slotted, all packets same size At each time-slot, at each of the N inputs: i.i.d. packet arrivals with probability r Each packet is destined for one of the N outputs uniformly at random By symmetry, consider some given output Scheduling: at each time-slot, each output picks an HoL packet uniformly at random Or is idle if there is no packet for this out More precisely: Largest ½ so that ueues stay finite Question: What throughput r (per link) can we get? HoL Blocking in x Switch 8

5 HoL Blocking in x Switch 9 HoL Blocking in x Switch 0

6 Balls-and-Bins Model Saturated switch Assume infinite number of packets in each ueue 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 Balls reflect ONLY the HoL packets; ueue state not relevant At each time-slot Remove one ball from each non-empty bin Assign new balls to bins with prob. ½, independently and u.a.r. It does not matter which ball we remove (why?!) Balls-and-Bins Model

7 Balls-and-Bins Model Balls-and-Bins Model

8 Markov Chain There are three states for the bin occupancy: (,0), (,), (0,) E.g., (,0) means both HoL packets are destined to first output We get a discrete-time Markov chain: (,0) (,) (0,) 5 Transition Probabilities in Markov Chain Transition from (,0) / / 6

9 Transition Probabilities in Markov Chain Euilibrium state distribution: p={¼, ½, ¼} Output throughput = -P(output empty) = 5% / / / / / (,0) (,) (0,) / / Side Note: State Collapse Symmetric Markov chain State collapse: (,0) and (,) / / / (,0) (,) / Euilibrium (collapsed) state distribution: (/,/) get real state distribution 8

10 x Switch Markov chain with following states: (,0,0),(0,,0),(0,0,), (,,0),(,0,),(,,0),(0,,),(0,,),(,0,) (,,) State collapse into: (,0,0),(,,0) and (,,) / / / /9 /9 (,0,0) (,,0) (,,) /9 /9 / 9 x Switch Euilibrium state distribution Per-output throughput 5% for x, 68% for x but state space explosion for large N 0

11 Content Head-of-line blocking the missing analysis A Markov model A closed-form approach Virtual output ueues revisited Under uniform traffic Under non-uniform traffic, with known traffic matrix Under non-uniform traffic, with unknown traffic matrix Maximum size matching Maximum weight matching Maximal size matching Method #: Closed form euations for balls in bins Suppose (!) we have an M/D/ system Given from Tele/Perf analysis the terms of Pollaczek-Khinchine E{k} = E{T v } = µ Hence for =0 E{k} = ( ) E{k} = For : = p 58%

12 HoL Blocking vs. OQ Switch Delay IQ switch with HoL blocking OQ switch -» 58% 0% 0% 0% 60% 80% 00% Load Content Head-of-line blocking the missing analysis A Markov model A closed-form approach Virtual output ueues revisited Under uniform traffic Under non-uniform traffic, with known traffic matrix Under non-uniform traffic, with unknown traffic matrix Maximum size matching Maximum weight matching Maximal size matching

13 VOQs: How Packets Move VOQs Scheduler 5 Basic Switch Model A (n) A (n) Q (n) D (n) S(n) A N (n) D N (n) A N (n) A N (n) A NN (n) D N (n) D NN (n) N N Q NN (n) 6

14 Notations: Arrivals A ij (n): packet arrivals at input i for output j at time-slot n A ij (n) = 0 or l ij = E[A ij (n)]: arrival rate L=[l ij ]: traffic matrix A=[A ij (n)] admissible iff: For all i, å j l ij < : no input is oversubscribed For all j, å i l ij < : no output is oversubscribed Notations: Schedule Q ij (n): ueue size of VOQ(i,j) Q=[Q ij (n)] S ij (n): whether the schedule connects input i to output j S ij (n) = 0 or No speedup: each input is connected to at most one output, each output to at most one input We will assume that each input is connected to exactly one output, and each output to exactly one input Þ S=[S ij (n)] permutation matrix 8

15 Scheduling Algorithm What it does: determine S(n) How: Either using traffic matrix L, Or, in most cases, using ueue sizes Q(n) (because L unknown) Objective: 00% throughput So that lines are fully utilized Secondary objective: minimize packet delays/backlogs 9 What is 00% throughput? Work-conserving scheduler Definition: If there is one or more packet in the system for an output, then the output is busy. i.e. holds system busy at all times An output ueued switch is trivially work-conserving. Each output can be modeled as an independent single-server ueue If λ < µ then E[Q ij (n)] < c for some c Therefore, we say it achieves 00% throughput. For fixed-sized packets, work-conservation also minimizes average packet delay. Q: What happens when packet sizes vary? Non work-conserving scheduler An input-ueued switch is, in general, non work-conserving. Q: What definitions make sense for 00% throughput? 0

16 Common Definitions of 00% throughput Work-conserving For all n,i,j, Q ij (n) < c, i.e., weaker For all n,i,j, i.e., E[Q ij (n)] < c We will focus on this definition. Departure rate = arrival rate, i.e., Content Head-of-line blocking the missing analysis A Markov model A closed-form approach Virtual output ueues revisited Under uniform traffic Under non-uniform traffic, with known traffic matrix Under non-uniform traffic, with unknown traffic matrix Maximum size matching Maximum weight matching Maximal size matching

17 Uniform Traffic Definition: l ij =l for all i,j i.e., all input-output pairs have same traffic rate Condition for admissible traffic: l < /N Example: Bernoulli traffic l = r/n Arrivals at input i are Bernoulli(r) and i.i.d. 00% Throughput for Uniform Traffic Nearly all algorithms in literature can give 00% throughput when traffic is uniform For example: Uniform cyclic. Random permutation. Wait-until-full. Maximum size matching (MSM). Maximal size matching (e.g. WFA, PIM, islip).

18 Uniform Cyclic Scheduling A B C D A A B C D B C D Each (i, j) pair is served every N time slots: M/D/ λ = r / N < / N /N Stable for r < 5 Wait Until Full We don t have to do much at all to achieve 00% throughput when arrivals are Bernoulli i.i.d. uniform. Simulation suggests that the following algorithm leads to 00% throughput. Wait-until-full: If any VOQ is empty, do nothing (i.e. serve no ueues). If no VOQ is empty, pick a random permutation. 6

19 Simple Algorithms with 00% Throughput Wait until full Uniform Cyclic Maximal Matching Algorithm (islip) MSM Uniform Random Scheduling At each time-slot, pick a schedule u.a.r. among: The N cyclic permutations A B C D Or the N! permutations A A B C D B C D Then P(S i,j =) = /N Q: why? 8

20 Uniform Random Scheduling We get a M/M/ system: = /N µ = /N Birth-death chain We get: E{Delay} / N Stable when r < 9 Table of content Head-of-line blocking the missing analysis A Markov model A recurrence euation approach Virtual output ueues revisited Under uniform traffic Under non-uniform traffic, with known traffic matrix Under non-uniform traffic, with unknown traffic matrix Maximum size matching Maximum weight matching Maximal size matching 0

21 Non-Uniform Traffic Assume the traffic matrix is: = L is admissible and non-uniform Uniform Schedule? What if uniform schedule? Each VOQ serviced at rate µ = /N = / But arrivals to VOQ(,) have rate l = 0.5 Arrival rate > departure rate Þ switch unstable! Need to adapt schedule to traffic matrix.

22 Example Scheduling (Trivial) Assume we know the traffic matrix, it is admissible, and it follows a permutation: Then we can simply choose: = S(n) = , 8n Example Scheduling Assume we know the traffic matrix, and it doesn t follow a permutation. For example: / / 0 0 / / = Then we can choose the seuence of service permutations: S() = ,S() = S() = And either cycle through it or pick randomly In general, if we know an admissible L, can we pick a seuence S(n) so that l < µ?

23 Definitions Doubly Stochastic Matrix: An NxN matrix with nonnegative entries where all rows and all columns sum to. Doubly Sub-Stochastic Matrix: An NxN matrix with nonnegative entries where the sum of entries in each row or column is less than or eual to. 5 Doubly Stochastic Matrices L is admissible, or doubly sub-stochastic Theorem (von Neumann): There exists L ={l ij } such that L < L, i.e. every element of L is smaller than the corresponding element in L, and L is doubly stochastic: å i l ij = å j l ij = Example: = < 0 =

24 Doubly Stochastic Matrices Fact. The set of doubly stochastic matrices is convex, compact (closed and bounded), in R N Fact. Any convex, compact set in R N has extreme points, and is eual to the convex hull of its extreme points (Krein-Milman Theorem) Doubly Stochastic Matrices Theorem (Birkhoff): Permutation matrices are the extreme points of the set of doubly stochastic matrices In other words: Given L, there exist K numbers a k > 0 and K permutation matrices P k such that Von Neumann Birkhoff Note: K apple N N + 8

25 Birkhoff-von Neumann (BvN) Scheduling BvN decomposition: L Þ L Þ {a k, P k } BvN weighted random scheduling: Pick P k with probability a k Theorem: BvN scheduling achieves 00% throughput 9 BvN Example For a given = How do we find a feasible L? Lots of more or less complicated ways possible: Linear optimization Build linear euation system for values added to each additional contraints as needed... ij and add 50

26 BvN Example Lets take the following matrix 0 = How do we get a valid schedule? 5 BvN Example Define the following helper matrix = 0 0 = Choose a permutation P (at random or with a strategy) and subtract it from as often as possible ) =, =

27 BvN Example Repeat! ) =, = ) =, = ) =, = BvN Example Now we know that = = Note that KX i = k= 5

28 Proof: 00% Throughput Lindley s euation: Arrival Rate: P(A ij (n)=) = E[A ij (n)] = l ij Departure Rate: Arrival rate < departure rate 00% throughput 55 Content Head-of-line blocking the missing analysis A Markov model A recurrence euation approach Virtual output ueues revisited Under uniform traffic Under non-uniform traffic, with known traffic matrix Under non-uniform traffic, with unknown traffic matrix Maximum size matching Maximum weight matching Maximal size matching 56

29 Unknown Traffic Matrix We want to maximize throughput Traffic matrix unknown Þ cannot use BvN Idea/intuition: maximize instantaneous throughput In other words: transfer as many packets as possible at each time-slot Maximum Size Matching (MSM) algorithm, using Reuest Graph A bipartite graph: input ports i and output ports j Edge from i to j if Q ij > 0 (ueue size of the virtual output ueue) Goal: Find the largest number of edges such that each node has at most one edge (in or out) 5 Maximum Size Matching (MSM) MSM maximizes instantaneous throughput Q (n)>0 Maximum Size Match Q N (n)>0 Reuest Graph Bipartite Match MSM algorithm: among all maximum size matches, pick a random one 58

30 Implementing MSM How can we find maximum size matches? We do so by recasting the problem as a network flow problem Classic math problem 59 Question Is the intuition right? In particular: Good idea to pick one of several maximum matchings at random? Answer: NO! There is a counter-example for which, in a given VOQ (i,j), l ij < µ ij but MSM does not provide 00% throughput. 60

31 Counter-example Consider the following non-uniform traffic pattern, with Bernoulli i.i.d. arrivals: l = l = /-d l = /-d Three possible matches, S(n): l = /-d Consider the case when Q, Q both have arrivals, w. p. (/ - d) When packets are processed on Q or Q, input is served w. p. at most /. Schedules eually probable Overall, the service rate for input, µ is at most / ( / ) + ( / ) Switch unstable for smaller d µ apple /( / ) apple /( / ) + p =0.059 apple / 6 Table of content Head-of-line blocking the missing analysis A Markov model A closed-form approach Virtual output ueues revisited Under uniform traffic Under non-uniform traffic, with known traffic matrix Under non-uniform traffic, with unknown traffic matrix Maximum size matching Maximum weight matching Maximal size matching 6

32 Scheduling in Input-Queued Switches A (n) A (n) Q (n) S*(n) D (n) A N (n) A N (n) A N (n) D N (n) A NN (n) Q NN (n) N N Problem. Maximum size matching Maximizes instantaneous throughput. Does not take into account VOQ backlogs. Solution. Give higher priority to VOQs which have more packets. Look at the weighted version of the bipartite matching problem 6 Maximum Weight Matching (MWM) Assign weights to the edges of the reuest graph. Q (n)>0 W Assign Weights Q N (n)>0 Reuest Graph W N Weighted Reuest Graph Find the matching with maximum weight. 6

33 MWM Scheduling Create the reuest graph. Find the associated link weights. Find the matching with maximum weight. How? Transfer packets from the ingress lines to egress lines based on the matching. Question. How often do we need to calculate MWM? 65 Options for Weights Longest Queue First (LQF) Weight associated with each link is the length of the corresponding VOQ. MWM tends to give priority to long ueues. Does not necessarily serve the longest ueue. Oldest Cell First (OCF) Weight of each link is the waiting time of the HoL packet in the corresponding ueue. 66

34 Longest Queue First (LQF) LQF is the name given to the maximum weight matching where weight w ij (n) = L ij (n). But the name is so bad that people keep the name MWM! LQF doesn t necessarily serve the longest ueue. Theorem. MWM-LQF scheduling provides 00% throughput. Problem: LQF can leave a short ueue unserved indefinitely. MWM-LQF is very important theoretically: most (if not all) scheduling algorithms that provide 00% throughput for unknown traffic matrices are variants of MWM! 6 Proof Idea: Use Lyapunov Functions Basic idea: when ueues become large, the MWM schedule tends to give them a negative drift. We will try to show that: E{L(n + ) L(n) L(n)} < 0 With L(n) =f(q(n)) being a Lyapunov function and Q(n) an estimate for ueue length written in a single vector Using this method we expect to find E{L(n + ) L(n) L(n)} < Q(n) + c That is for ueues being long enough there is a negative drift 68

35 Lyapunov Analysis Simple Example Suppose we have a long tube Cross section A m Defined value at t=0s Water poured into the tube at a rate of V m /s for t>0s Orifice has an area of a m at the bottom of the tube Let h(t) be the water level What happens? Volume changes according to differential euation g being the gravitational constant Larger volume higher drainage Set h(t) to be a Lyapunov function L(t) dl dt = (V System is stable for any start value A dh dt = V dl dt = (V a p gl(t)) < 0 ) L(t) > V A ga ap gl(t))/a ap gh(t) 69 Lyapunov Functions How we use this approach in general? Find a positive function L(t) that increases with some state of the system Some more properties needed, e.g. needs to map to a real value, smooth, etc. In the example L(t) = p h(t) or L(t) =(h(t)) would have been ok, too Show that dl dt is negative for all t > c Note: it may be positive for values below c, if it is exactly zero after some point the system may be stable depending on the starting conditions Much more theory behind this 0

36 Back to the Outline of the Proof Intuition: Can we find S s.t. for any =,... m,n? Q T (n) apple Q T (n) S T Solution: We look for worst case traffic 0 = argmax Q T (n) With NX MX 8j ij apple, 8i ij apple, 8(i, j) ij 0 i=0 j=0 We know (Birkhoff: "permutations are extreme points of doublystochastic matrices") that is at 0 most: S = argmax Q T (n) S NX 8j S ij =, 8i i=0 j=0 S MX S ij =, 8(i, j) S ij 0 Therefore for any, there is Q T (n) apple Q T (n) S Outline of Proof. We know that if we pick S = argmax Q T (n) S, then Q T (n)( S ) apple 0 S. Next we can use this fact to show that: E{L(n + ) L(n) L(n)} apple Q(n) + c with L(n) =Q T (n)q(n) i.e. a uadratic Lyapunov function.. Hence, if is Q(n) large enough, buffers do not grow. (Of course only once there is a small pause there is an expected single-step downward drift in occupancy.) Note: proof details in paper by McKeown et al.

37 LQF Variants Question: what if w ij (n) =L ij (n) or w ij (n) = L ij (n)? What if weight w ij (n) = W ij (n) (waiting time)? Preference is given to cells that have waited a long time. Is it stable? We call the algorithm OCF (Oldest Cell First). Remember that it doesn t guarantee to serve the oldest cell! Summary of MWM Scheduling MWM LQF scheduling provides 00% throughput. It can starve some of the packets. MWM OCF scheduling gives 00% throughput. No starvation. Question. Are these fast enough to implement in real switches? Not obviously so (recall: 8 ns!) Non-trivial amount of parallelization of these algorithms necessary Or: relax reuirements, look at less challenging version of the matching problem

38 Simulation of Simple x Example 5 Table of content Head-of-line blocking the missing analysis A Markov model A recurrence euation approach Virtual output ueues revisited Under uniform traffic Under non-uniform traffic, with known traffic matrix Under non-uniform traffic, with unknown traffic matrix Maximum size matching Maximum weight matching Maximal size matching 6

39 The Story So Far Output-ueued switches Best performance Impractical need speedup of N Input-ueued switches Head of line blocking à VOQs Known traffic matrix à BvN Unknown traffic matrix à MWM Complexity of Maximum Matchings Maximum Size Matchings: Typical complexity O(N.5 ) Maximum Weight Matchings: Typical complexity O(N ) In general: Hard to implement in hardware Slooooow Can we find a faster algorithm? No, but we can relax the reuirements 8

40 Maximal Matching A maximal matching is a matching in which adding any edge to it destroys the matching property Realization: Maximal matching can be computed by algorithms in which each edge is added one at a time, and is not later removed from the matching No augmenting paths allowed in the Ford-Fulkerson network flow (they remove edges added earlier) Conseuence: no input and output are left unnecessarily idle. 9 Example of Maximal Matching A A A B B B C C C D D D E 5 E 5 E 5 F 6 F 6 F 6 Maximal Size Matching Maximum Size Matching 80

41 Properties of Maximal Matchings In general, maximal matching is much simpler to implement, and has a much faster running time. A maximal size matching is at least half the size of a maximum size matching. (Why?) Most simple case: Greedy LQF Further (more relevant) examples: WFA PIM islip 8 Greedy LQF Greedy LQF (Greedy Longest Queue First) is defined as follows: Pick the VOQ with the most number of packets (if there are ties, pick at random among the VOQs that are tied). Say it is VOQ(i,j ). Then, among all free VOQs, pick again the VOQ with the most number of packets (say VOQ(i,j ), with i i, j j ). Continue likewise until the algorithm converges. Greedy LQF is also called ilqf (iterative LQF) and Greedy Maximal Weight Matching. 8

42 Properties of Greedy LQF The algorithm converges in at most N iterations. (Why?) Greedy LQF results in a maximal size matching. (Why?) Greedy LQF produces a matching that has at least half the size and half the weight of a maximum weight matching. (Why?) 8 Wave Front Arbiter (WFA) [Tamir and Chi, 99] Reuests Match 8

43 Wave Front Arbiter Reuests Match 85 Wave Front Arbiter Implementation,,,, Simple combinational logic blocks,,,,,,,,,,,, 86 86

44 Wave Front Arbiter Wrapped WFA (WWFA) N steps instead of N- Reuests Match 8 Properties of Wave Front Arbiters Feed-forward (i.e. non-iterative) design lends itself to pipelining. Always finds maximal match. Usually reuires mechanism to prevent Q from getting preferential service. In principle, can be distributed over multiple chips. 88

45 Parallel Iterative Matching [Anderson et al., 99] uar selection uar selection # # F: Reuests F: Grant F: Accept/Match 89 PIM Properties Guaranteed to find a maximal match in at most N iterations. (Why?) In each phase, each input and output arbiter can make decisions independently. In general, will converge to a maximal match in <N iterations. How many iterations should we run? 90

46 Parallel Iterative Matching Convergence Time Number of iterations to converge: EU [ i ] N i EC [ ]» logn C N U i = = = # of iterations reuired to resolve connections # of ports # of unresolved connections after iteration i Anderson et al., High-Speed Switch Scheduling for Local Area Networks, Parallel Iterative Matching 9

47 Parallel Iterative Matching PIM with a single iteration 9 Parallel Iterative Matching PIM with iterations 9

48 islip [McKeown et al., 999] # # F: Reuests F: Grant F: Accept/Match 95 islip Operation Grant phase: Each output selects the reuesting input at the pointer, or the next input in round-robin order. It only updates its pointer if the grant is accepted. Accept phase: Each input selects the granting output at the pointer, or the next output in round-robin order. Conseuence: Under high load, grant pointers tend to move to uniue values. 96

49 islip Properties Random under low load TDM under high load Lowest priority to MRU (most recently used) iteration: fair to outputs Converges in at most N iterations. (On average, simulations suggest < log N) Implementation: N priority encoders 00% throughput for uniform i.i.d. traffic. But some pathological patterns can lead to low throughput. 9 islip 98

50 islip 99 islip Implementation Programmable Priority Encoder N Grant Accept log N State N Grant Accept log N Decision N N Grant N Accept log N 00

51 Maximal Matches Maximal matching algorithms are widely used in industry (especially algorithms based on WFA and islip). PIM and islip are rarely run to completion (i.e. they are sub-maximal). We will see that a maximal match with a speedup of is stable for non-uniform traffic. 0 Conclusion Switch architecture decision: Output buffer or input buffer Output buffer conceptually simple, but reuires expensive hardware (switching fabric!) Input buffer replaces hardware by brainware: clever scheduling gives comparable performance with much simpler/cheaper switching fabric But needs non-trivial computational effort 0

52 References Achieving 00% Throughput in an Input-ueued Switch (Extended Version). Nick McKeown, Adisak Mekkittikul, Venkat Anantharam and Jean Walrand. IEEE Transactions on Communications, Vol., No.8, August 999. A Practical Scheduling Algorithm to Achieve 00% Throughput in Input- Queued Switches.. Adisak Mekkittikul and Nick McKeown. IEEE Infocom 98, Vol, pp. 9-99, April 998, San Francisco. A. Schrijver, Combinatorial Optimization - Polyhedra and Efficiency, Springer-Verlag, 00. T. Anderson, S. Owicki, J. Saxe, and C. Thacker, High-Speed Switch Scheduling for Local-Area Networks, ACM Transactions on Computer Systems, II ():9-5, November 99. Y. Tamir and H.-C. Chi, Symmetric Crossbar Arbiters for VLSI Communication Switches, IEEE Transactions on Parallel and Distributed Systems, (j):-, 99. N. McKeown, The islip Scheduling Algorithm for Input-Queued Switches, IEEE/ACM Transactions on Networking, ():88-0, April

Input-queued switches: Scheduling algorithms for a crossbar switch. EE 384X Packet Switch Architectures 1

Input-queued switches: Scheduling algorithms for a crossbar switch. EE 384X Packet Switch Architectures 1 Input-queued switches: Scheduling algorithms for a crossbar switch EE 84X Packet Switch Architectures Overview Today s lecture - the input-buffered switch architecture - the head-of-line blocking phenomenon

More information

A Starvation-free Algorithm For Achieving 100% Throughput in an Input- Queued Switch

A Starvation-free Algorithm For Achieving 100% Throughput in an Input- Queued Switch A Starvation-free Algorithm For Achieving 00% Throughput in an Input- Queued Switch Abstract Adisak ekkittikul ick ckeown Department of Electrical Engineering Stanford University Stanford CA 9405-400 Tel

More information

Stability of the Maximum Size Matching

Stability of the Maximum Size Matching Stability of the Maximum Size Matching Mohsen Bayati Dept. of Electrical Engineering Stanford University Stanford, CA 9405-950 bayati@stanford.edu Neda Beheshti Dept. of Electrical Engineering Stanford

More information

I. INTRODUCTION. This work was supported by a Wakerly Stanford Graduate Fellowship and by the Powell Foundation.

I. INTRODUCTION. This work was supported by a Wakerly Stanford Graduate Fellowship and by the Powell Foundation. Analysis of scheduling algorithms that provide 100% throughput in input-queued switches Isaac Keslassy, Nick McKeown Computer Systems Laboratory, Stanford University Stanford, CA 94305-9030 {keslassy,

More information

Logistics. All the course-related information regarding

Logistics. All the course-related information regarding Logistics All the course-related information regarding - grading - office hours - handouts, announcements - class project: this is required for 384Y is posted on the class website Please take a look at

More information

Fair Scheduling in Input-Queued Switches under Inadmissible Traffic

Fair Scheduling in Input-Queued Switches under Inadmissible Traffic Fair Scheduling in Input-Queued Switches under Inadmissible Traffic Neha Kumar, Rong Pan, Devavrat Shah Departments of EE & CS Stanford University {nehak, rong, devavrat@stanford.edu Abstract In recent

More information

Scheduling Algorithms for Input-Queued Cell Switches. Nicholas William McKeown

Scheduling Algorithms for Input-Queued Cell Switches. Nicholas William McKeown Scheduling Algorithms for Input-Queued Cell Switches by Nicholas William McKeown B.Eng (University of Leeds) 986 M.S. (University of California at Berkeley) 992 A thesis submitted in partial satisfaction

More information

Greedy weighted matching for scheduling the input-queued switch

Greedy weighted matching for scheduling the input-queued switch Greedy weighted matching for scheduling the input-queued switch Andrew Brzezinski and Eytan Modiano Laboratory for Information and Decision Systems Massachusetts Institute of Technology {brzezin,modiano}@mit.edu

More information

Fast Matching Algorithms for Repetitive Optimization: An Application to Switch Scheduling

Fast Matching Algorithms for Repetitive Optimization: An Application to Switch Scheduling Fast Matching Algorithms for Repetitive Optimization: An Application to Switch Scheduling Supratim Deb Bell Labs Research India Bangalore-5607, INDIA Email: supratim@lucent.com Devavrat Shah Massachusetts

More information

Logarithmic Delay for N N Packet Switches Under the Crossbar Constraint

Logarithmic Delay for N N Packet Switches Under the Crossbar Constraint 1 Logarithmic Delay for N N Packet Switches Under the Crossbar Constraint Michael J. Neely, Eytan Modiano, Yuan-Sheng Cheng Abstract We consider the fundamental delay bounds for scheduling packets in an

More information

STABILITY OF MULTICLASS QUEUEING NETWORKS UNDER LONGEST-QUEUE AND LONGEST-DOMINATING-QUEUE SCHEDULING

STABILITY OF MULTICLASS QUEUEING NETWORKS UNDER LONGEST-QUEUE AND LONGEST-DOMINATING-QUEUE SCHEDULING Applied Probability Trust (7 May 2015) STABILITY OF MULTICLASS QUEUEING NETWORKS UNDER LONGEST-QUEUE AND LONGEST-DOMINATING-QUEUE SCHEDULING RAMTIN PEDARSANI and JEAN WALRAND, University of California,

More information

Fairness and Optimal Stochastic Control for Heterogeneous Networks

Fairness and Optimal Stochastic Control for Heterogeneous Networks λ 91 λ 93 Fairness and Optimal Stochastic Control for Heterogeneous Networks sensor network wired network wireless 9 8 7 6 5 λ 48 λ 42 4 3 0 1 2 λ n R n U n Michael J. Neely (USC) Eytan Modiano (MIT) Chih-Ping

More information

Delay Bounds for Approximate Maximum Weight Matching Algorithms for Input Queued Switches

Delay Bounds for Approximate Maximum Weight Matching Algorithms for Input Queued Switches Delay Bounds for Approximate Maximum Weight Matching Algorithms for Input Queued Switches Devavrat Shah, Milind Kopikare devavrat@cs.stanford.edu,kopi@stanford.edu Dept. of CS, Stanford University; Dept.

More information

[6] Chen, M.; Georganas, N.D., A fast algorithm for multi-channel/port traffic scheduling

[6] Chen, M.; Georganas, N.D., A fast algorithm for multi-channel/port traffic scheduling 94 References [] Akata, M.; Karube, S.-I.; Sakamoto, T.; Saito, T.; Yoshida, S.; Maeda, T. A 250 Mb/s 32x32 CMOS crosspoint LSI for ATM switching systems, IEEE J. Solid-State Circuits, Vol.25, No.6, pp.433-439,

More information

Session-Based Queueing Systems

Session-Based Queueing Systems Session-Based Queueing Systems Modelling, Simulation, and Approximation Jeroen Horters Supervisor VU: Sandjai Bhulai Executive Summary Companies often offer services that require multiple steps on the

More information

Strong Performance Guarantees for Asynchronous Buffered Crossbar Schedulers

Strong Performance Guarantees for Asynchronous Buffered Crossbar Schedulers Strong Performance Guarantees for Asynchronous Buffered Crossbar Schedulers Jonathan Turner Washington University jon.turner@wustl.edu January 30, 2008 Abstract Crossbar-based switches are commonly used

More information

Operations Research Letters. Instability of FIFO in a simple queueing system with arbitrarily low loads

Operations Research Letters. Instability of FIFO in a simple queueing system with arbitrarily low loads Operations Research Letters 37 (2009) 312 316 Contents lists available at ScienceDirect Operations Research Letters journal homepage: www.elsevier.com/locate/orl Instability of FIFO in a simple queueing

More information

Optimal scaling of average queue sizes in an input-queued switch: an open problem

Optimal scaling of average queue sizes in an input-queued switch: an open problem DOI 10.1007/s11134-011-9234-1 Optimal scaling of average queue sizes in an input-queued switch: an open problem Devavrat Shah John N. Tsitsiklis Yuan Zhong Received: 9 May 2011 / Revised: 9 May 2011 Springer

More information

Understanding the Capacity Region of the Greedy Maximal Scheduling Algorithm in Multi-hop Wireless Networks

Understanding the Capacity Region of the Greedy Maximal Scheduling Algorithm in Multi-hop Wireless Networks Understanding the Capacity Region of the Greedy Maximal Scheduling Algorithm in Multi-hop Wireless Networks Changhee Joo, Xiaojun Lin, and Ness B. Shroff Abstract In this paper, we characterize the performance

More information

CS 798: Homework Assignment 3 (Queueing Theory)

CS 798: Homework Assignment 3 (Queueing Theory) 1.0 Little s law Assigned: October 6, 009 Patients arriving to the emergency room at the Grand River Hospital have a mean waiting time of three hours. It has been found that, averaged over the period of

More information

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking Lecture 7: Simulation of Markov Processes Pasi Lassila Department of Communications and Networking Contents Markov processes theory recap Elementary queuing models for data networks Simulation of Markov

More information

Understanding the Capacity Region of the Greedy Maximal Scheduling Algorithm in Multi-hop Wireless Networks

Understanding the Capacity Region of the Greedy Maximal Scheduling Algorithm in Multi-hop Wireless Networks Understanding the Capacity Region of the Greedy Maximal Scheduling Algorithm in Multi-hop Wireless Networks Changhee Joo Departments of ECE and CSE The Ohio State University Email: cjoo@ece.osu.edu Xiaojun

More information

Dynamic resource sharing

Dynamic resource sharing J. Virtamo 38.34 Teletraffic Theory / Dynamic resource sharing and balanced fairness Dynamic resource sharing In previous lectures we have studied different notions of fair resource sharing. Our focus

More information

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems  M/M/1  M/M/m  M/M/1/K Queueing Theory I Summary Little s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K " Little s Law a(t): the process that counts the number of arrivals

More information

Understanding the Capacity Region of the Greedy Maximal Scheduling Algorithm in Multi-hop Wireless Networks

Understanding the Capacity Region of the Greedy Maximal Scheduling Algorithm in Multi-hop Wireless Networks 1 Understanding the Capacity Region of the Greedy Maximal Scheduling Algorithm in Multi-hop Wireless Networks Changhee Joo, Member, IEEE, Xiaojun Lin, Member, IEEE, and Ness B. Shroff, Fellow, IEEE Abstract

More information

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions Queueing Theory II Summary! M/M/1 Output process! Networks of Queue! Method of Stages " Erlang Distribution " Hyperexponential Distribution! General Distributions " Embedded Markov Chains M/M/1 Output

More information

On the static assignment to parallel servers

On the static assignment to parallel servers On the static assignment to parallel servers Ger Koole Vrije Universiteit Faculty of Mathematics and Computer Science De Boelelaan 1081a, 1081 HV Amsterdam The Netherlands Email: koole@cs.vu.nl, Url: www.cs.vu.nl/

More information

Performance Evaluation of Queuing Systems

Performance Evaluation of Queuing Systems Performance Evaluation of Queuing Systems Introduction to Queuing Systems System Performance Measures & Little s Law Equilibrium Solution of Birth-Death Processes Analysis of Single-Station Queuing Systems

More information

Technion - Computer Science Department - Ph.D. Thesis PHD Competitive Evaluation of Switch Architectures.

Technion - Computer Science Department - Ph.D. Thesis PHD Competitive Evaluation of Switch Architectures. Competitive Evaluation of Switch Architectures David Hay Competitive Evaluation of Switch Architectures Research Thesis Submitted in Partial Fulfillment of the Requirements for the Degree of Doctor of

More information

Scheduling with Soft Deadlines for Input Queued Switches

Scheduling with Soft Deadlines for Input Queued Switches Scheduling with Soft Deadlines for Input Queued Switches Aditya Dua and Nicholas Bambos Abstract We study the problem of deadline aware scheduling for input queued (IQ) switches. While most research on

More information

Second main application of Chernoff: analysis of load balancing. Already saw balls in bins example. oblivious algorithms only consider self packet.

Second main application of Chernoff: analysis of load balancing. Already saw balls in bins example. oblivious algorithms only consider self packet. Routing Second main application of Chernoff: analysis of load balancing. Already saw balls in bins example synchronous message passing bidirectional links, one message per step queues on links permutation

More information

Stochastic Optimization for Undergraduate Computer Science Students

Stochastic Optimization for Undergraduate Computer Science Students Stochastic Optimization for Undergraduate Computer Science Students Professor Joongheon Kim School of Computer Science and Engineering, Chung-Ang University, Seoul, Republic of Korea 1 Reference 2 Outline

More information

Deadline Aware Scheduling for Input Queued Packet Switches

Deadline Aware Scheduling for Input Queued Packet Switches Deadline Aware Scheduling for Input Queued Packet Switches Aditya Dua and Nicholas Bambos Department of Electrical Engineering, Stanford University 35 Serra Mall, Stanford, CA 9435 Phone: 65-75-555, Fax:

More information

MARKOV PROCESSES. Valerio Di Valerio

MARKOV PROCESSES. Valerio Di Valerio MARKOV PROCESSES Valerio Di Valerio Stochastic Process Definition: a stochastic process is a collection of random variables {X(t)} indexed by time t T Each X(t) X is a random variable that satisfy some

More information

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours.

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours. UNIVERSITY OF YORK MSc Examinations 2004 MATHEMATICS Networks Time Allowed: 3 hours. Answer 4 questions. Standard calculators will be provided but should be unnecessary. 1 Turn over 2 continued on next

More information

Exercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems

Exercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems Exercises Solutions Note, that we have not formulated the answers for all the review questions. You will find the answers for many questions by reading and reflecting about the text in the book. Chapter

More information

Scheduling: Queues & Computation

Scheduling: Queues & Computation Scheduling: Queues Computation achieving baseline performance efficiently Devavrat Shah LIDS, MIT Outline Two models switched network and bandwidth sharing Scheduling: desirable performance queue-size

More information

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017 CPSC 531: System Modeling and Simulation Carey Williamson Department of Computer Science University of Calgary Fall 2017 Motivating Quote for Queueing Models Good things come to those who wait - poet/writer

More information

Performance of Round Robin Policies for Dynamic Multichannel Access

Performance of Round Robin Policies for Dynamic Multichannel Access Performance of Round Robin Policies for Dynamic Multichannel Access Changmian Wang, Bhaskar Krishnamachari, Qing Zhao and Geir E. Øien Norwegian University of Science and Technology, Norway, {changmia,

More information

Dynamic Matching Models

Dynamic Matching Models Dynamic Matching Models Ana Bušić Inria Paris - Rocquencourt CS Department of École normale supérieure joint work with Varun Gupta, Jean Mairesse and Sean Meyn 3rd Workshop on Cognition and Control January

More information

Dynamic Power Allocation and Routing for Time Varying Wireless Networks

Dynamic Power Allocation and Routing for Time Varying Wireless Networks Dynamic Power Allocation and Routing for Time Varying Wireless Networks X 14 (t) X 12 (t) 1 3 4 k a P ak () t P a tot X 21 (t) 2 N X 2N (t) X N4 (t) µ ab () rate µ ab µ ab (p, S 3 ) µ ab µ ac () µ ab (p,

More information

Link Models for Circuit Switching

Link Models for Circuit Switching Link Models for Circuit Switching The basis of traffic engineering for telecommunication networks is the Erlang loss function. It basically allows us to determine the amount of telephone traffic that can

More information

MULTIPLE CHOICE QUESTIONS DECISION SCIENCE

MULTIPLE CHOICE QUESTIONS DECISION SCIENCE MULTIPLE CHOICE QUESTIONS DECISION SCIENCE 1. Decision Science approach is a. Multi-disciplinary b. Scientific c. Intuitive 2. For analyzing a problem, decision-makers should study a. Its qualitative aspects

More information

Queuing Networks. - Outline of queuing networks. - Mean Value Analisys (MVA) for open and closed queuing networks

Queuing Networks. - Outline of queuing networks. - Mean Value Analisys (MVA) for open and closed queuing networks Queuing Networks - Outline of queuing networks - Mean Value Analisys (MVA) for open and closed queuing networks 1 incoming requests Open queuing networks DISK CPU CD outgoing requests Closed queuing networks

More information

Energy Optimal Control for Time Varying Wireless Networks. Michael J. Neely University of Southern California

Energy Optimal Control for Time Varying Wireless Networks. Michael J. Neely University of Southern California Energy Optimal Control for Time Varying Wireless Networks Michael J. Neely University of Southern California http://www-rcf.usc.edu/~mjneely Part 1: A single wireless downlink (L links) L 2 1 S={Totally

More information

ECE-517: Reinforcement Learning in Artificial Intelligence. Lecture 4: Discrete-Time Markov Chains

ECE-517: Reinforcement Learning in Artificial Intelligence. Lecture 4: Discrete-Time Markov Chains ECE-517: Reinforcement Learning in Artificial Intelligence Lecture 4: Discrete-Time Markov Chains September 1, 215 Dr. Itamar Arel College of Engineering Department of Electrical Engineering & Computer

More information

A discrete-time priority queue with train arrivals

A discrete-time priority queue with train arrivals A discrete-time priority queue with train arrivals Joris Walraevens, Sabine Wittevrongel and Herwig Bruneel SMACS Research Group Department of Telecommunications and Information Processing (IR07) Ghent

More information

Linear Model Predictive Control for Queueing Networks in Manufacturing and Road Traffic

Linear Model Predictive Control for Queueing Networks in Manufacturing and Road Traffic Linear Model Predictive Control for ueueing Networks in Manufacturing and Road Traffic Yoni Nazarathy Swinburne University of Technology, Melbourne. Joint work with: Erjen Lefeber (manufacturing), Hai

More information

A Retrial Queueing model with FDL at OBS core node

A Retrial Queueing model with FDL at OBS core node A Retrial Queueing model with FDL at OBS core node Chuong Dang Thanh a, Duc Pham Trung a, Thang Doan Van b a Faculty of Information Technology, College of Sciences, Hue University, Hue, Viet Nam. E-mail:

More information

Part 2: Random Routing and Load Balancing

Part 2: Random Routing and Load Balancing 1 Part 2: Random Routing and Load Balancing Sid C-K Chau Chi-Kin.Chau@cl.cam.ac.uk http://www.cl.cam.ac.uk/~ckc25/teaching Problem: Traffic Routing 2 Suppose you are in charge of transportation. What do

More information

State-dependent and Energy-aware Control of Server Farm

State-dependent and Energy-aware Control of Server Farm State-dependent and Energy-aware Control of Server Farm Esa Hyytiä, Rhonda Righter and Samuli Aalto Aalto University, Finland UC Berkeley, USA First European Conference on Queueing Theory ECQT 2014 First

More information

A POMDP Framework for Cognitive MAC Based on Primary Feedback Exploitation

A POMDP Framework for Cognitive MAC Based on Primary Feedback Exploitation A POMDP Framework for Cognitive MAC Based on Primary Feedback Exploitation Karim G. Seddik and Amr A. El-Sherif 2 Electronics and Communications Engineering Department, American University in Cairo, New

More information

Introduction to Markov Chains, Queuing Theory, and Network Performance

Introduction to Markov Chains, Queuing Theory, and Network Performance Introduction to Markov Chains, Queuing Theory, and Network Performance Marceau Coupechoux Telecom ParisTech, departement Informatique et Réseaux marceau.coupechoux@telecom-paristech.fr IT.2403 Modélisation

More information

Utility-Maximizing Scheduling for Stochastic Processing Networks

Utility-Maximizing Scheduling for Stochastic Processing Networks Utility-Maximizing Scheduling for Stochastic Processing Networks Libin Jiang and Jean Walrand EECS Department, University of California at Berkeley {ljiang,wlr}@eecs.berkeley.edu Abstract Stochastic Processing

More information

Sensitivity Analysis for Discrete-Time Randomized Service Priority Queues

Sensitivity Analysis for Discrete-Time Randomized Service Priority Queues Sensitivity Analysis for Discrete-Time Randomized Service Priority Queues George Kesidis 1, Takis Konstantopoulos 2, Michael Zazanis 3 1. Elec. & Comp. Eng. Dept, University of Waterloo, Waterloo, ON,

More information

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem Wade Trappe Lecture Overview Network of Queues Introduction Queues in Tandem roduct Form Solutions Burke s Theorem What

More information

Queueing Theory and Simulation. Introduction

Queueing Theory and Simulation. Introduction Queueing Theory and Simulation Based on the slides of Dr. Dharma P. Agrawal, University of Cincinnati and Dr. Hiroyuki Ohsaki Graduate School of Information Science & Technology, Osaka University, Japan

More information

CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs. Instructor: Shaddin Dughmi

CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source

More information

Scheduling I. Today. Next Time. ! Introduction to scheduling! Classical algorithms. ! Advanced topics on scheduling

Scheduling I. Today. Next Time. ! Introduction to scheduling! Classical algorithms. ! Advanced topics on scheduling Scheduling I Today! Introduction to scheduling! Classical algorithms Next Time! Advanced topics on scheduling Scheduling out there! You are the manager of a supermarket (ok, things don t always turn out

More information

Packet Loss Analysis of Load-Balancing Switch with ON/OFF Input Processes

Packet Loss Analysis of Load-Balancing Switch with ON/OFF Input Processes Packet Loss Analysis of Load-Balancing Switch with ON/OFF Input Processes Yury Audzevich, Levente Bodrog 2, Yoram Ofek, and Miklós Telek 2 Department of Information Engineering and Computer Science, University

More information

M/G/1 and M/G/1/K systems

M/G/1 and M/G/1/K systems M/G/1 and M/G/1/K systems Dmitri A. Moltchanov dmitri.moltchanov@tut.fi http://www.cs.tut.fi/kurssit/elt-53606/ OUTLINE: Description of M/G/1 system; Methods of analysis; Residual life approach; Imbedded

More information

Discrete-event simulations

Discrete-event simulations Discrete-event simulations Lecturer: Dmitri A. Moltchanov E-mail: moltchan@cs.tut.fi http://www.cs.tut.fi/kurssit/elt-53606/ OUTLINE: Why do we need simulations? Step-by-step simulations; Classifications;

More information

Distributed Random Access Algorithm: Scheduling and Congesion Control

Distributed Random Access Algorithm: Scheduling and Congesion Control Distributed Random Access Algorithm: Scheduling and Congesion Control The MIT Faculty has made this article openly available. Please share how this access benefits you. Your story matters. Citation As

More information

Maximizing throughput in zero-buffer tandem lines with dedicated and flexible servers

Maximizing throughput in zero-buffer tandem lines with dedicated and flexible servers Maximizing throughput in zero-buffer tandem lines with dedicated and flexible servers Mohammad H. Yarmand and Douglas G. Down Department of Computing and Software, McMaster University, Hamilton, ON, L8S

More information

THROUGHPUT ANALYSIS OF STOCHASTIC NETWORKS USING FLUID LIMITS. By John Musacchio University of California, Santa Cruz and

THROUGHPUT ANALYSIS OF STOCHASTIC NETWORKS USING FLUID LIMITS. By John Musacchio University of California, Santa Cruz and Submitted to the Annals of Applied Probability THROUGHPUT ANALYSIS OF STOCHASTIC NETWORKS USING FLUID LIMITS. By John Musacchio University of California, Santa Cruz and By Jean Walrand University of California,

More information

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1 Queueing systems Renato Lo Cigno Simulation and Performance Evaluation 2014-15 Queueing systems - Renato Lo Cigno 1 Queues A Birth-Death process is well modeled by a queue Indeed queues can be used to

More information

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs LP-Duality ( Approximation Algorithms by V. Vazirani, Chapter 12) - Well-characterized problems, min-max relations, approximate certificates - LP problems in the standard form, primal and dual linear programs

More information

variance of independent variables: sum of variances So chebyshev predicts won t stray beyond stdev.

variance of independent variables: sum of variances So chebyshev predicts won t stray beyond stdev. Announcements No class monday. Metric embedding seminar. Review expectation notion of high probability. Markov. Today: Book 4.1, 3.3, 4.2 Chebyshev. Remind variance, standard deviation. σ 2 = E[(X µ X

More information

Introduction This paper is motivated by the question of whether a predictor of future packet arrivals could improve switch performance. This is a two-

Introduction This paper is motivated by the question of whether a predictor of future packet arrivals could improve switch performance. This is a two- Future Information in Input Queueing Timothy X Brown Electrical & Computer Engineering timxb@colorado.edu Hal Gabow Computer Science hal@cs.colorado.edu University of Colorado Boulder, CO 80309-0425 Abstract

More information

Problem set 1. (c) Is the Ford-Fulkerson algorithm guaranteed to produce an acyclic maximum flow?

Problem set 1. (c) Is the Ford-Fulkerson algorithm guaranteed to produce an acyclic maximum flow? CS261, Winter 2017. Instructor: Ashish Goel. Problem set 1 Electronic submission to Gradescope due 11:59pm Thursday 2/2. Form a group of 2-3 students that is, submit one homework with all of your names.

More information

Congestion Control In The Internet Part 1: Theory. JY Le Boudec 2018

Congestion Control In The Internet Part 1: Theory. JY Le Boudec 2018 Congestion Control In The Internet Part 1: Theory JY Le Boudec 2018 1 Contents 1. What is the problem; congestion collapse 2. Efficiency versus Fairness 3. Definitions of fairness 4. Additive Increase

More information

CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi

CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source Shortest

More information

Queues and Queueing Networks

Queues and Queueing Networks Queues and Queueing Networks Sanjay K. Bose Dept. of EEE, IITG Copyright 2015, Sanjay K. Bose 1 Introduction to Queueing Models and Queueing Analysis Copyright 2015, Sanjay K. Bose 2 Model of a Queue Arrivals

More information

A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers

A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers UNIVERSITY OF OKLAHOMA GENERAL EXAM REPORT A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers Prepared by HUSNU SANER NARMAN husnu@ou.edu based on the papers 1) F. S.

More information

Computer Networks More general queuing systems

Computer Networks More general queuing systems Computer Networks More general queuing systems Saad Mneimneh Computer Science Hunter College of CUNY New York M/G/ Introduction We now consider a queuing system where the customer service times have a

More information

Markov Chain Model for ALOHA protocol

Markov Chain Model for ALOHA protocol Markov Chain Model for ALOHA protocol Laila Daniel and Krishnan Narayanan April 22, 2012 Outline of the talk A Markov chain (MC) model for Slotted ALOHA Basic properties of Discrete-time Markov Chain Stability

More information

This lecture is expanded from:

This lecture is expanded from: This lecture is expanded from: HIGH VOLUME JOB SHOP SCHEDULING AND MULTICLASS QUEUING NETWORKS WITH INFINITE VIRTUAL BUFFERS INFORMS, MIAMI Nov 2, 2001 Gideon Weiss Haifa University (visiting MS&E, Stanford)

More information

Environment (E) IBP IBP IBP 2 N 2 N. server. System (S) Adapter (A) ACV

Environment (E) IBP IBP IBP 2 N 2 N. server. System (S) Adapter (A) ACV The Adaptive Cross Validation Method - applied to polling schemes Anders Svensson and Johan M Karlsson Department of Communication Systems Lund Institute of Technology P. O. Box 118, 22100 Lund, Sweden

More information

Introduction to Queueing Theory with Applications to Air Transportation Systems

Introduction to Queueing Theory with Applications to Air Transportation Systems Introduction to Queueing Theory with Applications to Air Transportation Systems John Shortle George Mason University February 28, 2018 Outline Why stochastic models matter M/M/1 queue Little s law Priority

More information

M/G/FQ: STOCHASTIC ANALYSIS OF FAIR QUEUEING SYSTEMS

M/G/FQ: STOCHASTIC ANALYSIS OF FAIR QUEUEING SYSTEMS M/G/FQ: STOCHASTIC ANALYSIS OF FAIR QUEUEING SYSTEMS MOHAMMED HAWA AND DAVID W. PETR Information and Telecommunications Technology Center University of Kansas, Lawrence, Kansas, 66045 email: {hawa, dwp}@ittc.ku.edu

More information

Representations of All Solutions of Boolean Programming Problems

Representations of All Solutions of Boolean Programming Problems Representations of All Solutions of Boolean Programming Problems Utz-Uwe Haus and Carla Michini Institute for Operations Research Department of Mathematics ETH Zurich Rämistr. 101, 8092 Zürich, Switzerland

More information

4 Elementary matrices, continued

4 Elementary matrices, continued 4 Elementary matrices, continued We have identified 3 types of row operations and their corresponding elementary matrices. If you check the previous examples, you ll find that these matrices are constructed

More information

Competitive Management of Non-Preemptive Queues with Multiple Values

Competitive Management of Non-Preemptive Queues with Multiple Values Competitive Management of Non-Preemptive Queues with Multiple Values Nir Andelman and Yishay Mansour School of Computer Science, Tel-Aviv University, Tel-Aviv, Israel Abstract. We consider the online problem

More information

Multimedia Communication Services Traffic Modeling and Streaming

Multimedia Communication Services Traffic Modeling and Streaming Multimedia Communication Services Medium Access Control algorithms Aloha Slotted: performance analysis with finite nodes Università degli Studi di Brescia A.A. 2014/2015 Francesco Gringoli Master of Science

More information

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University Che-Wei Chang chewei@mail.cgu.edu.tw Department of Computer Science and Information Engineering, Chang Gung University } 2017/11/15 Midterm } 2017/11/22 Final Project Announcement 2 1. Introduction 2.

More information

Performance Guarantee under Longest-Queue-First Schedule in Wireless Networks

Performance Guarantee under Longest-Queue-First Schedule in Wireless Networks 1 Performance Guarantee under Longest-Queue-First Schedule in Wireless Networks Bo Li, Cem Boyaci and Ye Xia Computer and Information Science and Engineering Department, University of Florida, Gainesville,

More information

A Semiconductor Wafer

A Semiconductor Wafer M O T I V A T I O N Semi Conductor Wafer Fabs A Semiconductor Wafer Clean Oxidation PhotoLithography Photoresist Strip Ion Implantation or metal deosition Fabrication of a single oxide layer Etching MS&E324,

More information

A Measurement-Analytic Approach for QoS Estimation in a Network Based on the Dominant Time Scale

A Measurement-Analytic Approach for QoS Estimation in a Network Based on the Dominant Time Scale 222 IEEE/ACM TRANSACTIONS ON NETWORKING, VOL. 11, NO. 2, APRIL 2003 A Measurement-Analytic Approach for QoS Estimation in a Network Based on the Dominant Time Scale Do Young Eun and Ness B. Shroff, Senior

More information

Equivalent Models and Analysis for Multi-Stage Tree Networks of Deterministic Service Time Queues

Equivalent Models and Analysis for Multi-Stage Tree Networks of Deterministic Service Time Queues Proceedings of the 38th Annual Allerton Conference on Communication, Control, and Computing, Oct. 2000. Equivalent Models and Analysis for Multi-Stage ree Networks of Deterministic Service ime Queues Michael

More information

15-780: LinearProgramming

15-780: LinearProgramming 15-780: LinearProgramming J. Zico Kolter February 1-3, 2016 1 Outline Introduction Some linear algebra review Linear programming Simplex algorithm Duality and dual simplex 2 Outline Introduction Some linear

More information

Delay-Based Back-Pressure Scheduling in. Multihop Wireless Networks

Delay-Based Back-Pressure Scheduling in. Multihop Wireless Networks Delay-Based Back-Pressure Scheduling in Multihop Wireless Networks Bo Ji, Student Member, IEEE, Changhee Joo, Member, IEEE, and Ness B. Shroff, Fellow, IEEE arxiv:0.5674v3 [cs.ni] 7 Nov 202 Abstract Scheduling

More information

Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement

Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement Submitted to imanufacturing & Service Operations Management manuscript MSOM-11-370.R3 Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement (Authors names blinded

More information

Learning Algorithms for Minimizing Queue Length Regret

Learning Algorithms for Minimizing Queue Length Regret Learning Algorithms for Minimizing Queue Length Regret Thomas Stahlbuhk Massachusetts Institute of Technology Cambridge, MA Brooke Shrader MIT Lincoln Laboratory Lexington, MA Eytan Modiano Massachusetts

More information

A STAFFING ALGORITHM FOR CALL CENTERS WITH SKILL-BASED ROUTING: SUPPLEMENTARY MATERIAL

A STAFFING ALGORITHM FOR CALL CENTERS WITH SKILL-BASED ROUTING: SUPPLEMENTARY MATERIAL A STAFFING ALGORITHM FOR CALL CENTERS WITH SKILL-BASED ROUTING: SUPPLEMENTARY MATERIAL by Rodney B. Wallace IBM and The George Washington University rodney.wallace@us.ibm.com Ward Whitt Columbia University

More information

A State Action Frequency Approach to Throughput Maximization over Uncertain Wireless Channels

A State Action Frequency Approach to Throughput Maximization over Uncertain Wireless Channels A State Action Frequency Approach to Throughput Maximization over Uncertain Wireless Channels Krishna Jagannathan, Shie Mannor, Ishai Menache, Eytan Modiano Abstract We consider scheduling over a wireless

More information

Node-based Service-Balanced Scheduling for Provably Guaranteed Throughput and Evacuation Time Performance

Node-based Service-Balanced Scheduling for Provably Guaranteed Throughput and Evacuation Time Performance Node-based Service-Balanced Scheduling for Provably Guaranteed Throughput and Evacuation Time Performance Yu Sang, Gagan R. Gupta, and Bo Ji Member, IEEE arxiv:52.02328v2 [cs.ni] 8 Nov 207 Abstract This

More information

On Optimal Routing in Overloaded Parallel Queues

On Optimal Routing in Overloaded Parallel Queues 5nd IEEE Conference on Decision and Control December -3, 3. Florence, Italy On Optimal Routing in Overloaded Parallel Queues Bin Li, Atilla Eryilmaz, R. Srikant, and Leandros Tassiulas Abstract We consider

More information

The Transition Probability Function P ij (t)

The Transition Probability Function P ij (t) The Transition Probability Function P ij (t) Consider a continuous time Markov chain {X(t), t 0}. We are interested in the probability that in t time units the process will be in state j, given that it

More information

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA 1 / 26 Queueing Review (mostly from BCNN) Christos Alexopoulos and Dave Goldsman Georgia Institute of Technology, Atlanta, GA, USA 10/25/17 2 / 26 Outline 1 Introduction 2 Queueing Notation 3 Transient

More information

Modelling Complex Queuing Situations with Markov Processes

Modelling Complex Queuing Situations with Markov Processes Modelling Complex Queuing Situations with Markov Processes Jason Randal Thorne, School of IT, Charles Sturt Uni, NSW 2795, Australia Abstract This article comments upon some new developments in the field

More information