• No results found

Proposed Multiple Queue Finite State Markov Chain System Model

To model the communication system, we combine the FSMC at physical layer with the multiple queues’ status at MAC layer to construct a finite state Markov chain. Station- ary distribution of the obtained Markov chain is calculated to analyze the diverse system performance, in terms of packet loss rate and average system delay.

3.3.1

Queue Behavior Modeling

We consider the M/M/1/Bi/FCFS model forQi in the proposed system, that is a queueing system where customers arrival is modeled by Poisson process and the exponentially dis- tributed service times from the server are requested. Moreover, the system has only one server, an finite queue length (Bi) and the customers are served on a FCFS basis.

Let Ait (i ∈ [1,M]) denote the number of packets arriving at time frame t for Qi, which is assumed to be Poisson distributed with parametersλiTf,

P(Ait =a)=            (λiTf)aexp(−λiTf) a! , i=1,2, ...,M and ifa≥0 0, otherwise , (3.12)

whereE[Ait]=λiTf withE[Ait]∈A:={0,1, . . . ,∞}andE[·] denoting the expectation of a random variable.

frametforQi. Obviously,Rit should satisfy the following constraints, 0≤Rit ≤Qti1, i∈[1,M] M X i=1 Rit ≤Rmax(kt), (3.13)

whereQit1 is the number of packets inQiat the end of time framet−1 with the definition of Qit1 ∈ Qi := [0,Bi] and Rmax(kt) denotes the maximum allowable number of packets

transmitted per time frame at physical layer given channel state Sk at time framet. As-

suming that np packets can be accommodated during each time frame wherenp depends

on the designer’s choice, we have Rmax(kt) = nP ×R(kt) where R(kt) is the symbol rate

corresponding to channel stateSk. Therefore, we can get the recursions of the queue state forQias

Qit =min(Bi,max(0,Qit−1−R

i

t)+Ait), i= 1,2, ...,M (3.14)

where Ait is the packets arrived at time framet for Qi, denoting the network traffic con- dition and obviously, it is independent with other system parameters. Therefore, we can isolateAitwhen considering the system state transition and construct the finite state Markov chain system model with state pair (Kt,Q1t1,Q2t1, ...,Qit1, ...,QtM1) to analyze the system

behavior by combining (3.12) to (3.14).

3.3.2

Priority-Based Rate Allocation

As discussed earlier, the queue state recursion relies on the queue status at both current and previous time frame as well as the physical layer transmission data rate corresponding to current channel state. Therefore, the problem comes out to be how to allocate the data rate at physical layer to the multiple MAC layer queues according to their diverse QoS requirements.

To resolve this problem, we propose a priority-based rate allocation (PRA) algorithm, where multiple queues are assumed to have different priorities and the physical layer data rate is distributed to the multiple MAC layer queues proportionally with higher priority queue getting higher data rata. Mathematically, the relations between the data rates of different queues are defined as:

RtM =βRkt−1 = β2Rtk−2 = . . .= βM−1R1t M X i=1 Rit ≤ Rmax(kt) (3.15)

whereβ is called asproportional weight, adjusting which the data rate allocation process could be controlled. Combining (3.13) with (3.15), we get the constraints for the data rates of the multiple queues as

R1t(1−βM) 1−β ≤ R max( kt) RtM =βRkt−1 = β2Rtk−2 = . . .= βM−1R1t 0≤Rit ≤ Qti1, i∈[1,M]. (3.16)

To explain the PRA algorithm in detail, let A denote the set of the queues which are waiting for data rate allocation, where initially we set A = {Q1,Q2, . . . ,QM}. To maximally utilize the physical layer resources while satisfying the constraints in (3.16), a iterative-based PRA implementation is shown as

Step a: Initialization: SetA = {Q1,Q2, . . . ,QM}andRmax(kt) according to current

Step b: ForQi ∈A, calculate (Rit)0 according to the following equation: X Qi∈A (Rit)0 =Rmax(kt) (Rit)0= qM−i(R1t)0 (3.17)

Step c: If∀Qi ∈ A, (Rit)0 ≤ Qti1, setRit = (Rit)0 and then, terminate the algorithm; otherwise, go to Step d.

Step d: FindQi ∈A, where (Rit)0 ≥ Qit1, setRit = Qit1, A=A -{Qi}andRmax(kt)=

Rmax(kt)−Rit;

Step e: If A==φ, terminate the algorithm; Otherwise, go to Step b.

3.3.3

System Modeling Using Finite State Markov Chain

3.3.3.1 Derivation of state transition matrix

Given the state pair (Kt,Q1t1, . . . ,Qit1, . . . ,QtM1) derived above, we now formulate the

state transition probability matrixPtwith its elementsP((k,q1,...,qM),(k0,q0

1,...,q 0

M))which de-

notes the state transition probability from system state (Kt,Q1t1, . . . ,QtM1) to system state

(Kt+1,Q1t, . . . ,QtM). Mathematically, the state transition probability can be computed by

P((k,q

1,...,qM),(k0,q10,...,q0K)) = Pk,k0·[P((q1,...,qM),(q10,...,q0M))|K=k0], (3.18)

wherePk,k0 is the channel state transition probability inPcand P((q

1,...,qK),(q01,...,q0K))|K=k0 can be calculated as P((q 1,...,qM),(q01,...,q0M))|K=k0 = M Y i=1 P(Qit =q0i|Qit1 =qi,Rit =ri), (3.19)

whererirepresents the data rate allocated to queueQi. Using (3.12) and (3.14), we compute P(Qit =q0i|Qit1 = qi,Rit = ri) for Qias P(Qit =q0i|Qit1 = qi,Rit = ci)=                P(Ait =q0i −max{0,qi−ri}), if 0≤ q0i < Bi 1− P 0≤q0 i<Bi P(Qit =qi0|Qit1 = q1,Rit = ri), ifq0i = Bi. (3.20)

3.3.3.2 Stationary distribution of Markov chain

From the state transition matrix Pt, we calculate the stationary distribution of the Markov

chain with definition:

Π(k,q1, . . . ,qM)= P(K = k,Q1 =q1, . . . ,QM =qM) := lim t→∞P(Kt =k,Q 1 t−1 =q1, . . . ,Q M t−1 = qM). (3.21)

We define the stationary distribution row vector as

Π= [Π(0, . . . ,0), . . . ,Π(k,q1, . . . ,qM), . . . ,Π(K,B1, . . . ,BM)]. (3.22)

The stationary distribution of state pair (Kt,Q1t1, . . . ,Qit1, . . . ,QMt1) can be finally

obtained by solving the following equations

Π = ΠPsys, and

X

Π(k,q1, . . . ,qM)= 1. (3.23)

Related documents