Abstract
The existing segment routing (SR) methods need to determine the routing first and then use path segmentation approaches to select swap nodes to form a segment routing path (SRP). They require re-segmentation of the path when the routing changes. Furthermore, they do not consider the flow table issuance time, which cannot maximize the speed of issuance flow table. To address these issues, this paper establishes an optimization model that can simultaneously form routing strategies and path segmentation strategies for selecting the appropriate swap nodes to reduce flow table issuance time. It also designs an intelligent segment routing algorithm based on deep reinforcement learning (DRL-SR) to solve the proposed model. First, a traffic matrix is designed as the state space for the deep reinforcement learning agent; this matrix includes multiple QoS performance indicators, flow table issuance time overhead and SR label stack depth. Second, the action selection strategy and corresponding reward function are designed, where the agent selects the next node considering the routing; in addition, the action selection strategy whether the newly added node is selected as the swap node and the corresponding reward function are designed considering the time cost factor for the controller to issue the flow table to the swap node. Finally, a series of experiments and their results show that, compared with the existing methods, the designed segmented route optimization model and the intelligent solution algorithm (DRL-SR) can reduce the time overhead required to complete the segmented route establishment task while optimizing performance metrics such as throughput, delays and packet losses.
Introduction
Software-Defined Networking (SDN) centralizes network control, enabling advanced techniques like Segment Routing (SR). In SR, the controller embeds the entire routing path into packet headers as a "label stack." However, physical switches have a Stack List Depth (SLD) limit. To handle long paths, the controller must designate swap nodes to refresh the label stack.
Traditional SR methods treat path selection and swap node placement as separate tasks and often ignore the communication delay between the controller and the switches. This oversight can lead to significant delays in route establishment if the chosen swap nodes have slow connections to the controller.
Methodology: Joint Optimization with DRL-SR
The authors propose DRL-SR, a framework that uses Deep Reinforcement Learning (specifically Soft Actor-Critic) to jointly optimize routing and swap node selection. By including controller-to-node delay in the state space and reward function, the agent learns to avoid nodes that would bottleneck the flow table issuance process.
Key Components of DRL-SR
- State Space: A 6-channel matrix capturing real-time bandwidth, link delay, packet loss, controller-to-node delay, and current label stack depth.
- Action Space: A dual-decision process where the agent selects the next hop and simultaneously decides if that node should act as a swap node.
- Reward Function: Incentivizes high-throughput, low-latency paths while penalizing the use of swap nodes with high controller communication overhead.
Evaluation and Results
The researchers evaluated DRL-SR using Mininet and real-world topologies (ARPANet, Sun, and Arnes). The results demonstrate that DRL-SR significantly outperforms traditional OSPF and standard SR methods:
- Throughput & Delay: Throughput increased by up to 9.79% in larger topologies (Arnes), while network delay was reduced by over 20% in smaller topologies.
- Setup Efficiency: The time required to deliver flow tables and establish routes was reduced by up to 19.93% compared to standard SR methods.
Conclusion
DRL-SR addresses a critical gap in Segment Routing by integrating control plane communication costs into the path planning process. By treating routing and segmentation as a single, intelligent task, the framework ensures that software-defined networks can adapt rapidly to dynamic traffic while minimizing the overhead of route configuration. This approach paves the way for more responsive and efficient large-scale network management.
Summary updated