Abstract
In Software-Defined Networking (SDN), the centralized control plane can become a performance bottleneck due to non-uniform traffic distributions. This paper introduces a Reinforcement Learning-based Load Balancing Mechanism (RL-LBM) designed to dynamically migrate switches between controllers to achieve global load equilibrium. By optimizing migration triplets—source controller, target controller, and switch—the proposed method minimizes communication overhead and significantly reduces packet processing delays. Experimental results demonstrate that RL-LBM outperforms existing heuristic-based approaches in terms of latency and stability under varying traffic loads.
Introduction
The separation of the control plane and data plane in SDN offers significant flexibility but introduces challenges in scalability. Distributed controller deployments are often used to prevent a single controller from becoming a bottleneck. However, dynamic network traffic frequently leads to load imbalances, where some controllers are overwhelmed by "packet-in" requests while others remain underutilized. Traditional switch migration strategies often suffer from migration conflicts, inefficiency due to high hop counts, and the risk of creating new overloads in neighboring controllers.
Methods
The RL-LBM framework addresses these issues through a two-stage process. First, a candidate selection phase uses heuristics to identify migration domains and efficient switches. The Migration Domain Selection identifies overloaded and idle controllers using a discrete coefficient. Subsequently, Switch Selection identifies switches for migration based on a Migration Efficiency metric, which considers the ratio of a switch's traffic load to its hop distance from the target controller.
The second stage is the RL Decision Phase, which utilizes Q-Learning for global optimization. The system models the state as the current load distribution and the action as the selection of migration triplets. A reward function balances load improvement against migration costs.
Experimental Setup
The mechanism was evaluated in a simulated environment using Mininet, featuring 4 RYU controllers and 12 OpenvSwitches. Traffic was generated using iPerf to simulate various packet-in rates and create artificial overload scenarios. The controllers were implemented in Python using the RYU framework and OpenFlow protocols.
Results
RL-LBM was compared against two benchmarks: DC-LBM (Deviation Coefficient-based) and MMO-LBM (Minimum Migration Overhead-based). Key findings include:
- Reduced Latency: RL-LBM reduced the average switch-controller message response delay by 17.8% compared to MMO-LBM.
- Improved Stability: The mechanism maintained a more stable load balancing ratio as traffic rates increased.
- Lower Overhead: By selecting "efficient" switches, RL-LBM minimized the control traffic required for migrations.
Conclusion
RL-LBM provides a robust solution for SDN controller load balancing by leveraging reinforcement learning to move beyond local optimizations. While effective in the tested scenarios, future work could explore the scalability of Q-Learning in larger networks using Deep Q-Networks (DQN) and investigate performance under real-world hardware constraints and physical link congestion.
Summary updated