m /g/1 queues with general vacations: decomposition results · proof: simple case –m/m/1 system,...

49
M X /G/1 queues with general vacations: decomposition results I. Kleiner 2018

Upload: others

Post on 26-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

MX/G/1 queues with general vacations:decomposition results

I. Kleiner

2018

Page 2: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Overview

❑Introduction

❑Queueing models with vacations

❑Decomposition property

❑Special examples

Page 3: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Introduction❑Queues with vacations are important class of queues, useful to describe and

analyze: computer systems, communication networks etc.

❑A vacation, in queueing context, is the period when the server does not

attending to a particularly targeted queue

❑The vacation starts only when the system becomes empty

❑Server can return from vacation only when at least one customer in the

system

Page 4: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Introduction - continue

❑Since work of Levy and Yechiali: about vacation queues, researchers have

studied vacations queueing systems with extensions:

❑Working (utilized) vacation policy (Y. Levy)

❑Abandonments during vacation (U. Yechiali)

❑Synchronize reneging (I. Adan)

Page 5: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Introduction – decomposition result❑For each of these examples, authors provide decomposition results for the

steady states probabilities of the number of customers in the system

Page 6: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Introduction – decomposition result❑Decomposition result: the steady state distribution (s.s.d.) of the number of

customers in the system is a convolution of:

❑ The s.s.d. of the number of customers in the corresponding system without

vacation

❑ The number of customers in vacation

“Understanding this decomposition is helpful to analyze some complex models”

B.T. Doshi Queuing systems with vacations - a survey

Page 7: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Our Results

❑ Decomposition results: for the broad class of vacation systems:

❑M^X/G/1 queueing system with general vacation policies

❑M^X/M/1 queueing system with general vacations policies

❑Analysis of vacation models with balking impatience customers with rational

rates

Page 8: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

MX/G/1 - Decomposition Result

Page 9: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Model Definition❑MX/G/1 queue with general vacation

❑Compound Poisson arrivals during working phase

❑As soon as the system becomes empty, the server goes on vacation

❑During vacations:

❑ customers may: arrive, balk, renege, leave alone or in group due to

disaster etc.

❑The server can serve vacation queue in any way: in group, in one, etc.

❑At the end of vacation the customers can: leave in group, born new

generation, etc.

Page 10: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Model Assumptions

❑Existence of stationary distribution of - the number of customers in the

system at the end of vacation epoch

❑At the end of vacation the server restarts the service of the customers

Page 11: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

General description: MX/M/1 Model

0 1 2 3 4 5 ...

Server is busy

Server is on

vacation

MX/M/1 system with states 1,2,3,…

1 2 3 4 5 …

Page 12: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

General description: MX/M/1 Model

0 1 2 3 4 5 ...

Server is busy

Server is on

vacation

MX/M/1 system with states 1,2,3,…

1 2 3 4 5 …

Page 13: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Example: MX/M/1 system with impatient customers during vacation - reneging and

balking

Server is busy

Server is on vacation

Page 14: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Example: Impatient Customers During Vacation - reneging

Page 15: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Example: MAE model

Page 16: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem – notations:

❑Notation:

❑L the number of the customers in the system

❑J the phase of the system: J=0 vacation phase, J=1 working phase

❑𝜋n,j=P(L=n,J=j) - the system s.s.d. for n=j,2,3,…, j=0,1

❑ - partial probability generating functions pgf.

❑ the number of customers in the system at the end of vacation epoch

❑ - the probability generating function of the arrival group size

0 ,0 1 ,1

0 1

( ) , ( )j j

n n

i i

G z z G z z

= =

= =

=

=1

)(i

j

ig zgzG

Page 17: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/G/1❑Theorem:

mod1

/ /1

( ) 1 ( )( )

( 1) (1 ) ' (1)XM G

G z G zG z

P J z G

−=

= −

g.f. of conditional numbers of customers in corresponding MX/G/1 ,

given that server in state 1

G.F. of equilibrium forward recurrence

Page 18: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem M/G/1

/ /11

1

( ) (1 )( ) 1 ( )

( 1) (1 ) ` (1)

( ) 1 ( )(1 ) 1 ( (1 ))

( 1) ( (1 )) (1 ) ` (1)

M GG zG z G z

P J z G

G z G zB zz

P J B z z z G

− − −=

= −

−− − −=

= − − −

Conditional number of customers in standard M/G/1, given that the system in working phase (Pollaczek-Khinnchin)

Page 19: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/M/1❑Theorem:

G.F. of mod MX/M/1

1

/ /1

( ) 1 ( )( )

( 1) (1 ) ' (1)XM M

G z G zz G z

P J z G

−=

= −

G.F. of equilibrium

forward recurrence

Page 20: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/M/1❑Theorem:

1

/ /1

( ) 1 ( )( )

( 1) (1 ) ' (1)XM M

G z G zz G z

P J z G

−=

= −

/ /11( ) (1 ) (1 ) ` (1)( ) 1 ( )

( 1) 1 ( ) (1 ) ` (1)

X gM M

g

G z z GG z G z

P J G z z G

− − − −=

= − −

Second form

First form

/ /1

(1 )( )

1 ( )1

(1 ) ' (1)

XM Mg

g

G zG z

zz G

−=

−−

Page 21: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/G/1❑Proof: Simple case – M/M/1 system, vacations phase always ends with 3

customers in the system

❑Example: one cycle sample realization

Page 22: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/G/1❑Proof: Simple case – M/M/1 system, vacations phase always ends with 3

customers in the system

❑Example: one cycle sample realization

M/M/1 busy period

M/M/1 busy period

M/M/1 busy period

Page 23: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

❑Proof: Simple case – M/M/1 system, vacations always end with 3 customers inthe system

❑Example: one cycle sample realization

Decomposition Theorem MX/G/1

1

2

1( ) 1

( 1) 3 3 3

G z z zz

P J z

−= + +

= −

Page 24: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/G/1❑Proof: Simple case – M/M/1 system, vacations always end with 3 customers in

the system

❑Example: one cycle sample realization

1

2 3

1

1( ) 1 ( )1 1

( 1) 3 3 3 3(1 ) (1 ) ` (1)1

G z G zz z zz z z

zP J z z z z G

− −− − −= + + = =

= − − − −−

Page 25: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/G/1❑Proof: Simple case – M/M/1 system, vacations phase ends with random

number of customers

❑In this situation, we calculate by conditioning on and taking in theaccount the inspection paradox (sampling-bias correction)

1( )G z

1( ) 1 ( )

( 1) (1 ) ` (1)

G z G zz

P J z z G

−−=

= − −

Page 26: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/G/1❑Proof: MX/M/1 system, vacation ends with random number of customers

❑In this situation, we calculate by conditioning on and taking in theaccount the inspection paradox (sampling-bias correction)

1( )G z

Page 27: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/G/1❑Proof 2: MX/M/1 system, vacation ends with random number of customers

❑It is possible to prove theorem using generating function approach and balance equations

)1(`)1(

)(1

))(1()1(

)1)(1(

)(`)1(

)(1

))(1()1(

)1(`1)1()(

)(`)1(

))(1(

))(1()1(

)1(`1)1(

)(`

)1(`

))(1()1(

))(1()(

)1(`

)(`)1(

))(1()1(

))(1(

))(1()1(

))((

))(1()1(

))(()(

1.,

1

1.,

1

1.,1

1,1

1

−−−

−−=

−−−

−−

=

−−−

−−

=−

−−−

−=

−==

−−−

−=

−−−

−=

−−−

−=

Gz

zG

zGzz

zz

zGz

zG

zGzz

Gz

zzG

czGz

czG

zGzz

Gz

zczG

G

zGzz

czzGzG

G

czGG

zGzz

czzG

zGzz

zczGc

zGzz

zczGzG

gg

g

g

g

g

g

g

ggg

))(1()1(

)()(

1,1

1zGzz

czGzzG

g−−−

−=

Page 28: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem M/G/1❑Proof: M/G/1 system, vacation ends with random number of customers

❑In this situation, we calculate by conditioning on and taking in theaccount the inspection paradox (sampling-bias correction)

1( )G z

/ /11 ( ) (1 )( ) 1 ( )

( 1) (1 ) ` (1)

M GG zG z G z

P J z G

− − −=

= −

Page 29: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem M/G/1❑Proof: M/G/1 system, vacation ends with random number of customers

❑In this situation, we calculate by conditioning on and taking in theaccount the inspection paradox (sampling-bias correction)

1( )G z

/ /11

1

( ) (1 )( ) 1 ( )

( 1) (1 ) ` (1)

( ) 1 ( )(1 ) 1 ( (1 ))

( 1) ( (1 )) (1 ) ` (1)

M GG zG z G z

P J z G

G z G zB zz

P J B z z z G

− − −=

= −

−− − −=

= − − −

Page 30: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem MX/G/1❑Under investigation

Page 31: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Example: M/M/1 Vacation Server with reneging impatience

1

,0

1 0 00

.,0 00,0

1

( ) 1 ( )

( 1) (1 ) ` (1)

( )( )

j

i

i

i

i

G z G zz

P J z z G

zG z

G z

=

=

−−=

= − −

−= =

Page 32: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Special Example

Page 33: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

M/M/1 vacation system with balking impatience customers and state depend vacations

❑M/M/1 server queue with multiple vacations

❑Poisson arrivals during working phase

❑As soon as the system becomes empty, the server goes on multiply vacation

❑The vacation time is a random exponential variable with the density ,

where i is the number of customers in the system

❑During vacation arriving customer joins at system with probability pi when

he sees i customers in the system

i

Page 34: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

M/M/1 Vacation Server with balking impatience customers

Page 35: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

M/M/1 Vacation Server with Balking Impatience Customers

)1(`)1(

)(1

)1(

)(1

−=

= Gz

zG

zz

JP

zG

,0

1 1,0( )

j j

i i i

i ii i i

z z

G zc c

= = = = =

Page 36: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Solution

❑When { i} and {pi} are rational function of i, can be obtained bysolution of second order differential equation

❑The formula for also can be obtained using hypergeometric functions

❑Denote

)(zG

)(zG

1

1 1

i ik

i i i

pr

p

+

+ +

=+

Page 37: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Solution

❑When { i} and {pi} are rational function of i, can be obtained bysolution of second order differential equation

❑The formula for also can be obtained using hypergeometric functions

❑Then:

)(zG

)(zG

1 1

1 1

1

( )

( 1) ( )

m

i

i i ik n

i i ii

i

k ap

rp

k k b

+ =

+ +

=

+

= =+

+ +

Page 38: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Solution

❑When { i} and {pi} are rational function of i, can be obtained bysolution of second order differential equation

❑The formula for also can be obtained using hypergeometric functions

❑Then:

❑In this case:

)(zG

)(zG

1 1

1 1

1

( )

( 1) ( )

m

i

i i ik n

i i ii

i

k ap

rp

k k b

+ =

+ +

=

+

= =+

+ +

1 2

1

, ,...,( ) ;

,...,

m

n

a a aG z cF z

b b

=

Page 39: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

−−−

−+−

=

−−+

−++++

++=

+=+=

+

zcFzG

iiii

ii

ipi

i

i

ii

|

2

41

2

3,

2

41

2

3,1

2,2

)(

2

41

2

3

2

41

2

3)1)(1(

)2)(2(

1

1,1

0,

0,1

M/M/1 Vacation system with balking impatience customers - demonstration

)1(`)1(

|

2

41

2

3,

2

41

2

3,1

2,2

1

)1(

)(1

−−−

−+−

−=

= Gz

zcF

zz

JP

zG

Page 40: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

M/M/1 Vacation Server with Balking Impatience Customers - Conclusion

For rational parameters the resulting G.F. is the product of G.F. of M/M/1 queue with corresponding hypergeometric function

Page 41: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Bibliography

• Y. Levy, U. Yechiali “Utilization of idle time in an M/G/1 queueing system”

• Altman and Yechiali Analysis of customers impatience in queues with server vacation

• I. Adan A. Economou S. Kapodistria Synchronized reneging in queueing systems with vacations

• Ho Woo Lee, Soon Seok Lee, Kyung C. ChaeR, On a batch service queue with single vacation

• A. Borthakur, On a batch arrival poison queue with generalized vacation

Page 42: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

THE END

Page 43: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization
Page 44: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Vacation server with balking during vacation and identical

❑For this model we found quantities of interest

Page 45: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem M^X/G/1❑ - the g.f. of number customers leaving at departure of random

customer in working phase

❑Using similar approach we proved next theorem

❑Theorem 2:

1 1

1 ( )1 ( )( ) ( )

(1 ) ' (1) (1 ) ' (1)

g

g

G zG zG z G z

z G z G

+

−−=

− −

1 ( )G z+

Page 46: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Vacation server with balking during vacation and identical

❑For this model we found quantities of interest

Page 47: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem M^X/G/1❑ - the g.f. of number customers leaving at departure of random

customer in working phase

❑Using similar approach we proved next theorem

❑Theorem 2:

1 1

1 ( )1 ( )( ) ( )

(1 ) ' (1) (1 ) ' (1)

g

g

G zG zG z G z

z G z G

+

−−=

− −

1 ( )G z+

Page 48: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem M^X/M/1

❑Theorem:

❑Proof: Simple case – M/M/1 system, vacations always end with 3 customersin the system

3

)1(`)1(

)(1

))(1()1(

)1)(1(

)1(

)(1

−−−

−−=

= Gz

zG

zGzz

zz

JP

zG

g

Number of customers

3

Number of customers

+21 02 +1 +0

Page 49: M /G/1 queues with general vacations: decomposition results · Proof: Simple case –M/M/1 system, vacations always end with 3 customers in the system Example: one cycle sample realization

Decomposition Theorem M^X/M/1❑Theorem:

)1(`)1(

)(1

))(1()1(

)1)(1(

)1(

)(1

−−−

−−=

= Gz

zG

zGzz

zz

JP

zG

g

1( ) 1 ( )(1 )

1 ( )( 1) (1 ) ' (1)1

(1 ) ' (1)

g

g

G z G zz

G zP J z Gz

z G

−−=

−= −−

/ /11(1 ) (1 ) ` (1)( ) 1 ( )

( 1) 1 ( ) (1 ) ` (1)

X gM M

g

G z GG z G z

P J G z z G

− − − −=

= − −

Second form

Third form

First form