ECMP Routing via PTP Time Delay Measurement
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing networking devices using Equal Cost Multi-Path (ECMP) routing protocols fail to account for additional time delays caused by intermediate nodes, leading to inefficient packet forwarding as they do not consider factors like network congestion and node states, resulting in suboptimal path selection.
Innovation Solution
Implementing a Precision Time Protocol (PTP) packet system where a networking device acts as a Grand Master, sending PTP packets to nexthops in an ECMP set, with intermediate nodes calculating and accumulating time delays, which are then used to update the ECMP set, allowing for more accurate differentiation between paths.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If ECMP routing protocol is used for packet forwarding, then multiple equal-cost paths can be utilized for load balancing, but additional time delays caused by intermediate nodes are not accounted for, resulting in suboptimal path selection
Solution Approach 1:
The system performs preliminary time delay measurements by sending PTP packets through each ECMP path before actual data forwarding. The measured time delays are stored and used to weight the ECMP paths, ensuring that packets are forwarded through optimal paths based on pre-measured performance characteristics rather than assuming all ECMP paths are equal.
Solution Approach 2:
The system implements feedback by continuously monitoring actual transmission times through PTP packets and using this information to dynamically adjust ECMP path weights. The forwarding device receives time delay information from intermediate nodes and uses this feedback to optimize path selection, creating a closed-loop system that adapts to changing network conditions.
2Ease of operation
If traditional ECMP routing is used, then routing decisions are simple and fast, but network congestion and node states are not considered, leading to inefficient path selection
Solution Approach 1:
The system introduces PTP packets as intermediary probes that carry timing information through the network without interfering with normal data traffic. These intermediary packets enable the forwarding device to gather accurate time delay measurements from intermediate nodes, providing reliable path performance data while maintaining the simplicity of ECMP routing decisions through weighted random selection.
3Measurement precision
If PTP packets are sent to measure time delays, then accurate path cost differentiation is achieved, but additional network traffic and processing overhead are introduced
Solution Approach 1:
The system leverages the existing Precision Time Protocol infrastructure, which was originally designed for clock synchronization, to serve the additional function of path measurement. By reusing the established PTP message formats and processing mechanisms already present in network devices, the system achieves accurate time delay measurements without requiring completely new protocols or extensive modifications to existing device functionality.
Data Source
AI summary
Examples include generating a Precision Time Protocol (PTP) packet for a first nexthop in an Equal Cost Multi-Path set and sending the PTP packet to the first nexthop. Examples also include receiving a response from the first nexthop that identifies a time delay associated with a route to the first nexthop and updating the ECMP based on the time delay.


