Distributed Software-Defined Networking (SDN) is essential for managing large-scale networks, yet it introduces the complex challenge of controller synchronization. Maintaining a consistent global view across multiple controllers often requires significant bandwidth and processing power. This paper introduces MACS (Multi-Armed Cooperative Synchronization), a Deep Reinforcement Learning (DRL) approach designed to optimize synchronization policies for performance rather than just error prevention.
The Problem: Balancing Consistency and Performance
In distributed SDN, multiple controllers manage distinct domains. To perform global tasks like end-to-end routing, these controllers must synchronize their local views. Traditional "eventual consistency" models often lead to stale information, which can degrade network performance. While previous work focused on avoiding hard errors like routing loops, MACS targets the performance gap, specifically aiming to minimize network request latency by intelligently deciding what to synchronize and when.
Methods: MDP and Scalable DRL
The authors model the synchronization task as a Markov Decision Process (MDP).
As shown in the figure above, the physical network is abstracted into a graph where nodes represent domains and edges represent inter-domain links. The state of the MDP is defined by the "staleness" of Basic Information of Synchronization (BIS), measured by the time elapsed since the last update.
A significant challenge in applying DRL to this problem is the "combinatorial explosion" of the action space. With $N$ pieces of information, there are $2^N$ possible synchronization actions. MACS addresses this using an Action Branching Architecture (ABA).
The architecture decomposes the massive action space into $N$ independent binary decisions (sync or not sync) across multiple "action arms." This design, combined with a Dueling Network approach that separates state value estimation from action advantage, allows MACS to scale effectively to complex topologies. The reward function is directly tied to the reduction in average request latency, ensuring the agent learns performance-optimal policies.
Experimental Setup
Evaluation was conducted using a simulated environment based on the CAIDA AS-27524 dataset, forming an 8-domain topology. Traffic patterns followed a Zipf-Mandelbrot distribution to mimic realistic internet content popularity. Network dynamics, including delays and synchronization budgets, were modeled using Poisson and Gaussian distributions to test robustness under volatile conditions.
Key Results and Insights
MACS demonstrates significant improvements over traditional methods:
- Latency Reduction: MACS reduced request latency by 56% compared to the ONOS anti-entropy protocol and by 30% compared to simple greedy heuristics.
- Efficiency: Under limited synchronization budgets, MACS achieved performance levels nearly identical to a "Full Sync" scenario, proving its ability to prioritize high-value updates.
- Robustness: The system excelled in highly volatile environments, where its DRL agent could identify latent patterns in noisy network data that simple heuristics missed.
A key insight from the study is the "Budget Paradox": simply increasing the synchronization budget does not guarantee better performance. Poor policies can waste budget on low-value updates. MACS effectively regulates budget usage, only performing synchronizations that provide a clear benefit to the global latency metric.
Limitations and Future Directions
While promising, MACS currently relies on centralized training, which could be a single point of failure. Future work could explore decentralized training methods. Additionally, while the framework is general, the current model is tuned specifically for service path construction and may require retraining for other SDN applications like security or load balancing. Finally, the computational cost of training the deep neural networks remains a consideration for real-time deployment in extremely dynamic environments.
Summary updated