• Aucun résultat trouvé

M/G/1 queue with repeated inhomogeneous vacations applied to IEEE 802.16e power saving

N/A
N/A
Protected

Academic year: 2021

Partager "M/G/1 queue with repeated inhomogeneous vacations applied to IEEE 802.16e power saving"

Copied!
3
0
0

Texte intégral

(1)

HAL Id: hal-00641082

https://hal.inria.fr/hal-00641082

Submitted on 12 Jul 2019

HAL is a multi-disciplinary open access

archive for the deposit and dissemination of

sci-entific research documents, whether they are

pub-lished or not. The documents may come from

teaching and research institutions in France or

abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est

destinée au dépôt et à la diffusion de documents

scientifiques de niveau recherche, publiés ou non,

émanant des établissements d’enseignement et de

recherche français ou étrangers, des laboratoires

publics ou privés.

M/G/1 queue with repeated inhomogeneous vacations

applied to IEEE 802.16e power saving

Sara Alouf, Eitan Altman, Amar Prakash Azad

To cite this version:

Sara Alouf, Eitan Altman, Amar Prakash Azad. M/G/1 queue with repeated inhomogeneous

vaca-tions applied to IEEE 802.16e power saving. 2008 ACM SIGMETRICS International Conference on

Measurement and Modeling of Computer Systems, Jun 2008, Annapolis, Maryland, United States.

pp.451-452, �10.1145/1375457.1375516�. �hal-00641082�

(2)

M/G/1 Queue with Repeated Inhomogeneous Vacations Applied to IEEE

802.16e Power Saving

Sara Alouf, Eitan Altman, and Amar Prakash Azad

INRIA, 2004 Route des Lucioles, B.P. 93, 06902 Sophia Antipolis Cedex, France

1

Introduction and Model

We shall analyze and optimize the parameters of the following two types of power saving of IEEE 802.16e in presence of down-link traffic:

(i) Type I classes: Under the sleep mode operation, sleep and listen windows are interleaved as long as there is no downlink traffic destined to the node. During listen windows, the node checks with the base station whether there is any buffered down-link traffic destined to it in which case it leaves the sleep mode. Each sleep window is twice the size of the previous one but it is not greater than a specified final value. The initial sleep window isTmin, the multiplicative factor isa (a = 2 in the standard) and

the final valuealT

mindepends on the exponentl.

(ii) Type II classes: All sleep windows are of the same size as the initial window (i.e. a = 1). Sleep and listen windows are interleaved as in type I classes.

To model these classes, we analyze anM/G/1 queue in which the server begins a vacation of random length each time that the system becomes empty. If the server returns from a vacation to find an empty queue, a new random vacation initiates; oth-erwise, the server works until the system empties (exhaustive ser-vice regime). Request arrivals are assumed to form a Poisson process with parameterλ. Let σ denote a generic random vari-able having the same (general) distribution as the queue service times. The queue regenerates each time it empties and the cycles are i.i.d. Each regeneration cycle consists of (see Fig. 1):

(i) an idle period; letI denote a generic random variable hav-ing the same distribution as the queue idle periods, a generic idle periodI consists of ζ vacation periods denoted V1, . . . , Vζ;

(ii) a warm-up period; it is a fixed duration denotedTwduring

which the server is warming up to start serving requests;

(iii) a busy period; letB denote a generic random variable hav-ing the same distribution as the queue busy periods.

LetX(t) denote the queue size at time t. Define

(i) ˆVi: the end of theith vacation period, i = 1, . . . , ζ; the idle

pe-riod ends at ˆVζ; we have ˆVi =Pij=1VjandI = ˆVζ =Pζi=1Vi;

(ii)TZ: the start of the busy periodB; let Z := X(TZ), the queue

size at the beginning of a busy period;

(iii)Ti: the first time the queue size decreases to the valuei (i.e.

X(Ti) = i) for i = Z − 1, . . . , 0; the cycle ends at T0.

The times{Ti}i=Z,Z−1,...,0delimitZ subperiods in B. We can

writeB =PZ

i=1BiwhereBi= Ti−1− Ti.

Z is in fact the number of arrivals from t = 0 until time TZ.

IntroduceZI as the number of requests that have arrived up to

time ˆVζ (i.e. during periodI) and Zw as the number of arrivals

during the warm-up periodTw. HenceZ = ZI + Zw. Observe

thatX(I) = ZI.

0

0

1

1

0 queue size X(t) ˆ V1 V1 ˆ V2 V2 . . . . . . TZ ˆ Vζ A Aw arrivals no ZI Z customers arrivals Vζ Tw idle

period I period Twarm-upw

ˆ Vζ−1 t empty queue 1 Z − 1 T0 T1 . . . B1 . . . BZ busy period B TZ−1 QZ

Figure 1: Sample trajectory of the queue size during a regenera-tion cycle.

2

Analysis

Number of Vacations. Letζ be the number of vacation periods during an idle period. Observe that the eventζ ≥ i is equivalent to the event of no arrivals during any of the periods{Vk}k=1,...,i−1.

Denoting byLk(s) = E[exp(−sVk)] the Laplace Stieltjes

trans-form ofVk, we have P (ζ ≥ i) = i−1 Y k=1 Lk(λ),

fori > 1, where we have used the fact that arrivals are Poisson with rateλ.

The Idle and Busy Period. We can write

I = ζ X i=1 Vi= ∞ X i=1 Vi1l{ζ ≥ i} ⇒ E[I] = ∞ X i=1 E[Vi] i−1 Y k=1 Lk(λ),

as the vacation periodVi does not depend on the event of no

ar-rivals during ˆVi−1. DefineIa:=P∞i=1Vi21l{ζ ≥ i}, then

E[Ia] = ∞ X i=1 EV2 i  i−1 Y k=1 Lk(λ).

The number of requests waiting in the queue at the beginning of a busy period isZ = ZI+ Zw.Zw, the number of arrivals during

a warm-up periodTw, is a Poisson variable with parameterλTw.

We then haveE[Zw] = λTw, andEZw2



= λ2T2

w+ λTw. It

can be shown thatE[ZI] = λE[I] and E[ZI2] = λ2E[Ia] + λE[I];

refer to [1] for details.ZIandZware independent, and so

E[Z] = λ(E[I] + Tw) (1)

E[Z2] = λ2(E[Ia] + 2E[I]Tw+ Tw2) + λ(E[I] + Tw).

(3)

From Fig. 1 and using (1) we can write (note thatB1= BM/G/1)

E[B] = E[B1]E[Z] = ρ

1 − ρ(E[I] + Tw). The Queue Size and Sojourn Time. Let

A := Z Vˆζ ˆ Vζ−1 X(t)dt, Aw:= Z TZ ˆ Vζ X(t)dt, QZ := Z T0 TZ X(t)dt,

be defined as the total area under the curve X(t) for the idle, warm-up and busy periods respectively. Then

E[X] =E[A] + E[Aw] + E[QZ] E[I] + Tw+ E[B]

. T = E[X]

λ . (2) LetN (t), t ≥ 0 be a Poisson process with rate λ. Let τibe the

ith arrival epoch. Define A(t) := E[α(t)|N (t) ≥ 1] with

α(t) := Z t 0 N (s)ds = N (t) X i=1 (t − τi) = tN (t) − N (t) X i=1 τi.

We thus need to computeE[A] = E[A(Vζ)]. We have E[α(t)] =

λt2/2. Therefore, A(t) = E[α(t)] P (N (t) ≥ 1) = λ 2t 2 ∞ X k=0 exp(−kλt) E[A] = λ 2 ∞ X i=1 i−1 Y k=1 Lk(λ) ! (1 − Li(λ)) ∞ X k=0 d2L i(s) ds2 s=kλ .

From Fig. 1 we can write

E[Aw] = E[ZI]Tw+

Z Tw

0

λtdt = λTw(E[I] + Tw/2).

The following recursive equation holds QZ =



(Z − 1) BZ+ Q1



+ QZ−1.

HenceE[Qz] = E[Z]E[Q1] + (E[Z2] − E[Z])E[B1]/2 where

E[Q1] = E[QM/G/1] =

E[σ] 1 − ρ +

λE[σ2]

2(1 − ρ)2

which completes the computation of the response timeT ; see (2).

3

Application to Power Saving

LetSi be a generic random variable that gives the actual time a

node is sleeping during theith vacation period. We then have V1 = S1andVi = Tl+ Sifori = 2, . . . , ζ. The listen window

Tlaccounts for the time needed by a node to check for messages

at the base station. We assumeTl= Twand consider either

(i)Si= amin{i−1,l}Tmin, i = 1, 2, . . . , (deterministic case)

(ii)E[Si] = amin{i−1,l}Tmin, i = 1, 2, . . . , (exponential Si).

Define the economy of energyG := (Eno sleep− Esleep)/Eno sleep.

The following nonlinear programP:

maximizeG subject to T ≤ TQoS

0 0.5 1 0 5 100 500 λ a T

(a) l = 9 and Tmin= 2

0 0.5 1 0 50 1000 50 100 λ T min T (b) a = 2 and l = 9

Figure 2: The expected system response timeT when sleep win-dows are deterministic.

Table 1: Optimal protocol parameters obtained fromP Deterministic case Exponential case λ l a Tmin G l a Tmin G 0.02 1 1.5 72 89.7% 2 2.5 27 89.0% 0.03 5 1.5 82 85.7% 2 3.0 22 85.2% 0.05 3 2.0 92 78.3% 3 1.5 32 78.0% 0.10 1 5.0 92 63.6% 1 1.5 42 63.5% 0.20 1 5.0 92 44.0% 9 1.5 47 44.0%

is solved for the three protocol parameters: the exponentl, the multiplicative factor a and the initial expected sleep window Tmin.

The system parameters have been selected as follows:E[σ] = 1, E[σ2] = 2, T

l = Tw = 1, TQoS = 50, 100. The ratio between

the energy consumptions of a node in idle and active states is set to 0.2.

Numerical results for the sojourn timeT in the deterministic case have been derived and are displayed graphically in Fig. 2. The sojourn timeT appears to be fairly insensitive to parame-tersl and a except for very small values of λ. Observe that the loadρ = λE[σ] gives the probability of finding the queue busy. Hence, with probability1 − λE[σ], an arriving request finds the server on vacation. This explains the high response time for low input rates. For very large input rates, the system response time is also high, but then it is mainly due to queueing delays. We have solved the nonlinear programP for (l, a, Tmin)∗withTQoS= 50

for deterministic sleep windows andTQoS= 100 for exponential

sleep windows. The values of the optimal protocol parameters (l, a, Tmin)∗are in Table 1.

References

[1] S. Alouf, E. Altman and A. P. Azad. Analysis of anM/G/1 queue with repeated inhomogeneous vacations – Applica-tion to IEEE 802.16e power saving. INRIA Research Re-port, March 2008, available at http://hal.inria. fr/inria-00266552/.

Figure

Figure 1: Sample trajectory of the queue size during a regenera- regenera-tion cycle.
Figure 2: The expected system response time T when sleep win- win-dows are deterministic.

Références

Documents relatifs

Le présent document spécifie comment les messages du protocole simple de gestion de réseau (SNMP, Simple Network Management Protocol) peuvent être transmis directement sur les

Lorsque un client DSBM reçoit des objets TCLASS de différents envoyeurs (différents messages PATH) dans la même session RSVP et qu'il a besoin de les combiner pour renvoyer un

RESTRICTED ADMISSIBILITY OF BATCHES INTO AN M/G/1 TYPE BULK QUEUE WITH MODIFIED BERNOULLI SCHEDULE SERVER VACATIONS..

Unité de recherche INRIA Rennes, Irisa, Campus universitaire de Beaulieu, 35042 RENNES Cedex Unité de recherche INRIA Rhône-Alpes, 655, avenue de l’Europe, 38330 MONTBONNOT ST

Let V i (t, x) denote the joint probability that at time t the workload is less than or equal to x and the input process is in state i. The server is assumed to work at unit rate.

Thus, in the individual optimization case, one could hope that by determining the signalling according to the value L that optimizes the socially optimal problem (in case of

However, the fact that a threshold policy is optimal implies that for optimally controlling arrivals we only need partial information - we need a signal to indicate whether the

détecter l'émission d'une autre station sur le médium (emission d’un signal Carrier Sense), alors que la station est en écoute}. transmettre et recevoir des bits sur