Abstract
By combining the features of CSMA and TDMA, fully decentralised WLAN MAC schemes have recently been proposed that converge to collision-free schedules. In this paper we describe a MAC with optimal long-run throughput that is almost decentralised. We then design two schemes that are practically realisable, decentralised approximations of this optimal scheme and operate with different amounts of sensing information. We achieve this by (1) introducing learning algorithms that can substantially speed up convergence to collision free operation; (2) developing a decentralised schedule length adaptation scheme that provides long-run fair (uniform) access to the medium while maintaining collision-free access for arbitrary numbers of stations.
Similar content being viewed by others
Notes
In previous sections we presented convergence in terms of the number of schedules used by the algorithm, rather than real time. These will be related by the mean slot length during the convergence phase.
References
Asmussen, S. (2003). Applied Probability and Queues, second edn., Berlin: Springer.
Barcelo, J., Bellalta, B., Cano, C. & Oliver, M. (2008). Learning-BEB: Avoiding Collisions in WLAN. Stuttgart: Eunice Summer School.
Berger-Sabbatel, G., Duda, A., Gaudoin, O., Heusse, M. & Rousseau, F. (2004). Fairness and its impact on delay in 802.11 networks. In: IEEE GLOBECOM.
Bianchi, G. (2000). Performance analysis of the IEEE 802.11 distributed coordination function. IEEE Journal on Selected Areas in Communications, 18(3), 535–547.
Busch, C., Magdon-Ismail, M., Sivrikaya, F. & Yener, B. (2004). Contention-free MAC protocols for wireless sensor networks. Lecture Notes in Computer Science, 3274, 245–259.
Chen, C., Liang, G. & Vaidya, N. (2010). OCP: Opportunistic carrier prediction for wireless networks. In: IEEE conference on mobile adhoc and sensor systems (MASS), (pp. 1–10). doi:10.1109/MASS.2010.5663974.
Chen, C., Seo, E., Kim, H. & Luo, H. (2006). Self-learning collision avoidance for wireless networks. In Proceedings of IEEE INFOCOM.
Chen, Y. & Wang, H. (2007). Ordered CSMA: A collision-free MAC protocol for underwater acoustic networks. Oceans, 1–6.
Duffy, K. R., O’Connell, N. & Sapozhnikov, A. (2008). Complexity analysis of a decentralised graph colouring algorithm. Information Processing Letters, 107(2), 60–63.
Heusse, M., Rousseau, F., Guillier, R. & Duda, A. (2005). Idle sense: An optimal access method for high throughput and fairness in rate diverse wireless lans. ACM SIGCOMM Computer Communication Review, 35(4), 121–132.
IEEE: Wireless LAN medium access control (MAC) and physical layer (PHY) specifications: Medium access control (MAC) enhancements for quality of service (QoS), IEEE std 802.11e edn.
Jain, R., Chiu, D. & Hawe, W. (1984). A quantitative measure of fairness and discrimination for resource allocation in shared computer systems. DEC Technical Report 301.
Koksal, C., Kassab, H. & Balakrishnan, H. (2000). An analysis of short-term fairness in wireless media access protocols (poster session). In Proceedings of the 2000 ACM SIGMETRICS international conference on measurement and modeling of computer systems, (pp. 118–119). NY, USA: ACM New York.
Lee, J. & J. Walrand (2008). Design and analysis of an asynchronous zero collision MAC protocol. Arxiv preprint 0806.3542v1 [cs.NI].
Leith, D. & Clifford, P. (2006). A self-managed distributed channel selection algorithm for WLANs. In Proceedings of international symposium on modeling and optimization in mobile, ad hoc and wireless networks, (pp. 1–9).
Malone, D., Duffy, K. & Leith, D. (2007). Modeling the 802.11 distributed coordination function in nonsaturated heterogeneous conditions. IEEE/ACM Transactions on Networking, 15(1), 159–172.
Narendra, K. & Thathachar, M. A. L. (1989). Learning automata: An introduction. New Jersey: Prentice Hall.
Ni, Q., Li, T., Turletti, T. & Xiao, Y. (2005). Saturation throughput analysis of error-prone 802.11 wireless networks. Wireless Communications and Mobile Computing, 5(8), 945–956.
Rhee, I., Warrier, A., Aia, M., Min, J. & Sichitiu, M. (2008). Z-MAC: A hybrid MAC for wireless sensor networks. IEEE/ACM Transactions on Networking (TON), 16(3), 511–524.
Starzetz, P., Heusse, M., Rousseau, F. & Duda, A. (2009). Hashing backoff: A collision-free wireless access method. In Proceedings of IFIP Networking, vol. 5550, (pp. 11–15). Springer.
Wang, P. & Zhuang, W. (2008). A collision-free MAC scheme for multimedia wireless mesh backbone. In IEEE International Conference on Communications, 2008. ICC’08, (pp. 4708–4712).
Yi, Y., de Veciana, G. & Shakkottai, S. (2010). Mac scheduling with low overheads by learning neighborhood contention patterns. IEEE/ACM Transactions on Networking, 18(5), 1637–1650.
Yong, H., Ruxi, Y., Jie, S. & Weibo, G. (2009). Semi-random backoff: Towards resource reservation for channel access in wireless LANs. In: IEEE International Conference on Network Protocols (ICNP).
Acknowledgments
Work supported by SFI Grant 07/SK/I1216a, the European Community’s 7th Framework Programme (FP7-ICT-2009-5) under grant agreement n. 257263 (FLAVIA project) and HEA's Network Maths Grant.
Author information
Authors and Affiliations
Corresponding author
Appendix: Analysis
Appendix: Analysis
In this section we give the details of the analysis of L-ZC and L-MAC used earlier in the paper.
1.1 Detailed analysis of L-ZC
We begin with the proof of Theorem 1.
Proof
The number of colliding stations in next schedule only depends on current number of colliding stations and the slots they collide on, hence we build a Markov chain model to study this stochastic process. We have N stations in the same channel without hidden nodes, and \(C \geqslant N\) per schedule to ensure a collision-free schedule exists. We let N (C) be the number of stations experiencing a collision in a given schedule, n C be the number of slots with collisions, and then n I = C − N + N (C) − n C is the number of idle slots. We can immediately establish our result by noting that the probability that N (C) > 0 decreases is lower bounded by (1 − γ)γN-1/C, the probability that one station jumps to an idle slot, but all others remain fixed.
However, we can give a more refined analysis that enables us to determine the optimal learning parameter. For each N (C) different configurations of collisions are possible, so we label these by a sequence \(S_{(N_{(C)},i)}=(I_{1},I_{2},\ldots,I_{n_C})\) where i indexes the different states and I j is the number of stations transmitting in slot j. By relabelling the slots, we only need to consider the case where \(I_{j-1}\leqslant I_{j}\) and we omit slots which have no collision (i.e. I j < 2). For example, for two colliding stations, the only possible state is S (2,1) = (2). When N (C) = 5, there are two possible states S (5,1) = (5), S (5,2) = (2, 3). We denote \(\overline{S}_{N_{(C)}} := \{ S_{(N_{(C)},i)} : i\}\) and \(\overline{S} := \bigcup\nolimits_{N_{(C)}=2}^{N}\overline{S}_{N_{(C)}}\). These sets can be identified by combinatorial search.
These sequences, \(S_{(N_{(C)},i)}\), are the states of our Markov chain. We add an initial state IS (N stations start to transmit) and an absorbing state 0 representing collision-free schedules. Note that in this discrete-time Markov chain \(S_{(N_{(C)},i)}\) has non-zero probability to transition to state S (k,j) if \(k \leqslant N_{(C)}\) and the state IS has positive probability to transfer to all states except itself.
Note that the transition probability from \(S_{(N_{(C)},i)}\) to S (k,i) is zero if k > N (C), because N (C) is non-increasing in the next schedule by design. Assume that \(G_{N_{(C)}}\) is a \(|\overline{S}_{N_{(C)}}|\times |\overline{S}_{N_{(C)}}|\) matrix of transition probabilities among states in \(\overline{S}_{N_{(C)}}\) with the same number of colliding stations. Considering the state IS and the absorbing state, we obtain the \((|\overline{S}|+2)\times (|\overline{S}|+2)\) full transition matrix \(\Uppi\) in upper-triangular block form,
The initial probability measure for all states \(\Upphi_{(0)} := [1,0,\ldots,0]\), at the n’th schedule \(\Upphi_{(n)}=\Uppi^{n}\Upphi_{(0)}\), and stationary measure is \([0,\ldots,0,1]\) due to the absorbing state 0. The convergence speed depends on the second largest eigenvalue \(\lambda^{\ast}\) of the transition matrix: the smaller \(\lambda^{\ast}\), the quicker convergence speed. As \(\Uppi\) is a upper triangular matrix, the determinant of \(\lambda I-\Uppi\) is the product of determinants of its diagonal entries, (4).
It is evident that λ0 = 0 and \(\lambda_{2+|\overline{S}|}=1\). In order to get the rest eigenvalues λ, we will evaluate the transition matrix \(G_{N_C}\), and obtain the largest eigenvalue of those matrices which is second largest eigenvalue \(\lambda^{\ast}\) of \(\Uppi\).
Let \(\pi_{kl}^{N_{(C)}}\) be the entry of \(G_{N_{(C)}}\) corresponding to the probability of moving from the state \(S_{(N_{(C)},k)}=(K_{1}, \ldots)\) to state \(S_{(N_{(C)},l)}=(L_{1}, \ldots)\). Let n k C and n l C be the number of slots experiencing a collision in these states respectively. Consider colliding stations that choose to remain fixed in the same slot. Since other stations will have seen that slot as busy, no additional stations will be able to move into this slot. This if some of the K j stations remain fixed, they must correspond to a slot \(j^{\prime}\) with \(L_{j^{\prime}} \leq K_{j}\). Let \(\Upomega \subset \{1, \ldots, n_{C}^{k}\}\) represent slots that will have some fixed station and let
Note that \(M(\Upomega)\) may be empty. Let \(\{j_1, j_2, \ldots\} := \{1, \ldots, n_{C}^{l}\} \backslash \sigma(\Upomega)\) be the indices of collision slots not arising from fixed stations. The number of stations moving to previously idle slots to produce these collision slots will be
and the number of ways we can choose the idle slots will be
So, we may write the transition probability as
where R is the number of permutations of the sequence \(S_{(N_{(C)},l)}\) that result in the same state. For particular \(N_{(C)}\in[2,N]\) and \(\gamma\in(0,1)\), we can obtain the full set of states \(\overline{S}_{N_{(C)}}\), obtain the transition matrix \(G_{N_{(C)}}\) based on equation (6), and then calculate the largest eigenvalue \(\lambda_{(N_{(C)})}^{\ast}\) of \(G_{N_{(C)}}\). Then the second largest eigenvalue will be
Based on this analysis, Fig. 16 (a) and (b) show the largest eigenvalue of matrix at different N (C) when \(N\leqslant C\). In numerical tests over a range of γ values, we have always observed largest eigenvalue \(\lambda^{\ast}\) is achieved at N (C) = 2. Under this assumption we obtain
Hence, we expect that the minimum \(\lambda^{\ast}\) is obtained by setting \(\gamma=\frac{1}{C-N+2}\). When N = C, γ is set at 0.5 for the faster convergence speed for L-ZC.
Using this Markov chain, we can also predict the number of schedules until collision-free schedule is obtained, assuming that all stations start to transmit at the same time. Let \(\Uppi_{T}\) be the transition matrix between all transient states. We have already obtained the diagonal, \(G_{N_{(C)}}\) in equation (6) and may obtain most other transitions in a similar way. We do have to calculate the first row of \(\Uppi_T\), representing transition probabilities from IS into other states \(S_{(N_{(C)},i)}\). If N − N (C) stations choose their own successful N (C) slots, and n C slots are chosen from rest C − N + N (C) slots to obtain the same collision case as \(S_{(N_{(C)},i)}\) and the probability of choosing each slot is initially \(\frac{1}{C}\). Thus we get the transition probability from IS to \(S_{(N_{(C)},i)}\) is
where again, R is number of permutations of \(S_{(N_{(C)},i)}\) that result in the same collision state.
Let \(\kappa_{(S_{(N_{(C)}),i})}\) denote the number of schedules elapsed before the network reaching collision-free schedule given the initial state \(S_{(N_{(C)},i)}\), and κ(IS) denote the number of schedules elapsed from state IS. Using standard Markov chain results, the mean number of convergence schedules from initial state IS is obtained as
Predictions are shown in Fig. 3. \(\square\)
1.2 Detailed analysis of L-MAC
Now we present the proof of Theorem 2.
Proof
Adapting ideas from a previous proof [9], we will show that from any state in any two steps of the algorithm, there is a probability of convergence that is bounded away from zero. The probability of selecting a slot can become arbitrarily small if the station has been colliding on the same slot for many schedules, so we must construct a sequence of events that avoids this possibility.
Suppose the WLAN consists of N stations. Define \({\bf p}^{(i)}(n)\in[0,1]^{C}\) to be station i’s probability distribution in the n’th schedule and \(s^{(i)}(n)\in\{1,2,\ldots,C\}\) to be its slot chosen for transmission.
If we have \(s^{(i)}(n)\neq s^{(j)}(n),\, \forall i\neq j\in\{1,\ldots,N\}\), then the network has already found a collision-free schedule and there is nothing to prove. If, at schedule n, there was at least one collision, then as C ≥ N, there must be some slot \(i^{\ast}\), which has been selected by none of the stations. At schedule n + 1, for any station k colliding at slot \(i \neq i^{\ast}\) in schedule n, the probabilities of moving to \(i^{\ast}\) is
Thus the probability that all the stations that collided in schedule n then, in schedule n + 1, choose \(i^{\ast}\) is at least ((1 − β)/(C − 1))N.
In schedule n + 2, the probability a station k that collides in schedule n + 1 now picks any slot j is bounded by below by
Since there is at least one non-colliding configuration, the probability of jumping to this is at least
In summary, no matter what the slot-selection conditions for stations are in schedule n, the probability of schedule n + 2 being collision-free, \(P({\bf p}(n+2)\in A)\), is bounded below by:
Let τ be the first time a collision-free schedule is found, we want to show \(P(\tau<\infty)=1\). At time 2n, the probability of arriving at collision-free schedule for the first time is:
Thus, as \(n \rightarrow \infty\) for any \((1-K)\in(0,1)\), this equation implies:
and so \(P(\tau<\infty)=1\). Note that equation (11) upper bounds the stopping time τ by a geometric distribution and, therefore, all of this stopping time’s moments (mean, variance, etc.) are finite. \(\square\)
Rights and permissions
About this article
Cite this article
Fang, M., Malone, D., Duffy, K.R. et al. Decentralised learning MACs for collision-free access in WLANs. Wireless Netw 19, 83–98 (2013). https://doi.org/10.1007/s11276-012-0452-1
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11276-012-0452-1