Enhancing TCP Airtime Fairness through Precise Computation for Upload and Download Flows in WiFi Networks
Abstract
:1. Introduction
- We extend the concept of airtime fairness by integrating both direct airtime elements of data transmission and indirect elements, including those related to wireless protocols and TCP acknowledgments. We develop precise methods for calculating airtime for TCP and UDP flows, considering factors such as the state of the wireless layer, transport layer, and traffic direction. Furthermore, we introduce a QoS scheduling algorithm at the access point that ensures airtime fairness for both upload and download traffic.
- We propose an algorithm to achieve airtime fairness by integrating support logic and control logic. The control logic manages Wi-Fi QoS scheduling, determining the order of flows in the transmission queue. The support logic calculates each flow’s quota, based on the accurate average airtime value of the flow. We demonstrate that the cooperation between support logic and control logic effectively ensures airtime fairness.
- We implement and test our algorithms in the ns-3 simulation [5] environment. The experimental results reveal that, without the QoS scheduling algorithm, expected fairness cannot be guaranteed. Traditional airtime fairness algorithms, due to inaccurate airtime calculations, perform poorly in fairness indices. In contrast, our QoS scheduling algorithm successfully achieves airtime fairness for both upload and download traffic, with results closely approximating the optimal solution.
2. Background
2.1. Wireless Network Data Transmission
2.2. Wireless Network Fairness
3. How to Calculate Accurate Airtime at the AP Side
3.1. Overview
3.2. Analysis of UDP Flows
3.3. Analysis of TCP Flows
4. Algorithm Design
4.1. Workflow
4.2. Queue Scheduling
Algorithm 1: Queue scheduling algorithm based on QoS. |
Input: Output:
|
4.3. Airtime Quantum Calculation
Algorithm 2: Quantum calculation algorithm of airtime. |
Input: Output:
|
5. Experiment
5.1. Experimental Settings
5.2. Evaluation
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Cisco Annual Internet Report (2018–2023) White Paper. Available online: https://www.cisco.com/c/en/us/solutions/collateral/executive-perspectives/annual-internet-report/white-paper-c11-741490.html (accessed on 15 August 2024).
- Pilosof, S.; Ramjee, R.; Shavitt, Y.; Sinha, P. Understanding TCP fairness over Wireless LAN. In Proceedings of the INFOCOM 2003, San Franciso, CA, USA, 30 March–3 April 2003; Volume 2, pp. 863–872. [Google Scholar]
- Wu, Y.; Niu, Z.; Zheng, J. Study of the TCP upstream/downstream unfairness issue with per-flow queuing over infrastructure-mode WLANs. Wirel. Commun. Mob. Comput. 2005, 5, 459–471. [Google Scholar] [CrossRef]
- Sathya Priya, S.; Murugan, K. Enhancing TCP fairness in wireless networks using dual queue approach with optimal queue selection. Wirel. Pers. Commun. 2015, 83, 1359–1372. [Google Scholar] [CrossRef]
- Network Simulator 3. Available online: https://www.nsnam.org/ (accessed on 15 August 2024).
- Huaizhou, S.; Prasad, R.V.; Onur, E.; Niemegeers, I. Fairness in wireless networks: Issues, measures and challenges. IEEE Commun. Surv. Tutor. 2013, 16, 5–24. [Google Scholar] [CrossRef]
- Mohajerzadeh, A.H.; Yaghmaee, M.H.; Eskandari, Z. Tree based energy efficient and congestion aware routing protocol for wireless sensor networks. In Proceedings of the 2008 11th IEEE Singapore International Conference on Communication Systems, Guangzhou, China, 19–21 November 2008; pp. 1707–1711. [Google Scholar]
- Le, L.B.; Hossain, E. Resource allocation for spectrum underlay in cognitive radio networks. IEEE Trans. Wirel. Commun. 2008, 7, 5306–5315. [Google Scholar] [CrossRef]
- Arora, A.; Yoon, S.-G.; Choi, Y.-J.; Bahk, S. Adaptive TXOP allocation based on channel conditions and traffic requirements in IEEE 802.11 e networks. IEEE Trans. Veh. Technol. 2009, 59, 1087–1099. [Google Scholar] [CrossRef]
- Huang, R.; Kim, S.; Zhang, C.; Fang, Y. Exploiting the capacity of multichannel multiradio wireless mesh networks. IEEE Trans. Veh. Technol. 2009, 58, 5037–5047. [Google Scholar] [CrossRef]
- Torabzadeh, M.; Ajib, W. Packet scheduling and fairness for multiuser MIMO systems. IEEE Trans. Veh. Technol. 2009, 59, 1330–1340. [Google Scholar] [CrossRef]
- Selvaradjou, K.; Handigol, N.; Franklin, A.A.; Murthy, C.S.R. Energy-efficient directional routing between partitioned actors in wireless sensor and actor networks. IET Commun. 2010, 4, 102–115. [Google Scholar] [CrossRef]
- Tokar, L.; Krasnozheniuk, Y. Analysis of Airtime Fairness Technology Application for Fair Allocation of Time Resources for IEEE 802.11 Networks. In International Scientific-Practical Conference “Information Technology for Education, Science and Technics”; Springer: Cham, Switzerland, 2022; pp. 635–655. [Google Scholar]
- What is TP-Link EAP/CAP Airtime Fairness? Available online: https://www.tp-link.com/ae/support/faq/2095/ (accessed on 15 August 2024).
- Chapter: Air Time Fairness. Available online: https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/17-6/config-guide/b_wl_17_6_cg/m_air_time_fairness.html (accessed on 15 August 2024).
- Questions About Airtime Fairness. Available online: https://www.linksys.com/gb/support-article/?articleNum=50167 (accessed on 15 August 2024).
- Yu, S.I.; Park, C.Y. A Responsible Airtime Approach for True Time-Based Fairness in Multi-Rate WiFi Networks. Sensors 2018, 18, 3658. [Google Scholar] [CrossRef] [PubMed]
- Bellalta, B.; Carrascosa, M.; Galati-Giordano, L.; Geraci, G. Delay analysis of IEEE 802.11 be multi-link operation under finite load. IEEE Wirel. Commun. Lett. 2023, 12, 595–599. [Google Scholar] [CrossRef]
- Dai, L. Stability and delay analysis of buffered Aloha networks. IEEE Trans. Wirel. Commun. 2012, 11, 2707–2719. [Google Scholar] [CrossRef]
- Nithya, B.; Mala, C.; KumarB, V. Simulation and performance analysis of various IEEE 802.11 backoff algorithms. Procedia Technol. 2012, 6, 840–847. [Google Scholar] [CrossRef]
- Shreedhar, M.; Varghese, G. Efficient fair queuing using deficit round-robin. IEEE/ACM Trans. Netw. 1996, 4, 375–385. [Google Scholar] [CrossRef]
- Riggio, R.; Miorandi, D.; Chlamtac, I. Airtime deficit round robin (ADRR) packet scheduling algorithm. In Proceedings of the 2008 5th IEEE International Conference on Mobile Ad Hoc and Sensor Systems, Atlanta, GA, USA, 29 September–2 October 2008; pp. 647–652. [Google Scholar]
- Jacobson, V. Congestion avoidance and control. ACM Sigcomm Comput. Commun. Rev. 1988, 18, 314–329. [Google Scholar] [CrossRef]
- Rastogi, S.; Zaheer, H. Comparative analysis of queuing mechanisms: Droptail, red and nlred. Soc. Netw. Anal. Min. 2016, 6, 70. [Google Scholar] [CrossRef]
- Floyd, S.; Jacobson, V. Random early detection gateways for congestion avoidance. IEEE/ACM Trans. Netw. 1993, 1, 397–413. [Google Scholar] [CrossRef]
- Nichols, K.; Jacobson, V. Controlling queue delay. Commun. ACM 2021, 55, 42–50. [Google Scholar] [CrossRef]
- Brakmo, L.S.; O’malley, S.W.; Peterson, L.L. TCP Vegas: New techniques for congestion detection and avoidance. In Proceedings of the Conference on Communications Architectures, Protocols and Applications, London, UK, 31 August–2 September 1994; pp. 24–35. [Google Scholar]
- Ha, S.; Rhee, I.; Xu, L. CUBIC: A new TCP-friendly high-speed TCP variant. Acm Sigops Oper. Syst. Rev. 2008, 42, 64–74. [Google Scholar] [CrossRef]
- Cardwell, N.; Cheng, Y.; Gunn, C.S.; Yeganeh, S.H.; Jacobson, V. Bbr: Congestion-based congestion control: Measuring bottleneck bandwidth and round-trip propagation time. Queue 2016, 14, 20–53. [Google Scholar] [CrossRef]
Notation | Description |
---|---|
F | The set of flows |
One segment airtime of a UDP flow | |
One segment airtime of a TCP flow | |
The direction airtime of one frame | |
The indirection airtime of one frame | |
s | Size of frame |
r | Wireless rate of frame |
Contention window of the i-th retransmission | |
R | Maximum number of wireless retransmissions |
p | Packet loss probability obtained from AP statistics |
d | Efficiency of TCP Reply ACK |
DelACK | QoS Algorithm | Sta1 | Sta2 | Sta3 | Total Throughput |
---|---|---|---|---|---|
1 | Default | 6.73 | 6.75 | 6.79 | 20.27 |
1 | General Airtime Fairness | 14.07 | 4.56 | 3.06 | 21.69 |
1 | Our Airtime Fairness | 8.39 | 7.42 | 5.33 | 21.14 |
2 | Default | 8.38 | 8.38 | 8.37 | 25.14 |
2 | General Airtime Fairness | 17.36 | 5.73 | 3.86 | 26.94 |
2 | Our Airtime Fairness | 10.38 | 9.29 | 6.36 | 26.03 |
DelACK | QoS Algorithm | Sta1 | Sta2 | Sta3 | Fairness Index |
---|---|---|---|---|---|
1 | Default | 0.16 | 0.17 | 0.24 | 0.9658 |
1 | General Airtime Fairness | 0.33 | 0.11 | 0.1 | 0.7589 |
1 | Our Airtime Fairness | 0.2 | 0.19 | 0.19 | 0.9992 |
2 | Default | 0.15 | 0.17 | 0.24 | 0.9569 |
2 | General Airtime Fairness | 0.12 | 0.11 | 0.11 | 0.7788 |
2 | Our Airtime Fairness | 0.19 | 0.18 | 0.18 | 0.9998 |
DelACK | TCP Congestion Control Algorithm | Total Throughput | Airtime Fairness Index |
---|---|---|---|
1 | Reno | 21.14 | 0.9992 |
1 | Vegas | 21.15 | 0.9992 |
1 | Cubic | 21.14 | 0.9992 |
1 | BBR | 21.12 | 0.9972 |
2 | Reno | 26.03 | 0.9998 |
2 | Vegas | 25.96 | 0.9996 |
2 | Cubic | 25.97 | 0.9996 |
2 | BBR | 25.97 | 0.9995 |
DelACK | QoS Algorithm | Sta1 | Sta2 | Sta3 | Total Throughput |
---|---|---|---|---|---|
1 | Default | 6.86 | 6.8 | 6.9 | 20.57 |
1 | General Airtime Fairness | 13.98 | 4.45 | 3.09 | 21.61 |
1 | Our Airtime Fairness | 8.46 | 7.37 | 5.32 | 21.16 |
2 | Default | 11.76 | 6.83 | 7.52 | 26.11 |
2 | General Airtime Fairness | 14.45 | 7.32 | 5.09 | 26.87 |
2 | Our Airtime Fairness | 11.33 | 8.83 | 6.45 | 26.61 |
DelACK | QoS Algorithm | Sta1 | Sta2 | Sta3 | Fairness Index |
---|---|---|---|---|---|
1 | Default | 0.16 | 0.17 | 0.24 | 0.9642 |
1 | General Airtime Fairness | 0.32 | 0.11 | 0.1 | 0.7659 |
1 | Our Airtime Fairness | 0.19 | 0.18 | 0.18 | 0.9995 |
2 | Default | 0.21 | 0.14 | 0.22 | 0.9611 |
2 | General Airtime Fairness | 0.26 | 0.15 | 0.15 | 0.9202 |
2 | Our Airtime Fairness | 0.2 | 0.18 | 0.19 | 0.9961 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chen, Y.; Yan, J. Enhancing TCP Airtime Fairness through Precise Computation for Upload and Download Flows in WiFi Networks. Telecom 2024, 5, 992-1007. https://doi.org/10.3390/telecom5040050
Chen Y, Yan J. Enhancing TCP Airtime Fairness through Precise Computation for Upload and Download Flows in WiFi Networks. Telecom. 2024; 5(4):992-1007. https://doi.org/10.3390/telecom5040050
Chicago/Turabian StyleChen, Yuhao, and Jinyao Yan. 2024. "Enhancing TCP Airtime Fairness through Precise Computation for Upload and Download Flows in WiFi Networks" Telecom 5, no. 4: 992-1007. https://doi.org/10.3390/telecom5040050
APA StyleChen, Y., & Yan, J. (2024). Enhancing TCP Airtime Fairness through Precise Computation for Upload and Download Flows in WiFi Networks. Telecom, 5(4), 992-1007. https://doi.org/10.3390/telecom5040050