Skip to content

Commit 838f47f

Browse files
[orchagent] Add FEC frame loss ratio monitoring with predictive analytics (#3953)
Implement observed and predicted FEC frame loss ratio calculations, using real-time metrics and linear regression on codeword error distribution for comprehensive network link health monitoring. Key changes: 1. Add port_flr.lua script with dual FLR calculation methods: * Observed FLR from real-time uncorrectable codeword ratios * Predicted FLR using log-linear regression on FEC symbol error bins S0-S15 2. Update Makefile.am to include port_flr.lua in distribution 3. Modify portsorch.cpp to load FLR plugin alongside existing port rate monitoring 4. Implement statistical filtering and 2-minute calculation intervals 5. Store results in RATES table as FEC_FLR and FEC_FLR_PREDICTED, FEC_FLR_R_SQUARED metrics The predictive algorithm analyzes FEC codeword error patterns across symbol error bins, applies regression analysis to model error distribution trends, and extrapolates potential frame loss using IEEE FEC specifications. This enables early detection of degrading links before complete failure, supporting proactive network maintenance. (cherry picked from commit 1b025d5bb323d28901a578599bdccdc8054d0384) Signed-off-by: Apoorv Sachan <[email protected]>
1 parent dfc34a1 commit 838f47f

File tree

3 files changed

+487
-2
lines changed

3 files changed

+487
-2
lines changed

orchagent/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ dist_swss_DATA = \
2828
pfc_restore.lua \
2929
pfc_restore_cisco-8000.lua \
3030
port_rates.lua \
31+
port_flr.lua \
3132
watermark_queue.lua \
3233
watermark_pg.lua \
3334
watermark_bufferpool.lua \

0 commit comments

Comments
 (0)