Queueing models - PowerPoint PPT Presentation

About This Presentation
Title:

Queueing models

Description:

Processing (e.g., running time of ... Traffic is bad in a rainy day. For the same volume of customers, a fast food restaurant requires smaller dining area. ... – PowerPoint PPT presentation

Number of Views:69
Avg rating:3.0/5.0
Slides: 24
Provided by: LeonG48
Category:
Tags: models | queueing

less

Transcript and Presenter's Notes

Title: Queueing models


1
Chapter 8
  • Queueing models

2
Delay and Queueing
  • Main source of delay
  • Transmission (e.g., n/R)
  • Propagation (e.g., d/c)
  • Retransmission (e.g., in ARQ)
  • Processing (e.g., running time of protocols)
  • Queueing
  • Queueing Theory
  • Study of mathematical queueing models
  • Since early 1900s by Erlang

3
Queue
Delay box Multiplexer switch network
Message, packet, cell arrivals
Message, packet, cell departures
T seconds
Lost or blocked
  • Customer
  • System
  • Service

4
Queueing Discipline
  • One customer at a time
  • First-in first-out (FIFO)
  • LIFO
  • Round robin
  • Priorities
  • Multiple customers at a time
  • FIFO
  • Separate queues/separate servers
  • Blocking rule
  • Discard when full
  • Drop randomly
  • Block a certain class

5
Definitions
  • T Time spent in the system
  • A(t) of arrivals in 0,t
  • B(t) of blocked customers in 0,t
  • D(t) of departures in 0,t
  • N(t) of customers in the system at t
  • N(t)A(t)-D(t)-B(t)
  • Long term arrival rate
  • Throughput
  • Average number in the system
  • Fraction of blocked customers

6
Arrivals
n1
A(t)
n
n-1

2
1
t
?2
?n
?1
?n1
0
?3
Time of nth arrival ?1 ?2 . . . ?n
n arrivals
1
Arrival Rate

1


E?
?1 ?2 . . . ?n seconds
(?1?2 ...?n)/n
7
Littles Law
  • Littles Law
  • If the system does not block customers, then
  • EN ? ET
  • If the block rate is Pb, then
  • EN (1-Pb) ? ET
  • Proof

8
Arrivals and Departures
9
Examples
  • Let the arrival rate be 100 packets/sec. If 10
    packets are found in the queue in average, then
    the average delay is 10/1000.1 sec.
  • Traffic is bad in a rainy day.
  • For the same volume of customers, a fast food
    restaurant requires smaller dining area.

10
Example
  • EN ? ET

11
Basic Queueing Models
12
Arrival Processes
  • Interarrival times ?1, ?2,
  • Arrival rate ?1/E?
  • Statistics
  • Deterministic
  • Exponential interarrival times
  • Poisson arrival process

13
(No Transcript)
14
Service Processes
  • Service times X1, X2,
  • Processing capacity ?1/EX

15
Queueing System Classification
Arrival Process / Service Time / of Servers /
Max Occupancy
Interarrival times ? M exponential D
deterministic G general Arrival Rate ??
1/Et
Service times X M exponential D
deterministic G general Service Rate m 1/EX
K customers unspecified if unlimited
1 server c servers infinite
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/?
16
Queueing System Variables
  • EN
  • ENq
  • ENs
  • Traffic load
  • Utilization

17
The M/M/1/K Model
  • Average packet transmission time
  • EX EL/R
  • Maximum service rate
  • ?R/EL
  • P1 arrival in ?t ? ?t o(?t)

18
M/M/1 Steady State Probabilities
  • Average number of customers in the system?
  • Average delay?
  • Average wait time?

19
Example Effect of Scale
  • What is the average delay of the combined system?

20
The M/G/1 Model
  • Similar to M/M/1 except that the service time X
    may not be exponentially distributed.
  • The average wait time

21
Proof
22
Erlang B Formula M/M/c/c
N(t)
Poisson arrivals
1
Limited number of trunks
Many lines
? (1Pb)
2
?
?
c
??Pb
EX1/?
  • Blocked calls are cleared from the system no
    waiting allowed.
  • Performance parameter Pb fraction of arrivals
    that are blocked
  • Pb PN(t)c B(c,a) where a???
  • The Erlang B formula, valid for any service time
    distribution

23
State Transition Diagram
Write a Comment
User Comments (0)
About PowerShow.com