CS 4594 Broadband Switch Analysis.

Slides:



Advertisements
Similar presentations
Lecture 5 This lecture is about: Introduction to Queuing Theory Queuing Theory Notation Bertsekas/Gallager: Section 3.3 Kleinrock (Book I) Basics of Markov.
Advertisements

Markov Models.
CS 241 Spring 2007 System Programming 1 Queuing Framework for Process Management Evaluation Lecture 20 Klara Nahrstedt.
Lecture 3  A round up of the most important basics I haven’t covered yet.  A round up of some of the (many) things I am missing out of this course (ATM,
Discrete Time Markov Chains
1 ELEN 602 Lecture 8 Review of Last lecture –HDLC, PPP –TDM, FDM Today’s lecture –Wavelength Division Multiplexing –Statistical Multiplexing –Preliminary.
Routers with a Single Stage of Buffering Sundar Iyer, Rui Zhang, Nick McKeown High Performance Networking Group, Stanford University,
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Review.
Performance analysis for high speed switches Lecture 6.
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.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Input-Queued.
Single queue modeling. Basic definitions for performance predictions The performance of a system that gives services could be seen from two different.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Statistical.
Lecture 11. Matching A set of edges which do not share a vertex is a matching. Application: Wireless Networks may consist of nodes with single radios,
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/28/20151.
On G-network and resource allocation in multimedia systems 報告者 : 王敬育.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
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.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
Lesson 11: Solved M/G/1 Exercises
April 10, HOL Blocking analysis based on: Broadband Integrated Networks by Mischa Schwartz.
CDA6530: Performance Models of Computers and Networks Examples of Stochastic Process, Markov Chain, M/M/* Queue TexPoint fonts used in EMF. Read the TexPoint.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
LOGIC GATES Logic generally has only 2 states, ON or OFF, represented by 1 or 0. Logic gates react to inputs in certain ways. Symbol for AND gate INPUT.
“A non parametric estimate of performance in queueing models with long-range correlation, with applications to telecommunication” Pier Luigi Conti, Università.
Network Analysis A brief introduction on queues, delays, and tokens Lin Gu, Computer Networking: A Top Down Approach 6 th edition. Jim Kurose.
Probability Review Thinh Nguyen. Probability Theory Review Sample space Bayes’ Rule Independence Expectation Distributions.
1 Chapter 5 Flow Lines Types Issues in Design and Operation Models of Asynchronous Lines –Infinite or Finite Buffers Models of Synchronous (Indexing) Lines.
Propagation Delay and Receiver Collision Analysis in WDMA Protocols I.E. Pountourakis, P.A. Baziana and G. Panagiotopoulos School of Electrical and Computer.
MIT Fun queues for MIT The importance of queues When do queues appear? –Systems in which some serving entities provide some service in a shared.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Structure of a Waiting Line System Queuing theory is the study of waiting lines Four characteristics of a queuing system: –The manner in which customers.
Introduction to Queueing Theory
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
Network Design and Analysis-----Wang Wenjie Queuing Theory III: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
CDA6530: Performance Models of Computers and Networks Chapter 7: Basic Queuing Networks TexPoint fonts used in EMF. Read the TexPoint manual before you.
Queuing Theory and Traffic Analysis Based on Slides by Richard Martin.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
CS 4594 Broadband Intro to Queuing Theory. Kendall Notation Kendall notation: [Kendal 1951] A/B/c/k/m/Z A = arrival probability distribution (most often.
Throughput of Internally Buffered Crossbar Switch Saturday, February 20, 2016 Mingjie Lin
Availability Availability - A(t)
Much More About Markov Chains
Dynamic Graph Partitioning Algorithm
Discrete Time Markov Chains
Internet Queuing Delay Introduction
Professor Arne Thesen, University of Wisconsin-Madison
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
Models for Calculating Blocking Probabilities
Internet Queuing Delay Introduction
Dusit Niyato, Student Member, IEEE Ekram Hossain, Senior Member, IEEE
Chapter 5 Markov Analysis
Handling Routing Transport Haifa JFK TLV BGN To: Yishay From: Vered
TexPoint fonts used in EMF.
Queueing networks.
Javad Ghaderi, Tianxiong Ji and R. Srikant
Queuing Theory III.
Queuing Theory III.
Queueing Theory 2008.
Queuing Theory III.
Packet #12 Composite, One-to-one, and Inverse Functions
Chapter 2 Machine Interference Model
TexPoint fonts used in EMF.
CS723 - Probability and Stochastic Processes
Lecture 5 This lecture is about: Introduction to Queuing Theory
VIRTUE MARYLEE MUGURACHANI QUEING THEORY BIRTH and DEATH.
Switch Performance Analysis and Design Improvements
Presentation transcript:

CS 4594 Broadband Switch Analysis

Diagram of Buffered Switch N outputs N inputs buffer buffer buffer buffer buffer buffer buffer buffer buffer

General Queuing Assumptions For this NxN switch: Assume that at each clock cycle, cells arrive evenly on each input, say with probability p. Assume the probability of each incoming cell on any input going to any particular output is the same. Then the probability of a cell arriving at input i and going to output j is p/N. What is the probability that m cells arrive at output j at the same time?

Diagram of Input Buffered Switch N outputs N inputs buffer buffer buffer

Reference Chao, Lam, Oki, Broadband Packet Switching Technologies, Wiley, 2001. De Prycker, Asynchronous Transfer Mode, 3rd Edition, Prentice Hall, 1995.

Assumptions for Input-Buffered N inputs and N outputs Queues are FIFOs Of all the cells destined for a particular output, only one cell can pass through the switch at a time As soon as a cell is taken from the head of the line (HOL) a cell replaces it (saturation)

Assumptions for Input Buffered Switch N = number of inputs. Ai[m] = number of cells arriving at the heads of the queues during the mth time slot and destined for output i. Bi[m]= number of remaining cells at input buffers destined for output i in the mth time slot. Bi[m]= max (0, Bi[m-1]+ Ai[m] –1) F[m] = number of cells transported through switch during mth time slot

Equations for Input Queue

Results for Input Queue Poisson Rate: Steady state:

Results for Input Queue

Input Queuing For saturated switch with an infinite number of inputs Pmax = 0.586

Diagram of Output Buffered Switch N outputs N inputs buffer buffer buffer

Queuing Assumptions The probability of a cell arriving at input i and going to output j is p/N. What is the probability that m cells arrive at output j at the same time?

The Answer = Comb(i, N) (p/N)i (1- p/N)N-i Probability i cells arrive at a certain output queue = Comb(i, N) (p/N)i (1- p/N)N-i Here Comb(i, N) is the combination number of how many ways a group of i items can be chosen from a set of N elements.

Markov Chains Markov Chain: Description of a system in terms of a set of states. The system satisfies the Markov assumption: The future state of the system depends only upon its current state. Each state is assigned a probability and transition from one state to another is determined by a fixed set of transition probabilities.

Assumptions for Output Buffered Ak = Prob[A = k] = Comb(k,N) (p/N)k (1-p/N)N-k Let Q[m] be the number of cells in the ith queue at the end of the mth time slot Q[m] = min(max(0, Q[m-1] + Am – 1), b) A4 A4 A3 A3 A3 A2 A2 A2 A2 A3 A1 A1 A1 A1 1 2 3 A0 A0 A0 A0

Markov Chain for Output Buffered Ak = Prob[A = k] = Comb(k,N) (p/N)k (1-p/N)N-k P[i,j]=Pr[Q[m]=j | Q[m-1]=i] A4 A4 A4 A3 A3 A3 A2 A2 A2 A2 A3 A1 A1 A1 A1 1 2 3 A0 A0 A0 A0

Assumptions for Output Buffered P[i,j]=Pr[Q[m]=j | Q[m-1]=i] P[0,0]=A0+A1 P[0,1]=A2 P[0,2]=A3 … P[0,N]=AN+AN+1+AN+2+…+AM P[1,0]=A0 P[1,1]=A1 P[1,2]=A2 P[1,N]=AN-1+AN+AN+1+…+AM P[2,0]=0 P[2,1]=A0 P[2,2]=A1 P[2,N]=AN-2+AN-1+AN+…+AM P[N,0]=0 P[N,N-1]=A0 P[N,N]=A1+A2+…+AM A4 A4 A4 A4 A3 A3 A3 A3 A2 A2 A2 A2 A1 A1 A1 A1 1 2 3 A0 A0 A0 A0

In and Out 1 2 3 … b in out equation A0*Q0 = A0*Q0 (A0+A1)*Q0 + A0*Q1 (A0+A1)*Q0 + A0*Q1 (A0+A1+…)*Q0 A1*Q0 + A0*Q1 + A0*Q0 = Q0 1 A2*Q0 + A1*Q1 + A0*Q2 (A0+A1+…)*Q1 A2*Q0 + A1*Q1 + A0*Q2 = Q1 2 A3*Q0 + A2*Q1 + A1*Q2 + A0*Q3 (A0+A1+…)*Q2 A3*Q0 + A2*Q1 + A1*Q2 + A0*Q3 = Q2 3 A4*Q0 + A3*Q1 + A2*Q2 + A1*Q3 + A0*Q4 (A0+A1+…)*Q3 A4*Q0 + A3*Q1 + A2*Q2 + A1*Q3 + A0*Q4 = Q3 … ... b Ab+1*Q0 + (Ab+Ab+1)*Q1 + …+ (A2+…+Ab+1)*Qb-1 + (A1+…+ Ab+1)*Qb (A0+A1+…)*Qb Ab+1*Q0 + Ab*Q1 + …+A2*Qb-1 + A1*Qb + A0*Qb-1 + R= Qb

Solving

Generating Function xi = Comb(i, N) (p/N)i (1- p/N)N-i Let xi = Comb(i, N) (p/N)i (1- p/N)N-i Then xi zi , for i = 0, 1, 2, . . ., N = (z (p/N) + (1-p/N))N

Average Queue Size It can be shown that the average queue size is: Q = (N-1)/N p2 /(2 (1-p)) And the average waiting time is W = (N-1)/N p /(2 (1-p))

Graph of Results for N=2, 4, 8, 16 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

Central Queuing Central Queues behave like output queues according to de Precker