I. Introduction
An SDN controller is an application at the center of the Software-Defined Network architecture and can be called the network brain. This means that it separates the control functions from the forwarding functions and makes it easy for centralized and dynamic management [
1,
2]. The switches and routers are managed with the help of southbound APIs and applications that use the network can interface through northbound APIs [
3,
4]. The current state SDN controllers’ paradigm allows for controlling many protocols through central nodes and programmability, thus forming an important tool for dealing with complex networks [
5,
6]. However, traditional SDN controllers such as POX I2_learning don’t include dynamic algorithms and measures of traffic/load for non-stationary scenarios. Such limitations can result in the wastage of resources, traffic jams, and limited network reliability and stability [
7,
8].
These challenges therefore call for improving the SDN controllers with real-time decision-making and adaptation capability [
9]. That is why features such as actual link load, dynamic timeouts, and load sharing enhance a controller’s capacity to manage variable real conditions [
10,
11]. Furthermore, incorporating machine learning provides an analysis of data with the culmination of predictive analytic results and real-time dynamic control over the networks [
12,
13,
14]. This paper aims to propose such features in the POX I2_learning controller and integrate an XG-Boost machine-learning model for better routing and congestion control in the current SDN setting.
This paper is organized as follows: The subsequent section presents the literature review and focuses on recent developments in integrating SDN and machine learning. Section three focuses on the method, describing improvements in the POX I2_learning controller and the integration of the XG-Boost model. Section four provides a view of the proposed system results and the performance enhancement part. Section five will present and contrast the current studies and describe the implications of the research. In the last part of the paper, the authors present the main findings and suggest possible further developments.
II. Literature Review
Network management strategies in Software Defined Networking (SDN) have been investigated systematically in the past with emulation on how to deal with scalability, flexibility, and utilization of networks to manage high rates of traffic fluctuation [
5]. Many traditional SDN controllers such as POX I2_learning controller perform the task of centralized control and routing but suffer from static algorithms and fixed metrics that would not allow for flexibility in current network variability. Such restrictions have propelled research on improving the controller’s interactions and sensitivity [
3,
7].
The following are some of the investigations that were launched to express real-time congestion measures for traffic supervision and management pursuance. For example, scholars have regarded different techniques to convey periodic reports from Open Flow switches such as the number of latency, packet loss, and bandwidth usage to control the controllers for optimum routing. However, applying conventional and prescriptive rules to solve congestion problems is insufficient for coping with highly dynamic situations [
10,
15].
To tackle these challenges, Machine Learning (ML) obtained rich research interest in the field of SDN [
16,
17]. In this case, XG-Boost ML is among the models that have been used to classify the states of networks, predict congestion, and the best routing options. As opposed to conventional methods, ML provides flexibility to allow controllers to understand previous conditions and apply that knowledge to current network conditions [
18]. Research has revealed that incorporating ML into SDN controllers can notably boost scalability and performance, including when network traffic is heavy [
19,
20,
21,
22,
23,
24,
25,
26].
The recent work has integrated ML to SDN for load balancing, adaptive timeouts, path cost calculations, and efforts for congestion and unbalanced resource utilization. These approaches reveal that interesting but practical approaches to optimization, where enhancements to the traditional controller must be complemented with an ML-based method for decision-making, can simultaneously guarantee stability and dynamic adaptation. Based on this foundation, this study extends the newly advanced POX I2_learning controller to incorporate XG-Boost to achieve a highly reliable and scalable solution for the modern SDN context.
III. Methodology
A. Topology Overview
The topology aims to experiment with routing algorithms and congestion control using Software Defined Networking (SDN). To integrate it, it was run in Mininet over an Ubuntu-formed virtual machine under the POX I2_learning controller for network flow, and various performance metrics such as latency, packet loss, and throughput were collected. The configuration in the stage is illustrated in
Figure 1. It is close to a real-time network environment created using different utilities, such as Traffic Control (tc), ping, and iperf that change packet loss, tune latency, and model certain traffic intensities. Optimizations like the adaptive timeout, load balancing, and path cost calculations increase scalability, stability, and congestion handling.
To enhance accurate tweaking of routing, the enhanced controller was fitted with an XG-Boost model that is trained with 3000 samples of latency, throughputs, and traffic load. This enables dynamic prediction of optimal paths thus increasing network reliability and performance. The network topology is a three-layered model, manifesting 20 hosts at the first tier and 5 switches in the second tier; thereby making it possible to implement enhanced routing and congestion control through the use of machine learning algorithms in dynamic networks.
B. Enhancing the POX I2_Learning Controller
Though basic routing in SDN environments is manageable by the use of the POX I2_learning controller, there were several disadvantages as the network traffic intensity enhanced. Such limitations included congestion control, scalability, and optimality; consequently, performance degradation in dynamic and high-traffic networks [
3,
5].
Table 1 provides a clear description of all the problem areas that are explained in detail below alongside the congestion-aware controller’s solutions.
The modification of the POX I2_learning controller into the Congestion-Aware controller solved its main issues. The extensions included real-time congestion measurement, dynamic flow control, and interaction between routing and congestion control, and it was proven that with these changes the enhanced controller provided significant steps forward in terms of scalability, stability, and efficiency. These advancements lay the groundwork for the contemporary applications of SDN together with ongoing studies on joint routing and congestion control.
C. Integrating the Enhanced I2_Learning Controller with ML
The integration of machine learning with the enhanced I2_learning controller, shown in
Figure 2, addresses the need for more adaptive and intelligent routing in dynamic, high-traffic environments. While the enhanced controller introduced congestion awareness and real-path optimization it still used static algorithms and predefined metrics for operation and could not adapt to conditions in the ways of the adaptive algorithm. The proposed XG-Boost model can help the controller identify congestion categories of the network state and suggest proper paths to take in real-time. This integration brings these congestion-aware techniques from static to dynamic ones, making them more proactive rather than reactive thus providing a more suitable paradigm shift for modern network optimization.
1). Dataset Aggregation and Composition
A dataset was generated using the Mininet topology with 20 hosts and 5 switches, simulated on an Ubuntu platform. Tools like iperf, ping, and Traffic Control (tc) replicated realistic conditions by varying traffic levels, latency, and packet loss. Metrics were categorized as directly extracted (e.g., latency, throughput, packet loss, bandwidth utilization) and derived (e.g., path cost, traffic load, routing efficiency, link quality), providing structured data for machine learning integration, as summarized in
Table 2.
The dataset, shown in
Table 3, included key metrics like throughput, latency, and packet loss, collected under diverse conditions. It comprised 3,000 samples categorized into three classes: Class 0 (Not Congested) for smooth traffic, Class 1 (Congested but Not Optimal Path) for inefficient routing, and Class 2 (Congested with Optimal Path) for congestion on the best route. These balanced classes, detailed in
Table 4, ensured comprehensive coverage for training and testing the machine learning model.
2). Model Training and Evaluation
Cross-validation was done and concerning that, the data was divided into 80% training data and 20% for testing. The training set allowed the XG-Boost model to detect patterns in the network activity and define congestion states; features were scaled for equal scale and free of bias. The testing set assesses the model on real data outside the monitoring process to check how it fared in other conditions. Configured with 100 decision trees and a maximum depth of 5, the model balanced complexity and interpretability while avoiding overfitting. Learning rate between [0.01, 0.1, 0.2] helps the model to avoid oscillation while gradient boosting further enhances the precision, and enhances decision-making for the archive concerning the congestion states of the network.
3). Integration with the Enhanced Controller
The trained XG-Boost model was integrated into the enhanced I2_learning controller, which collected real-time network metrics for classification. Based on the results, the controller took action: The traffic of Class 0 (Not Congested) continued to use specified paths; in Class 1 (Congested but Not Optimal Path), traffic redirection occurred to other paths with less congestion; while traffic from Class 2 (Congested with Optimal Path) was balanced well. This integration allowed the proposed algorithms to respond in real-time to change conditions in order to offer the best path for routing and congestion control while also shedding light on the synergistic capabilities of multiple SDN controllers and machine learning in present modern networks.
IV. Experimental Results
A. I2_Learning vs. Enhanced I2_Learning Controller
Table 5 illustrates the enhancements made due to the enhanced I2_learning controller in this study over the existing one. This controller had less latency (0.523 ms) and average offered throughput (9.50 Mbps), but it did not scale well and has a high variability when there were many simultaneous flows. The congestion-aware and dynamically optimizing enhanced controller offered higher stability in latency (3.518ms), slightly improved throughput (9.56Mbps), no packet drops, and improved scalability. While it does increase the processing load slightly it does it uniformly providing for better overall performance in large and volatile networks while the original controller is better suited for static simple ones.
The enhanced I2_learning controller well responds to the weakness in the original controller, especially in dynamism and heavier traffic load situations, in terms of throughput amplitude, capability to accommodate more clients, and better utilization of bandwidth. However, it uses static algorithms to achieve these, and this must be increased again in highly dynamic environments. Implementing machine learning as an element of the system helps to include a data-based approach to the decision-making and on-time adjustments. The subsequent section provides an understanding of enhancing the network performance with an XG-Boost model and integrated predictive tools.
B. Machine Learning Integration
The integration of the proposed XG-Boost model with the enhanced controller offered high-level decision-making decisions of the network states and improved the routing mechanism. The following tables present the complexity of the model as well as the evaluation criteria used in the work. The setup for the XG-Boost model is presented in
Table 6. The above parameters allow in-between model refinement to achieve the right combination of accuracy and computational efficiency. As shown in the table below, the indexes of the XG-Boost model indicate that the method has high accuracy and robustness.
The confusion matrix, as shown in
Figure 3, highlights the model's high accuracy across all classes, with minimal misclassification for the testing set which represents 20% (600 samples) of the total dataset.
Table 7 illustrates the confusion matrix.
The integration of the XG-Boost model with the developed I2_learning controller significantly improves real-time classification of network states and routing optimization, achieving an accuracy of 99.67% with balanced precision, recall, and F1 score of 99%. The resulting XG-Boost model is relatively fast and lightweight with 100 boost-rounds, a max depth equal to 5, 140 KB size, and around 3200 learnable parameters. Such attributes make the model less computational, appropriate for real-time applications in SDN, and therefore ideal for dynamic network management, this shows how the model can accurately indicate congestion levels and where the correct path should be to avoid crowded areas. The training on a dataset of features like throughput, latency, packet loss, and bandwidth utilization, the model effectively learns and generalizes diverse network conditions, with minimal misclassifications as shown in the results confusion matrix. Beyond reacting to current conditions, the integration enables the controller to predict and mitigate congestion through dynamic rerouting and load balancing, ensuring efficient resource utilization and network stability. This advancement positions the controller as a robust solution for modern SDN environments.
V. Discussion
The integration of machine learning into SDN has been extensively studied to address challenges such as congestion management, scalability, and dynamic traffic optimization. In this section, the proposed enhancements to the POX I2_learning controller are compared to the recent works on the following aspects: methodology, machine learning techniques, and performance outcomes. A comparison has been made as depicted below in
Table 8 in terms of the strengths that are proportional to this study which utilizes an XG-Boost model for dynamic routing and congestion control in real time.
The comparison highlights the strengths of this work in integrating an XG-Boost model with the POX I2_learning controller, enabling accurate classification of network states and optimized routing decisions. Unlike [
27], who describe optimization algorithms in a congestion-aware category, the proposed work shows flexibility in real-time with quantifiable latency, packet loss, and improved throughput rates. Although [
28] offers a general overview of using machine learning implementation, this proposed method presents a particular application that was shown with validated results. Compared to [
29], which focuses on predictive traffic management, this work integrates prediction with reactive congestion control while achieving reliability and scalability.
Integrating XG-Boost allows for lightweight functionality and high accuracy (99.67%), making this work a robust and efficient solution for modern SDN challenges. These comparisons amplify the pointers regarding the effectiveness of the proposed improvements to offset the drawbacks of the conventional SDN controllers and also promote research in machine learning for enhancing the SDN functionality.
VI. Conclusion
The enhanced POX I2_learning controller which is integrated with machine learning effectively addressed its limitations in dynamic and high-traffic environments. Features such as real-time congestion metrics, adaptive timeouts, and load balancing significantly improve network stability, scalability, and congestion management. Acquiring an XG-Boost ML model contributed to making networks more flexible for the classification of their states and improving routing policies. The performance improvements are a stable latency of 3.52 ms, zero packet loss, and a slight boost in data rate to 9.56 Mbps compared to the basic controller. The optimal configuration of the AI model is 100 trees with a maximum depth of 5, the model is compact at 140 KB requiring 3200 trainable parameters, and it is well suited for real-time applications. The integrated XG-Boost ML model established accuracy at 99.67%, equally supported by precision, recall, and F1 scores of 99%, thus providing reliable, robust classification and adaptive anticipative decisions. The proposed enhancements outperform recent SDN approaches by integrating XG-Boost, enabling real-time optimization and achieving significant performance improvements in scalability, latency, and resource utilization. Future work may try to explore deep learning models, expand the datasets, and discuss the probable real-world implementation to assist improve the parameters related to adaptability and scalability.
References
- Vuppalapati, N.; Venkatesh, T.G. Modeling & analysis of software defined networks under non-stationary conditions. Peer-to-Peer Networking and Applications 2021, 14, 1174–1189. [Google Scholar]
- Ali, Q.I.; Jalal, J.K. Practical design of solar-powered IEEE 802.11 backhaul wireless repeater. In Proceedings of the 6th Int. Conf. on Multimedia, Computer Graphics and Broadcasting, Computer Graphics and Broadcasting; 2014. [Google Scholar]
- Bannour, F.; Souihi, S.; Mellouk, A. Distributed SDN control: Survey, taxonomy, and challenges. IEEE Communications Surveys & Tutorials 2017, 20, 333–354. [Google Scholar]
- Ali, Q.I. Green communication infrastructure for vehicular ad hoc network (VANET). Journal of Electrical Engineering 2016, 16, 10. [Google Scholar]
- Bautista, P.B.; Comellas, J.; Urquiza-Aguiar, L. Evaluating Scalability, Resiliency, and Load Balancing in Software-Defined Networking. Engineering Proceedings 2023, 47, 16. [Google Scholar]
- Mohammed, H.M.; Ali, Q.I. E-proctoring systems: A review on designing techniques, features, and abilities against threats and attacks. Quantum Journal of Engineering, Science, and Technology 2022, 3, 14–30. [Google Scholar]
- Rastogi, A.; Bais, A. Comparative analysis of software defined networking (SDN) controllers—In terms of traffic handling capabilities. In Proceedings of the 2016 19th International Multi-Topic Conference (INMIC); 2016; pp. 1–6. [Google Scholar]
- Ali, Q.I. Security Issues of Solar Energy Harvesting Road Side Unit (RSU). Iraqi Journal for Electrical & Electronic Engineering 2015, 11. [Google Scholar]
- Sharma, A.; Balasubramanian, V.; Kamruzzaman, J. A novel dynamic software-defined networking approach to neutralize traffic burst. Computers 2023, 12, 131. [Google Scholar] [CrossRef]
- He, M.; et al. How flexible is dynamic SDN control plane? In Proceedings of the 2017 IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS); 2017; pp. 978–983. [Google Scholar]
- Ali, Q.I. Design and implementation of an embedded intrusion detection system for wireless applications. IET Information Security 2012, 6, 171–182. [Google Scholar] [CrossRef]
- Sharma, A.; Babbar, H. Machine Learning-based Threat Detection for DDoS Prevention in SDN-Controlled IoT Networks. In Proceedings of the 2024 5th International Conference for Emerging Technology (INCET); 2024; pp. 1–7. [Google Scholar]
- Ali, S.Q.I. Realization of a robust fog-based green VANET infrastructure. IEEE Systems Journal 2022, 17, 2465–2476. [Google Scholar] [CrossRef]
- Serag, R.H.; et al. Machine-Learning-Based Traffic Classification in Software-Defined Networks. Electronics 2024, 13, 1108. [Google Scholar] [CrossRef]
- Shivayogimath, C.N.; Uma Reddy, N.V. Modification of l2 learning switch code for firewall functionality in pox controller. In Silicon Photonics & High Performance Computing: Proceedings of CSI 2015; Springer: Singapore, 2018; pp. 367–372. [Google Scholar]
- Amin, R.; et al. A survey on machine learning techniques for routing optimization in SDN. IEEE Access 2021, 9, 104582–104611. [Google Scholar] [CrossRef]
- Liu, Z. ML-based SDN performance prediction. Applied and Computational Engineering 2023, 29, 57–67. [Google Scholar] [CrossRef]
- Bilal, N.; Askar, S.; Muheden, K. Challenges and Outcomes of Combining Machine Learning with Software-Defined Networking for Network Security and Management Purpose: A Review. Indonesian Journal of Computer Science 2024, 13, 73–85. [Google Scholar] [CrossRef]
- Gonzalez, C.; Charfadine, S.M. SDN Controllers and ML-Based Anomaly Detection in Embedded Systems: A Comparative Analysis. In Proceedings of the 2023 10th International Conference on Wireless Networks and Mobile Communications (WINCOM); 2023; pp. 56–62. [Google Scholar]
- Ibrahim, Q. Enhanced power management scheme for embedded road side units. IET Computers & Digital Techniques 2016, 10, 174–185. [Google Scholar]
- Ali, Q.I. Performance evaluation of WLAN internet sharing using DCF & PCF modes. Int. Arab. J. e Technol. 2009, 1, 38–45. [Google Scholar]
- Ali, Q.I. Design, implementation & optimization of an energy harvesting system for VANETs’ road side units (RSU). IET Intelligent Transport Systems 2014, 8, 298–307. [Google Scholar]
- Ali, Q.I. An efficient simulation methodology of networked industrial devices. In Proceedings of the 5th Int. Multi-Conference on Systems, Signals and Devices; 2008; pp. 1–6. [Google Scholar]
- Ali, Q.I. Securing solar energy-harvesting road-side unit using an embedded cooperative-hybrid intrusion detection system. IET Information Security 2016, 10, 386–402. [Google Scholar] [CrossRef]
- Ibrahim, Q. , "Design & Implementation of High-Speed Network Devices Using SRL16 Reconfigurable Content Addressable Memory (RCAM). Int. Arab. J. e Technol. 2011, 2, 72–81. [Google Scholar]
- Alhabib, M.H.; Ali, Q.I. Internet of autonomous vehicles communication infrastructure: A short review. Diagnostyka 2023, 24. [Google Scholar] [CrossRef]
- Prasanth, L.L.; Uma, E. A computationally intelligent framework for traffic engineering and congestion management in software-defined network (SDN). EURASIP Journal on Wireless Communications and Networking 2024, 2024, 63. [Google Scholar] [CrossRef]
- Yassin, T.; Ali, O. Using Machine Learning to Control Congestion in SDN: A Review. In International Conference on Emerging Trends and Applications in Artificial Intelligence; Springer Nature: Cham, Switzerland, 2023; pp. 45–52. [Google Scholar]
- Xu, Y. Machine Learning Based Traffic Prediction and Congestion Control Algorithms in Software Defined Networks. In Proceedings of the 2024 International Conference on Interactive Intelligent Systems and Techniques (IIST), IEEE; 2024; pp. 12–18. [Google Scholar]
|
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. |
© 2025 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 (http://creativecommons.org/licenses/by/4.0/).