Docsity

Queuing Systems Part 2-System Networking-Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Queuing Systems Part 2-System Networking-Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

1

M/M/1/K Queue

M/M/1/K queueing system

  • exponential interarrival distribution
  • exponential service distribution
  • 1 server
  • finite queue (K spaces)
  • FCFS service discipline

2

M/M/1/K Queue

, 0 , 1 , 2 , , 1

, 0 , 1 , 2 , , 1

1

1

  

  

P P j K

or

P P j K

j j

j j

 

j ‒ 1 j j +

 j- 1 =   j= 

 j=   j+ 1 = 

4

M/M/1/K Queue

The utilization of the server is given by

The expected number in the system is

 

 

.

1

1

1

1

0

 

 

K

K

P

 

   

. 1

1 ( 1 ) 1

1

0

 

   

K

K K

K

j

j

K K

N jP

5

M/M/1/K Queue

We can derive the expected delay using Little’s

Theorem if we interpret the arrival rate correctly:

or

 P  W

N W

K

a

 1

b=  PK

a= (1- PK )

( 1 PK )

N

W

7

The Erlang Loss System

Blocked Calls Cleared: The Erlang Loss System

  • M/M/ s / s
    • exponential interarrival time
    • exponential service time
    • s servers
    • no queueing
  • Customers enter the system if at least one of the

servers is free

8

The Erlang Loss System

1

1

P j s j

P

or

P j P j s

j j

j j

j ‒ 1 j j +

 j- 1 =   j= 

 j= j   j+ 1 = ( j +1) 

10

The Erlang Loss System

The probability that an arriving customer is lost is

given by

This is called the Erlang-B formula (named after

the Danish mathematician A. K. Erlang).

.

/!

/!

0

s

k

k

s

s

k

s P

 

 

11

The Erlang Loss System

The Erlang loss system is used in engineering

telephone networks to provide some grade of

service. The telephone lines are the “servers”.

Let

 = the rate of calls between two exchanges

1/  = the mean length of a telephone call

pe = the engineered blocking probability

s telephone lines

13

The Erlang Delay System

Blocked Calls Delayed: The Erlang Delay System

  • M/M/ s /
    • exponential interarrival time
    • exponential service time
    • s servers
    • infinite queue
  • Customers enter the queue if all servers are busy

14

1

1

s P j s s

j P j s

P

j

j

j

s ‒ 3 s-1 s +

 s- 1 =   s= 

 s=s   s+ 1 =s 

s ‒ 2^ s

 s-3=   s-2= 

 s-1= ( s -2)   s-1= ( s -1) 

The Erlang Delay System

16

The Erlang Delay System

The probability that an arriving customer has to join

the queue is given by

This is called the Erlang-C formula.

.

1!

1

!

1

1!

1

1

0 

  

   

   

   

 

  

 

s s

j

j

s

j s

j

j s

s P

17

The Erlang Delay System

Consider a call center where customers queue until

there is an available agent.

Let

 = the rate of arriving customers

1/  = the mean time required to serve a customer

pq = the engineered queueing probability

s agents

19

A. K. Erlang

Agner Krarup Erlang (January 1, 1878 - February 3, 1929) was a Danish mathematician, statistician, and engineer who invented the fields of queueing

theory and traffic engineering.

Erlang was the first person to study the problem of telephone networks. By studying a village telephone exchange he worked out a formula, now known as Erlang's formula, to calculate the fraction of callers attempting to call someone outside the village that must wait because all of the lines are in use.

The British Post Office accepted his formula as the basis for calculating circuit

facilities. The mathematics underlying today's complex telephone networks is still based on his work.

The unit of communication activity in these fields is now known as the erlang, in recognition of his achievements. His name is also given to the statistical

probability distribution that arises from his work.

20

Comparing Single Server and

Multiserver Queueing Systems

Let’s compare the mean delay for

  1. a service center having a single server with

service rate  customers per minute, and

  1. a service center having 2 servers each with

service rate /2 customers per minute.