• No results found

On the Validity of the Fixed Point Equation and Decoupling Assumption for Analyzing the 802.11 MAC Protocol

N/A
N/A
Protected

Academic year: 2022

Share "On the Validity of the Fixed Point Equation and Decoupling Assumption for Analyzing the 802.11 MAC Protocol"

Copied!
3
0
0

Loading.... (view fulltext now)

Full text

(1)

On the Validity of the Fixed Point Equation and Decoupling Assumption for Analyzing the 802.11 MAC Protocol

[Extended Abstract]

Jeong-woo Cho

Q2S, Norwegian University of Science and Technology

(NTNU), Norway jeongwoo@q2s.ntnu.no

Jean-Yves Le Boudec

Ecole Polytechnique F ´ed ´erale de Lausanne (EPFL),

Switzerland jean-yves.leboudec@epfl.ch

Yuming Jiang

Q2S, Norwegian University of Science and Technology

(NTNU), Norway jiang@q2s.ntnu.no

ABSTRACT

Performance evaluation of the 802.11 MAC protocol is clas- sically based on the decoupling assumption, which hypoth- esizes that the backoff processes at different nodes are in- dependent. A necessary condition for the validity of this approach is the existence and uniqueness of a solution to a fixed point equation. However, it was also recently pointed out that this condition is not sufficient; in contrast, a neces- sary and sufficient condition is a global stability property of the associated ordinary differential equation. Such a prop- erty was established only for a specific case, namely for a homogeneous system (all nodes have the same parameters) and when the number of backoff stages is either 1 or infi- nite and with other restrictive conditions. In this paper, we give a simple condition that establishes the validity of the decoupling assumption for the homogeneous case. We also discuss the heterogeneous and the differentiated service cases and show that the uniqueness condition is not suffi- cient; we exhibit one case where the fixed point equation has a unique solution but the decoupling assumption is not valid.

1. PROBLEM STATEMENT

Most existing work on performance evaluation of the 802.11 MAC protocol [2, 4, 5, 7] relies on the “decoupling approx- imation” which was first adopted in the seminal work of Bianchi [2]. Essentially, it assumes that all nodes in the same network experience the same time-invariant collision probability, which in turn amounts to the assumption that the backoff processes are independent. This assumption is unavoidable primarily because the stationary distribution of the original Markov chain cannot be explicitly written [5,6].

Once we assume that the decoupling assumption holds, the analysis of the 802.11 MAC protocol leads to a fixed point equation [5], also called Bianchi’s formula. Kumar et al. dis- cussed conditions under which the fixed point equation has a unique solution in [5, Theorem 5.1]; if the attempt proba- bility in backoff stage k is nonincreasing in k, the fixed point

∗A part of this work was done when the first author was with the School of Computer and Communication Sciences, Ecole Polytechnique F´ed´erale de Lausanne (EPFL), Switzerland.

This work was supported in part by “Centre for Quantifi- able Quality of Service in Communication Systems, Cen- tre of Excellence” appointed by The Research Council of Norway, and funded by The Research Council, NTNU and UNINETT. http://www.q2s.ntnu.no.

equation has a unique solution.

However, it is pointed out in [1], using a mean field con- vergence method, that the uniqueness of a solution to the fixed point equation does not necessarily lead to the validity of the decoupling assumption in stationary regime. Instead, one should verify that the associated Ordinary Differential Equation (ODE), obtained when applying mean field con- vergence theory, is globally stable, which we define in the following sense: there is a unique limit point to which all trajectories converge. This unique limit point, if it exists, is the solution to the fixed point equation, but the converse is not true; we give in Section 3 an example where there is a unique fixed point but the ODE is not globally stable.

Therefore, to establish the validity of Bianchi’s formula, one needs to prove that the associated ODE is globally sta- ble. We study in this paper the case of a single cell network.

In [3, Theorem 5.4], Bordenave et al. studied the homoge- neous case (all nodes have same per-stage backoff proba- bilities) for the case where the number of backoff stages is infinite. They found the following sufficient condition for global stability of the ODE, hence for validity of the decou- pling assumption:

q0< ln 2 and qk+1= qk/2, ∀k ≥ 0 (1) where qkis the re-scaled attempt probability (defined in Sec- tion 2) for a node in backoff stage k. In this paper, we focus on the case where the total number of backoff stages K + 1 is finite, as this is true in practice and in Bianchi’s formula.

Sharma et al. [8] obtained a result for K = 1 and mentioned the difficulty to go beyond. In this paper, we solve the issue to a large extent: In the homogeneous case (Section 2), we prove that a surprisingly simple condition on the re-scaled attempt probabilities, namely qk ≤ 1 for all k, is sufficient for global stability. For the heterogeneous (Section 3) and AIFS differentiated services cases, we formulate the ODE by appealing to a recent result [1, Theorems 1 & 2] but are not able to provide such a simple result. In contrast, we give a counterexample; it also serves as an illustration of the fact that there may be a unique solution to the fixed point equation whereas the decoupling assumption does not hold.

2. THE HOMOGENEOUS CASE 2.1 Basic Operation of DCF Mode

1

(2)

Time is slotted. Each node following the randomized ac- cess procedure of 802.11 distributed coordination function (DCF) generates a backoff value after receiving the Short Inter-Frame Space (SIFS) if it has a packet to send. This backoff value is uniformly distributed over {0, 1, · · · , 2b0−1}

(or {1, 2, · · · , 2b0}) where 2b0 is the initial contention win- dow.

Whenever the medium is idle for the duration of a Dis- tributed Inter-Frame Space (DIFS), a node unfreezes (starts) its countdown procedure of the backoff and decrements the backoff by one per every time-slot. It freezes the countdown procedure as soon as the medium becomes busy. There ex- ist K + 1 backoff stages whose indices belong to the set {0, 1, · · · , K} where we assume K > 0. If two or more wire- less nodes finish their countdowns at the same time-slot, there occurs a collision between RTS (ready to send) packets if the CSMA/CA (carrier sense multiple access with colli- sion avoidance) is implemented, otherwise two data packets collide with each other. If there is a collision, each node who participated in the collision multiplies its contention window by the multiplicative factor m. In other words, each node changes its backoff stage index k to k + 1 and adopts a new contention window 2bk+1= 2mk+1b0. If k+1 is greater than the index of the highest backoff stage number, K, the node steps back into the initial backoff stage whose contention window is set to 2b0. In the IEEE 802.11b standard, m = 2, K = 6 (7 attempts per packet), and 2b0= 32 are used.

This work focuses on the performance of single-cell 802.11 networks in which all 802.11-compliant nodes are within such a distance from each other that a node can hear what- ever the other nodes transmit. Since all nodes freeze their backoff countdown during channel activity, the total time spent in backoff countdowns up to any time is the same for all nodes. Therefore, it is sufficient to analyze the backoff process in order to investigate the performance of single-cell networks. This technique has been adopted in many works including [1, 3, 5, 7].

2.2 Mean Field Analysis

Let N be the number of nodes and assume that a node in stage k attempts transmission with probability qk/N . The parameter qkis the re-scaled attempt probability; this form of scaling is required in [3] to avoid saturation when the number of nodes grows. Denote by Xn(t) the backoff stage of node n at time-slot t; the occupancy measure (or em- pirical measure) of backoff stage k at time-slot t is defined as Φk(t) := N1 PN

n=11{Xn(t)=k}, where 1{·}is the indicator function. It is shown in [3] that Φ(N t) converges in proba- bility to φ(t) which is the solution of the ODE:

0

dt (t) = ¯q(t) (1 − γ(t)) − q0φ0(t) + qKφK(t)γ(t)

| {z }

inflow from K

,

k

dt (t) = qk−1φk−1(t)γ(t) − qkφk(t), k ∈ {1, · · · , K}.

(2) Here ¯q(t) :=PK

k=0qkφk(t) is the mean field limit of the av- erage attempt rate and γ(t) = γ(t) = 1−e− ¯q(t)is that of the collision probability. It is important to note that the above system is degenerate1, because we also have a manifold rela- tion φ0(t) ≡ 1 −PK

k=1φk(t), which can be plugged into (2) to eliminate the first equation with respect to φ0(t). There- fore, we can use the reduced version which corresponds to the second equation of (2), along with the manifold relation.

We call this system homogeneous because all nodes have

the same parameter set qk and K.

A necessary condition for φ to be an equilibrium point is obtained by equating the right-hand sides to 0, which gives φk=qq0

kγkφ0 and φ0=q q¯

0PK

k=0γk with

¯ q =

PK k=0γk PK

k=0 γk qk

, γ = 1 − e− ¯q (3)

which is Bianchi’s fixed point equation.

It is shown in [1] that if (2) is globally stable, then in the limit of large N , the decoupling assumption holds in stationary regime and the probability that a tagged node is in stage k converges to φk, which is then necessarily the unique solution of (3). It is also shown that the converse is not necessarily true. We show in the full version the follow- ing results, using monotonicity and spectral analysis:

Theorem 1. If qk≤ 1 for all k ∈ {0, · · · , K}, the ODE in (2) is globally stable.

Proposition 1. If the sequence qk is monotonic nonin- creasing with k, the fixed point equation in (3) has a unique solution.

2.3 Discussion

Theorem 1 shows that if qk ≤ 1 for all k, then the de- coupling assumption and therefore Bianchi’s method are asymptotically valid. Note that qk is the re-scaled attempt probability, the attempt probability for a given N being pk = qk/N . If we take the backoff value in 802.11 to be exponentially distributed, we can see from Section 2.1 that pk = 1/(bk− 1/2). Note that if the hypothesis of Theo- rem 1 holds, necessarily the fixed point equation in (3) has a unique solution.

Proposition 1 gives a complementary result, as existence and uniqueness of a solution to the fixed point equation in (3) may not be sufficient to warrant that the ODE is globally stable. Note that the case in (1) satisfies the hypotheses of both Theorem 1 and Proposition 1, so, in some sense, our result is an extension of [3, Theorem 5.4].

It is still open whether the hypothesis in Proposition 1 implies global stability when the hypothesis of Theorem 1 does not hold.

3. THE HETEROGENEOUS CASE 3.1 Mean Field Analysis

The above analysis can be extended to model mecha- nisms provided by the enhanced distributed channel access (EDCA) of the 802.11e standard. The first mechanism, col- lision window (CW) differentiation, amounts to a per-class setting of q0 and K, on the assumption that qk = q0/2k for k ∈ {0, · · · , K}. We extend this feature by allowing per-class setting of K and qk for any k ∈ {0, · · · , K} for the sake of generality and notational aesthetics. The second mechanism, called AIFS differentiation, offers a soft preemp- tive prioritization to a certain class by holding back other classes from attempting transmissions for ∆ time-slots. For simplicity, the analysis here is presented for two classes, i.e.,

1A degenerate system has a singular Jacobian matrix which means that its linearization cannot determine the local sta- bility of the system.

2

(3)

Class H (high) and Class L (low). Let us call the time-slots reserved for Class H reserved slots, which will correspond to the superscript R. We call the remaining slots following re- served slots common slots, corresponding to the superscript C. Note that both Class H and Class L users can access the channel during common slots, whereas the backoff proce- dures of Class L users are suspended during reserved slots.

The per-class parameters and occupancy measures are de- noted by qHk, qLk, KH, KL, ΦHk(t) and ΦLk(t). Using the approach in [1, Theorems 1 & 2], one finds that the system can be approximated by the solution of the ODE

( H k

dt (t) = qk−1H φHk−1(t)γH(t) − qkHφHk(t)

Lk

dt (t) = πC(t)

qLk−1φLk−1(t)γC(t) − qkLφLk(t) (4) whose corresponding fixed point equation is

































¯ qH= σH

PKH k=0(γH)k

PKH k=0

(γH)k

qH k

, ¯qL= σL

PKL k=0(γC)k

PKL k=0

(γC)k

qL k

γH= πR

1 − e− ¯qH + πC

1 − e− ¯qH− ¯qL γC= 1 − e− ¯qH− ¯qL

πR=

P1 i=0(1−γR)i

n P1

i=0(1−γR(t))io+(1−γR)

γC

πC=

(1−γ R)

γC nP1

i=0(1−γR)io+(1−γR)

γC

.

(5)

Here σHand σLare the constants which respectively denote the proportions of Class H and L users to population N .

3.2 A Counterexample

We present an example where the fixed point equation (5) has a unique solution but the decoupling assumption does not hold. It is a heterogeneous case without AIFS differentiation, i.e., ∆ = 0, which in turn leads to πR = 0 and πC = 1. There are two classes H and L such that population of each class is NH = NL= 640. The numbers of backoff stages are equal, i.e., KH+ 1 = KL+ 1 = 21. The attempt probability at each backoff stage is:

(pH0, pH1, · · · , pH20) =

 1 2400, 1

480, 1

40, · · · ,m19 40



(pL0, pL1, · · · , pL20) =

 1 3840, 1

64, 1 64, · · · , 1

64



where m = 4/5. The fixed point equation has a unique solution with γH = γR = γC = γ1 = 0.912. Since there is only one solution, one might be much inclined to haz- ard the conjecture by Bianchi et al. [2, 5] that the collision probability is approximately γ1. However, there is a stable limit cycle around this equilibrium with a stable oscillation.

The average collision probability obtained through simula- tions is 0.869 which is less than γH or γC. The decoupling assumption does not hold; in contrast, nodes are coupled by the oscillations of the occupancy measure, an emerging property of the system dynamics.

3.3 Uniqueness Results

We are not able to prove the equivalent of Theorem 1, which would justify the decoupling assumption in the hetero- geneous case. However, we can prove the following weaker results:

0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95

0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08

Short−term occupancy measure of stage 0

Short−term occupancy measure of stage 1 & 17

γ1=0.912, φ0≈0.632, φ1≈0.042

γ1=0.912, φ0≈0.632, φ17≈0.026

DTMC

ODE: Lines

Figure 1: Example where there is a unique solution to the fixed point equation but the decoupling as- sumption does not hold. Solid lines and stars (⋆):

mean field limits(φ0(t), φ1(t)) and (φ0(t), φ17(t)); dots:

DTMC simulation results with N = NH+ NL= 1280 nodes.

Proposition 2. If qHk ≤ 1 and qLk≤ 1 for all k, the fixed point equation (5) has a unique solution.

Proposition 3. If qkHand qLk are nonincreasing in k, the fixed point equation (5) has a unique solution.

4. REFERENCES

[1] M. Bena¨ım and J.-Y. Le Boudec. A class of mean field interaction models for computer and communication systems. Perf. Eval., 65(11-12):823–838, Nov. 2008.

[2] G. Bianchi. Performance analysis of the IEEE 802.11 distributed coordination function. IEEE J. Select.

Areas Commun., 18(3):535–547, Mar. 2000.

[3] C. Bordenave, D. McDonald, and A. Proutiere. A particle system in interaction with a rapidly varying environment: Mean field limits and applications.

Networks and Heterogeneous Media, 5(1):31–62, Mar.

2010.

[4] M. Garetto, T. Salonidis, and E. Knightly. Modeling per-flow throughput and capturing starvation in CSMA multi-hop wireless networks. ACM/IEEE Trans.

Networking, 16(4):864–877, Aug. 2008.

[5] A. Kumar, E. Altman, D. Miorandi, and M. Goyal.

New insights from a fixed-point analysis of single cell IEEE 802.11 WLANs. ACM/IEEE Trans. Networking, 15(3):588–601, June 2007.

[6] P. Kumar. An interview with

Dr. P. R. Kumar. Science Watch Newsletter, available at

http: // esi-topics. com/ wireless/ interviews/ PRKumar. html, June 2006.

[7] V. Ramaiyan, A. Kumar, and E. Altman. Fixed point analysis of single cell IEEE 802.11e WLANs:

Uniqueness, multistability. ACM/IEEE Trans.

Networking, 16(5):1080–1093, Oct. 2008.

[8] G. Sharma, A. Ganesh, and P. Key. Performance analysis of contention based medium access control protocols. IEEE Trans. Inform. Theory,

55(4):1665–1681, Apr. 2009.

3

References

Related documents

Abstract: The identification of average causal effects of a treatment in observational studies is typically based either on the unconfoundedness assumption (exogeneity of the

The most important reasons for operating a CDP are to increase cross-selling of other products, followed by increased service level for the customers and increased income from

46 Konkreta exempel skulle kunna vara främjandeinsatser för affärsänglar/affärsängelnätverk, skapa arenor där aktörer från utbuds- och efterfrågesidan kan mötas eller

The increasing availability of data and attention to services has increased the understanding of the contribution of services to innovation and productivity in

Generella styrmedel kan ha varit mindre verksamma än man har trott De generella styrmedlen, till skillnad från de specifika styrmedlen, har kommit att användas i större

Parallellmarknader innebär dock inte en drivkraft för en grön omställning Ökad andel direktförsäljning räddar många lokala producenter och kan tyckas utgöra en drivkraft

Närmare 90 procent av de statliga medlen (intäkter och utgifter) för näringslivets klimatomställning går till generella styrmedel, det vill säga styrmedel som påverkar

To test the signal chains a number of test signals has been generated: a “ramp file” that steps through each of the valid sample values of the used fixed point word length, a