Multiaccess Problem. How to let distributed users (efficiently) share a single broadcast channel? How to form a queue for distributed users?

Similar documents
CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

Link Models for Packet Switching

Introduction to queuing theory

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

requests/sec. The total channel load is requests/sec. Using slot as the time unit, the total channel load is 50 ( ) = 1

Solutions to COMP9334 Week 8 Sample Problems

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 "

Chapter 5. Elementary Performance Analysis

Performance Evaluation of Queuing Systems

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

Computer Networks More general queuing systems

CS418 Operating Systems

QUEUING SYSTEM. Yetunde Folajimi, PhD

Chapter 5: Special Types of Queuing Models

Non Markovian Queues (contd.)

Link Models for Circuit Switching

Figure 10.1: Recording when the event E occurs

Introduction to Markov Chains, Queuing Theory, and Network Performance

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

Birth-Death Processes

Queuing Theory. Using the Math. Management Science

Review of Queuing Models

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

CS 798: Homework Assignment 3 (Queueing Theory)

Introduction to Queueing Theory

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

The Timing Capacity of Single-Server Queues with Multiple Flows

Queueing Theory and Simulation. Introduction

Chapter 2 Queueing Theory and Simulation

Introduction to queuing theory

Performance Modelling of Computer Systems

16:330:543 Communication Networks I Midterm Exam November 7, 2005

Introduction to Queueing Theory

IOE 202: lectures 11 and 12 outline

ECE 3511: Communications Networks Theory and Analysis. Fall Quarter Instructor: Prof. A. Bruce McDonald. Lecture Topic

COMP9334: Capacity Planning of Computer Systems and Networks

Chapter 10. Queuing Systems. D (Queuing Theory) Queuing theory is the branch of operations research concerned with waiting lines.

Intro to Queueing Theory

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/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Chapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

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

Introduction to Queuing Theory. Mathematical Modelling

Multiaccess Communication

Waiting Line Models: Queuing Theory Basics. Metodos Cuantitativos M. En C. Eduardo Bustos Farias 1

Continuous Time Processes

Queueing Theory. VK Room: M Last updated: October 17, 2013.

6 Solving Queueing Models

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks

Chapter 3 Balance equations, birth-death processes, continuous Markov Chains

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

Classical Queueing Models.

Chapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system.

Introduction to Queueing Theory

queue KTH, Royal Institute of Technology, Department of Microelectronics and Information Technology

Little s result. T = average sojourn time (time spent) in the system N = average number of customers in the system. Little s result says that

CHAPTER 4. Networks of queues. 1. Open networks Suppose that we have a network of queues as given in Figure 4.1. Arrivals

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

Kendall notation. PASTA theorem Basics of M/M/1 queue

Part I Stochastic variables and Markov chains

Computer Systems Modelling

GI/M/1 and GI/M/m queuing systems

PBW 654 Applied Statistics - I Urban Operations Research

Performance analysis of queueing systems with resequencing

IEOR 6711, HMWK 5, Professor Sigman

Stochastic Models in Computer Science A Tutorial

Análise e Modelagem de Desempenho de Sistemas de Computação

Slides 9: Queuing Models

Wireless Internet Exercises

Probability Models in Electrical and Computer Engineering Mathematical models as tools in analysis and design Deterministic models Probability models

Assignment 3 with Reference Solutions

Bernoulli Counting Process with p=0.1

The exponential distribution and the Poisson process

Stochastic Models of Manufacturing Systems

Homework 1 - SOLUTION

Markov Chains. X(t) is a Markov Process if, for arbitrary times t 1 < t 2 <... < t k < t k+1. If X(t) is discrete-valued. If X(t) is continuous-valued

Queueing Theory (Part 4)

NATCOR: Stochastic Modelling

Course Documents Authorized Duration: 120 minutes. Questions are generally independent. You can respond to any question before the other.

Elementary queueing system

4.7 Finite Population Source Model

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

M/G/1 queues and Busy Cycle Analysis

Chapter 5. Statistical Models in Simulations 5.1. Prof. Dr. Mesut Güneş Ch. 5 Statistical Models in Simulations

Queues and Queueing Networks

Asymptotic Delay Distribution and Burst Size Impact on a Network Node Driven by Self-similar Traffic

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

An engineering approximation for the mean waiting time in the M/H 2 b /s queue

Introduction to Queueing Theory with Applications to Air Transportation Systems

Systems Simulation Chapter 6: Queuing Models

A Queueing System with Queue Length Dependent Service Times, with Applications to Cell Discarding in ATM Networks

LECTURE #6 BIRTH-DEATH PROCESS

Discrete Random Variables

ATM VP-Based Ring Network Exclusive Video or Data Traffics

Performance Analysis of Priority Queueing Schemes in Internet Routers

Chapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

Analysis on Packet Resequencing for Reliable Network Protocols

Computer Systems Modelling

Data analysis and stochastic modeling

Analysis of A Single Queue

Transcription:

Multiaccess Problem How to let distributed users (efficiently) share a single broadcast channel? How to form a queue for distributed users? z The protocols we used to solve this multiaccess problem are called multiaccess protocols. They are the lower sublayer of Data Link Control layer in the OSI model. z The queueing theory studies properties of waiting queues. The mathematical formula of queueing theory can be used to evaluate the efficiency of different queueing system designs. In our applications, the efficiency of various multiaccess protocols. cellular network MTSO Coaxial cable, Fiber, Twisted Pair, Bus chow Queueing 11/7/01 Page 1- λ Queueing Theory (See Appendix A1-3, Ch 5.5.1) λ P b λ (1 P b ) N(t) = N q (t) + N s (t) N s (t) N q (t) W T = W + X 1 2 c X N(t) = number in system N q (t) = number in queue N s (t) = number in service T = total delay W = waiting time X = service time Parameter of interest to queueing analysis: λ average (avg, or mean) arrival rate (requests/sec) (packets/sec) µ avg service rate (requests/sec) (packets/sec) ρ=λ/µ utilization or traffic density, the ratio of system load to system capacity N avg no.of requests in the system, including those in buffers and in servers. Tw avg waiting time for a request at the buffer Ts avg service time for a request T avg delay in the system = Ts +Tw; its inverse is the avg system throughput. probability of request lost (due to buffer full situation) P B chow Queueing 11/7/01 Page 2-

Poisson Process The random process used most frequently to model the arrival pattern. t arrival instance * * * * * * τ τ+ t The statistics of the Poisson process can be observed at any starting time: 1. Prob[instance occurrence in (τ, τ+ t)] = λ t+o( t); λ is mean arrival rate; 2. Prob[no instance occurrence in (τ, τ+ t)] = 1- λ t+o( t); 3. Arrivals are memoryless An arrival in one time interval of length t is independent of arrivals in previous or future intervals. o( t) implies that other terms are higher order in t and approaches 0 faster than t. Prob[2 or more arrivals in (τ, τ+ t)] = o( t). Note that the probability is independent of t. chow Queueing 11/7/01 Page 3- Poisson Distribution Let N( t) = no. of arrivals in the interval (τ, τ+ t) Prob[N( t)=k] = (λ t) k *e λ τ /k! Probability 0.4 0.35 0.3 Poisson Distribution (1**x)*exp(-1)/(floor(x)!) (5**x)*exp(-5)/(floor(x)!) (10**x)*exp(-10)/(floor(x)!) 0.25 0.2 0.15 0.1 0.05 E[N(t)=k] = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 number of arrivals k k ( ----------- λt)k e k! Ðλt = λt k = 0 δ2 k = Ek [ Ð Ek [ ]] = Ek ( 2 ) Ð E 2 ( k) = λt mean value variance chow Queueing 11/7/01 Page 4-

Interarrival Time in Poisson Process The interarrival time of the Poisson process is an exponential random variable with probability density function f(t)=λe -λt, where t is the time between successive arrivals. Probability 0.4 0.35 0.3 Probability of Interarrival Time 1*exp(-1*x) 2*exp(-2*x) 5*exp(-5*x) 0.25 0.2 0.15 0.1 0.05 0 1 2 3 4 5 6 7 8 9 10 Time between successive arrival chow Queueing 11/7/01 Page 5- Queueing Model Classification Arrival Process / Service Time / Servers / Max Occupancy Interarrival times τ M = exponential D = deterministic G = general Arrival Rate: λ = 1/ E[τ ] Service times X M = exponential D = deterministic G = general Service Rate: µ = 1/ E[X] 1 server c servers infinite K customers unspecified if unlimited Multiplexer Models: M/M/1/K, M/M/1, M/G/1, M/D/1 Trunking Models: M/M/c/c, M/G/c/c User Activity: M/M/, M/G/ chow Queueing 11/7/01 Page 6-

M/M/1 Queue Poisson arrival process, exponential service time, single server p k =Prob[k customers in the system] To analyze M/M/1 Queue, let us examine its system behavior described by the following state transition diagram. State number represent the number of customers in the system. λ λ λ λ λ λ λ 0 1 µ 2 zzz µ µ k-1 k k+1 zzz µ µ µ µ At equilibrium state the following equations hold λp 0 = µp 1 ( λ + µ )p k λp k 1 = Ð + µp k + 1 k 1 Alternatively, λp k = µp k + 1 k 1 Solving = λ = where ρ λ = by definition p k µ --p k Ð 1 ρp k Ð 1 p k = ( 1 Ð ρ)ρ k k 0 Mean number of customers in the system µ -- N = kp k = k = 0 ρ ------------ 1 Ð ρ chow Queueing 11/7/01 Page 7- M/M/1 Queue & Little s Law Little s Law N = λt where T is the mean delay inside the system. Mean delay for M/M/1 system N ρ λ 1 µ 1 1 T = --- = ------------ = ------------ = ------------- = ------------------ λ 1 Ð ρ 1 Ð ρ µ Ð λ µ C Ð λ where C= server service rate in # operations/sec (#bits/sec for transmission system) 1 µ = mean # operations/customer (#bits/packet for TX system) chow Queueing 11/7/01 Page 8-

Evolution of Queues multiple queues single queue multiple servers single queue shared server chow Queueing 11/7/01 Page 9- Why we use statistical multiplexing? Advanced Queueing analysis presents the following interesting result: T( 1, λ, C) Tmλ (,, C) while W( 1, λ, C) Wmλ (,, C) where (m,λ,c) is a system with m servers, total capacity C, arrival rate λ, T is the total system delay and W is the waiting time in the queue. Sharing a single high speed server increase contention delay in the queue but decrease overall delay due to much shorter service time. chow Queueing 11/7/01 Page 10-

Scale factor of M/M/1 Queueing System ρ λ T = ------------ if λ and C so that ρ 1 Ð ρ remains constant, then T. This benefit is in additional to economy of scale. chow Queueing 11/7/01 Page 11- Case 1. Terminal Concentrators: Application of Queueing Theory 4800bps 4800bps Terminal Concentrator 9600bps shared high speed line mean packet length 1/µ =1000bits/packet input lines traffic are Poisson process with mean arrival rate λ i =2 packets/sec. Q1: What is the mean delay experienced by a packet from the time the last bit arrives at the concentrator until the moment that bit is retransmitted on the output line? 1 Use T = ------------------, where λ = 4xλ i =8, µ C=9.6packets/sec. µ C Ð λ T=1/(9.6 8)=0.625 sec. Q2: What is the mean number of packets in the concentrator, including the one in service? A: Use the little s law N=λT=8x0.625=5! chow Queueing 11/7/01 Page 12-

Application of Queueing Theory Dedicated vs. Shared Channels: M1 p1 p2 p3 p4 M2 p1 p2 p3 p4 p5 p6 p7 p8 64kbps line p5 p6 p7 p8 Eight parallel sessions using this 64kbps line. Each session generates Poisson traffic with λi=2 packets/sec. Packet lengths are exponentially distributed with a mean of 2000 bits. There are two design choices: a) Each session is given a dedicated 8kbps channel (via FDM or TDM). b) Packets of all sessions compete for a single 64kbp shared channel. Which one gives a better response time? A: a) For 8kbps channel, λ=2packets/sec, µ =1/2000 packets/bit, C=8000bits/sec, µ C=4 packets/sec, T=1/(µ C-λ)=1/(4 2)=0.5 sec. b) For 64kbps shared channel, λ=8x2=16packets/sec, µ =1/2000 packets/bit, C=64000bits/sec, µ C=32 packets/sec, T=1/(µ C-λ)=1/(32 16)=0.0667sec. Reason? chow Queueing 11/7/01 Page 13-