An Accurate Platform for Investigating TCP Performance in Wi-Fi Networks
Abstract
:1. Introduction
- We newly introduce a platform that leverages the emulator Mininet-WiFi for rapidly emulating Wi-Fi networks (e.g., with different IEEE 802.11 standards, etc.) while guaranteeing TCP accuracy by using the actual implementations of TCP CCAs on Linux kernels. We have incorporated performance measurement functionalities and tools to automate the testing processes in our platform.
- We compare our platform’s performance for 14 TCP CCAs to the corresponding performance results in a real Wi-Fi network with similar settings. The evaluation results show a good match between the two types of results. Moreover, the platform guides us in identifying the algorithms that cause bufferbloat.
- We conduct CCA evaluations with different Wi-Fi settings: the Wi-Fi link as a bottleneck with two Wi-Fi standards (i.e., 802.11 n, g) and varying signal strengths. Moreover, we evaluate the CCAs in a Wi-Fi network with ten Wi-Fi clients and measure Jain’s fairness index. The results show that the Bottleneck Bandwidth and Round-trip propagation time (BBR) algorithm achieves the best RTT and throughput in an environment where bufferbloat occurs. However, TCP Reno achieves the best fairness performance in a Wi-Fi network with constantly changing flows.
2. Related Works
3. Emulator-Based Approach for Investigating TCP Performance in a Wi-Fi Network
3.1. Emulator Environment
- Round-trip time (RTT): The RTT represents the time that a sent packet needs to wait for a response from the destination. In this work, RTT values are collected from a pair of Internet Control Message Protocol (ICMP) packets generated by ping.
- Throughput: The TCP throughput is the rate of transferred traffic per time unit. In our environment, we consider the throughput values reported by iperf [33].
- Fairness index: We use Jain’s fairness index , which is defined as follows:
3.2. Congestion Control Algorithms
3.2.1. Loss-Based Algorithms
3.2.2. Delay-Based Algorithms
3.2.3. Hybrid Algorithms
4. Evaluation
4.1. Environmental Settings
4.2. Comparison to the Actual Network and CCAs
4.3. CCA Evaluation with Different Wi-Fi Settings
4.4. Fairness Evaluation
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Cisco Systems, I. The Zettabyte Era: Trends and Analysis; White Paper; Cisco: San Jose, CA, USA, 2015. [Google Scholar]
- Ganji, A.; Page, G.; Shahzad, M. Characterizing the Performance of WiFi in Dense IoT Deployments. In Proceedings of the 2019 28th International Conference on Computer Communication and Networks (ICCCN), Valencia, Spain, 29 July–1 August 2019; pp. 1–9. [Google Scholar]
- Horie, Y.; Thi Thu Hien, D.; Nguyen, K.; Sekiya, H. A Comparison of Congestion Control Algorithms in Emulated Wi-Fi Networks. In Proceedings of the 2020 International Conference on Information and Communication Technology Convergence (ICTC), Jeju, Republic of Korea, 21–23 October 2020; pp. 305–310. [Google Scholar]
- Ganji, A.; Singh, A.; Shahzad, M. Choosing TCP Variants for Cloud Tenants—A Measurement based Approach. In Proceedings of the 2020 29th International Conference on Computer Communications and Networks (ICCCN), Honolulu, HI, USA, 3–6 August 2020; pp. 1–9. [Google Scholar]
- Lukaseder, T.; Bradatsch, L.; Erb, B.; Van Der Heijden, R.W.; Kargl, F. A Comparison of TCP Congestion Control Algorithms in 10G Networks. In Proceedings of the 2016 IEEE 41st Conference on Local Computer Networks (LCN), Dubai, United Arab Emirates, 7–10 November 2016; pp. 706–714. [Google Scholar]
- Taruk, M.; Budiman, E.; Haviluddin.; Setyadi, H.J. Comparison of TCP variants in Long Term Evolution (LTE). In Proceedings of the 2017 5th International Conference on Electrical, Electronics and Information Engineering (ICEEIE), Malang, Indonesia, 6–8 October 2017; pp. 131–134. [Google Scholar]
- Poorzare, R.; Augé, A.C. Challenges on the Way of Implementing TCP Over 5G Networks. IEEE Access 2020, 8, 176393–176415. [Google Scholar] [CrossRef]
- Polese, M.; Jana, R.; Zorzi, M. TCP and MP-TCP in 5G mmWave Networks. IEEE Internet Comput. 2017, 21, 12–19. [Google Scholar] [CrossRef]
- Grieco, L.A.; Mascolo, S. Performance Evaluation and Comparison of Westwood+, New Reno, and Vegas TCP Congestion Control. SIGCOMM Comput. Commun. Rev. 2004, 34, 25–38. [Google Scholar] [CrossRef]
- Shi, H.; Wang, J. Intelligent TCP Congestion Control Policy Optimization. Appl. Sci. 2023, 13, 6644. [Google Scholar] [CrossRef]
- Ng, A.C.H.; Malone, D.; Leith, D.J. Experimental Evaluation of TCP Performance and Fairness in an 802.11e Test-Bed. In Proceedings of the 2005 ACM SIGCOMM Workshop on Experimental Approaches to Wireless Network Design and Analysis, Philadelphia, PA, USA, 22 August 2005; pp. 17–22. [Google Scholar]
- Ong, K.; Murray, D.; McGill, T. Large-Sample Comparison of TCP Congestion Control Mechanisms over Wireless Networks. In Proceedings of the 2016 30th International Conference on Advanced Information Networking and Applications Workshops (WAINA), Crans-Montana, Switzerland, 23–25 March 2016; pp. 420–426. [Google Scholar]
- Alakoca, H.; Karaca, M.; Karabulut Kurt, G. Performance of TCP over 802.11ac based WLANs via Testbed Measurements. In Proceedings of the 2015 International Symposium on Wireless Communication Systems (ISWCS), Brussels, Belgium, 25–28 August 2015; pp. 611–615. [Google Scholar]
- Grazia, C.A.; Klapez, M.; Casoni, M. BBRp: Improving TCP BBR Performance Over WLAN. IEEE Access 2020, 8, 43344–43354. [Google Scholar] [CrossRef]
- Nguyen, K.; Sekiya, H. TCP Behavior on Multi-gigabit IEEE 802.11ad Link. In Proceedings of the 8th IEEE International Conference on Green and Human Information Technology (ICGHIT), Hanoi, Vietnam, 5–7 February 2020; pp. 58–61. [Google Scholar]
- Muhammad, S.; Zhao, J.; Refai, H.H. An Empirical Analysis of IEEE 802.11 ax. In Proceedings of the 2020 International Conference on Communications, Signal Processing, and Their Applications (ICCSPA), Sharjah, United Arab Emirates, 16–18 March 2021; pp. 1–6. [Google Scholar]
- ElKassabi, I.; Abdrabou, A. An Experimental Comparative Performance Study of Different WiFi Standards for Smart Cities Outdoor Environments. In Proceedings of the 2022 IEEE 13th Annual Ubiquitous Computing, Electronics & Mobile Communication Conference (UEMCON), New York, NY, USA, 26–29 October 2022; pp. 450–455. [Google Scholar]
- Yang, W.; Zhou, X.; Du, W.; Sun, J.; Ren, Y.; Xie, G. A Measurement Study of TCP Performance over 60GHz mmWave Hybrid Networks. In Proceedings of the 2022 IEEE 23rd International Symposium on a World of Wireless, Mobile and Multimedia Networks (WoWMoM), Belfast, UK, 14–17 June 2022; pp. 300–305. [Google Scholar]
- Høiland-Jørgensen, T.; Hurtig, P.; Brunstrom, A. The Good, the Bad and the WiFi: Modern AQMs in a Residential Setting. Comput. Netw. 2015, 89, 90–106. [Google Scholar] [CrossRef] [Green Version]
- Showail, A.; Jamshaid, K.; Shihada, B. An Empirical Evaluation of Bufferbloat in IEEE 802.11n Wireless Networks. In Proceedings of the 2014 IEEE Wireless Communications and Networking Conference (WCNC), Istanbul, Turkey, 6–9 April 2014; pp. 3088–3093. [Google Scholar]
- Grazia, C.A.; Klapez, M.; Casoni, M. A Performance Evaluation of TCP Pacing and TCP Small Queues. IEEE Access 2021, 9, 129329–129336. [Google Scholar] [CrossRef]
- Pokhrel, S.R.; Panda, M.; Vu, H.L.; Mandjes, M. TCP Performance over Wi-Fi: Joint Impact of Buffer and Channel Losses. IEEE Trans. Mob. Comput. 2016, 15, 1279–1291. [Google Scholar] [CrossRef]
- Bao, W.; Wong, V.W.S.; Leung, V.C.M. A Model for Steady State Throughput of TCP CUBIC. In Proceedings of the 2010 IEEE Global Telecommunications Conference GLOBECOM, Miami, FL, USA, 6–10 December 2010; pp. 1–6. [Google Scholar]
- Poojary, S.; Sharma, V. Analytical Model for Congestion Control and Throughput with TCP CUBIC Connections. In Proceedings of the 2011 IEEE Global Telecommunications Conference-GLOBECOM, Houston, TX, USA, 5–9 December 2011; pp. 1–6. [Google Scholar]
- Yoshida, H.; Satoda, K.; Murase, T. Constructing stochastic model of TCP throughput on basis of stationarity analysis. In Proceedings of the 2013 IEEE Global Communications Conference (GLOBECOM), Atlanta, GA, USA, 9–13 December 2013; pp. 1544–1550. [Google Scholar]
- Fontes, R.d.R.; Mahfoudi, M.; Dabbous, W.; Turletti, T.; Rothenberg, C. How Far Can We Go? Towards Realistic Software-Defined Wireless Networking Experiments. Comput. J. 2017, 60, 1458–1471. [Google Scholar] [CrossRef]
- Fontes, R.R.; Afzal, S.; Brito, S.H.B.; Santos, M.A.S.; Rothenberg, C.E. Mininet-WiFi: Emulating software-defined wireless networks. In Proceedings of the 2015 11th International Conference on Network and Service Management (CNSM), Barcelona, Spain, 9–13 November 2015; pp. 384–389. [Google Scholar]
- Zhang, X.; Wang, H.; Zhao, H. An SDN Framework for UAV Backbone Network Towards Knowledge Centric Networking. In Proceedings of the IEEE INFOCOM 2018-IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Honolulu, HI, USA, 15–19 April 2018; pp. 456–461. [Google Scholar]
- Han, Z.; Lei, T.; Lu, Z.; Wen, X.; Zheng, W.; Guo, L. Artificial Intelligence-Based Handoff Management for Dense WLANs: A Deep Reinforcement Learning Approach. IEEE Access 2019, 7, 31688–31701. [Google Scholar] [CrossRef]
- Farrow, P. Performance analysis of heterogeneous TCP congestion control environments. In Proceedings of the 2017 International Conference on Performance Evaluation and Modeling in Wired and Wireless Networks (PEMWN), Paris, France, 28–30 November 2017; pp. 1–6. [Google Scholar]
- Song, Y.J.; Kim, G.H.; Mahmud, I.; Seo, W.K.; Cho, Y.Z. Understanding of BBRv2: Evaluation and Comparison With BBRv1 Congestion Control Algorithm. IEEE Access 2021, 9, 37131–37145. [Google Scholar] [CrossRef]
- Lantz, B.; Heller, B.; McKeown, N. A Network in a Laptop: Rapid Prototyping for Software-Defined Networks. In Proceedings of the 9th ACM SIGCOMM Workshop on Hot Topics in Networks, Monterey, CA, USA, 20–21 October 2010. [Google Scholar]
- iperf—The Ultimate Speed Test Tool for Tcp, Udp and Cctp. Available online: https://iperf.fr/ (accessed on 1 November 2022).
- Xu, L.; Harfoush, K.; Injong, R. Binary Increase Congestion Control (BIC) for Fast Long-distance Networks. In Proceedings of the IEEE INFOCOM, Hong Kong, China, 7–11 March 2004; pp. 2514–2524. [Google Scholar]
- Ha, S.; Rhee, I.; Xu, L. CUBIC: A New TCP-friendly High-speed TCP Variant. Oper. Syst. Rev. 2008, 42, 64–74. [Google Scholar] [CrossRef]
- Leith, D.; Shorten, R. H-TCP: TCP for high-speed and long-distance networks. In Proceedings of the PFLDnet, Argonne, IL, USA, February, 16–17 February 2004; pp. 1–16. [Google Scholar]
- Floyd, S. HighSpeed TCP for Large Congestion Windows. RFC 3649 . 2003. Available online: https://www.rfc-editor.org/info/rfc3649 (accessed on 27 June 2023).
- Caini, C.; Firrincieli, R. TCP Hybla: A TCP Enhancement for Heterogeneous Networks. Int. J. Satell. Commun. Netw. 2004, 22, 547–566. [Google Scholar] [CrossRef] [Green Version]
- Jacbson, V. Berkeley TCP evolution from 4.3-Tahoe to 4.3 Reno. In Proceedings of the 18th IETF, Vancouver, BC, Canada, 30 July–3 August 1990; pp. 523–526. [Google Scholar]
- Kelly, T. Scalable TCP: Improving Performance in Highspeed Wide Area Networks. SIGCOMM Comput. Commun. Rev. 2003, 33, 83–91. [Google Scholar] [CrossRef]
- Cardwell, N.; Cheng, Y.; Gunn, C.S.; Yeganeh, S.H.; Jacobson, V. BBR: Congestion-Based Congestion Control. Queue 2016, 14, 20–53. [Google Scholar] [CrossRef]
- Sing, J.; Soh, B. TCP New Vegas: Improving the Performance of TCP Vegas Over High Latency Links. In Proceedings of the IEEE International Symposium on Network Computing and Applications, Cambridge, MA, USA, 27–29 July 2005; pp. 73–82. [Google Scholar]
- Brakmo, L.S.; Peterson, L.L. TCP Vegas: End to End Congestion Avoidance on a Global Internet. IEEE J. Sel. Areas Commun. 1995, 13, 1465–1480. [Google Scholar] [CrossRef] [Green Version]
- Hayes, D.A.; Armitage, G. Revisiting TCP Congestion Control Using Delay Gradients. In Proceedings of the International Conference on Research in Networking, Valencia, Spain, 9–13 May 2011; pp. 328–341. [Google Scholar]
- Liu, S.; Basar, T.; Srikant, R. TCP-Illinois: A Loss- and Delay-based Congestion Control Algorithm for High-speed Networks. Perform. Eval. 2008, 65, 417–440. [Google Scholar] [CrossRef]
- Gerla, M.; Lee, S.; Sanadidi, M. TCP Westwood: Congestion Control with Faster Recovery; Technical Report, UCLA CSD TR #200017; The University of California, Los Angeles: Los Angeles, CA, USA, 2000. [Google Scholar]
- Baiocchi, A.; Castellani, A.P.; Vacirca, F. YeAH-TCP: Yet Another Highspeed TCP. In Proceedings of the PFLDnet, Los Angeles, CA, USA, 7–9 February 2007. [Google Scholar]
- Thu Hien, D.T.; Duc Ngo, T.; Le, D.; Sekiya, H.; Pham, V.; Nguyen, K. Targeting Bufferbloat in Wi-Fi Networks: An Emulator-based Approach. In Proceedings of the 2019 19th International Symposium on Communications and Information Technologies (ISCIT), Ho Chi Minh City, Vietnam, 25–27 September 2019; pp. 102–107. [Google Scholar]
- Kanematsu, T.; Yoshida, Y.; Li, Z.; Pei, T.; Choi, Y.J.; Nguyen, K.; Sekiya, H. Analytical Evaluation of a WLAN with Dense Network Nodes Considering Capture Effect. IEICE Trans. Commun. 2020, E103B, 815–825. [Google Scholar] [CrossRef]
- Man Page of Tcpdump. Available online: https://www.tcpdump.org/manpages/tcpdump.1-4.99.1.html (accessed on 1 November 2022).
Previous Work | Number of CCAs | Wi-Fi Standard | Environment | Accuracy | Evaluation Time | Metrics |
---|---|---|---|---|---|---|
[12] | 6 | 802.11n (fix) | Real devices | High | Long | Throughput RTT |
[15] | 3 | 802.11n (fix) | Real devices | High | Long | Throughput RTT |
[13] | 13 | 802.11n 802.11ac (fix) | Real devices | High | Long | Throughput |
[18] | 4 | 802.11ad (fix) | Real devices | High | Long | Throughput |
[10] | 2 | * | Emulator | Sufficient | Short | Throughput RTT |
[3] | 14 | 802.11g (flexible) | Emulator | Sufficient | Short | Throughput RTT |
This work | 14 | 802.11n 802.11g 802.11ax (flexible) | Emulator | Sufficient | Short | Throughput RTT Fairness |
Tool/Script | Function |
---|---|
ping | Measuring RTT values |
iperf | Measuring throughput values |
Cal_fairness script | Calculating fairness index |
Setting_script | Setting CCAs and network parameters |
Experiment_script | Creating Wi-Fi networks and running iperf, ping |
Other utilities | Making figures, monitoring other parameters, etc. |
Section | Wi-Fi | S1–S2 Link Bandwidth | Queue Size |
---|---|---|---|
Section 4.2 | g | 10 Mbps | {20, 100} packets |
Section 4.3 | g, n, ax | 1000 Mbps | 100 packets |
Section 4.4 | g | {10, 100} Mbps | 100 packets |
CCA | Queue Size = 20 Packets | Queue Size = 100 Packets | ||
---|---|---|---|---|
RTT Ratio | Tx Ratio | RTT Ratio | Tx Ratio | |
Reno | 1.206 | 1.021 | 1.037 | 1.018 |
BIC | 0.972 | 1.023 | 1.010 | 1.020 |
CUBIC | 0.942 | 1.002 | 1.060 | 0.997 |
Highspeed | 0.984 | 1.025 | 1.026 | 1.003 |
H-TCP | 1.163 | 1.021 | 1.040 | 1.023 |
Hybla | 0.983 | 1.020 | 1.054 | 1.006 |
Scalable | 1.136 | 1.018 | 1.100 | 1.016 |
Vegas | 0.891 | 1.022 | 0.690 | 1.035 |
NV | 0.821 | 1.002 | 2.682 | 1.015 |
BBR | 1.033 | 1.001 | 0.666 | 0.997 |
CDG | 1.187 | 1.007 | 1.164 | 1.013 |
Illinois | 0.835 | 1.004 | 0.947 | 1.008 |
Westwood | 1.496 | 1.022 | 1.092 | 1.006 |
YeAH | 0.978 | 1.003 | 1.150 | 1.007 |
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. |
© 2023 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
Aoyagi, S.; Horie, Y.; Thi Thu Hien, D.; Duc Ngo, T.; Le, D.-D.; Nguyen, K.; Sekiya, H. An Accurate Platform for Investigating TCP Performance in Wi-Fi Networks. Future Internet 2023, 15, 246. https://doi.org/10.3390/fi15070246
Aoyagi S, Horie Y, Thi Thu Hien D, Duc Ngo T, Le D-D, Nguyen K, Sekiya H. An Accurate Platform for Investigating TCP Performance in Wi-Fi Networks. Future Internet. 2023; 15(7):246. https://doi.org/10.3390/fi15070246
Chicago/Turabian StyleAoyagi, Shunji, Yuki Horie, Do Thi Thu Hien, Thanh Duc Ngo, Duy-Dinh Le, Kien Nguyen, and Hiroo Sekiya. 2023. "An Accurate Platform for Investigating TCP Performance in Wi-Fi Networks" Future Internet 15, no. 7: 246. https://doi.org/10.3390/fi15070246
APA StyleAoyagi, S., Horie, Y., Thi Thu Hien, D., Duc Ngo, T., Le, D. -D., Nguyen, K., & Sekiya, H. (2023). An Accurate Platform for Investigating TCP Performance in Wi-Fi Networks. Future Internet, 15(7), 246. https://doi.org/10.3390/fi15070246