Match-Action Table Hot Path Detection with Dynamic Node Counters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Network devices struggle to efficiently track and identify 'hot paths' and 'hotspots' in packet processing due to the lack of effective methods to monitor packet traversal through match-and-action tables, leading to potential bottlenecks and inefficiencies.

Innovation Solution

Implementing per-node packet counters that are dynamically assigned to different nodes of a graph defined by match-and-action tables, allowing for intermittent counting and reassignment over time to identify traffic patterns without significantly impacting processing performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If per-node packet counters are implemented to track packet traversal through match-and-action tables, then hot paths and hotspots can be identified, but device complexity increases

Engineering Contradiction:
Improvepacket traversal trackingVSAvoidcounter management complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the packet counting function into per-node counters that are dynamically assigned to different nodes of the graph at different time periods. This segmentation allows precise tracking of packet traversal at individual nodes while managing complexity through modular counter structures that can be independently configured and updated.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The packet counters are dynamically assigned to different nodes of the graph in different time periods rather than being statically fixed. This dynamic assignment allows the system to adapt to changing traffic patterns and identify hot paths over time, while the time-period-based management provides a structured approach to controlling complexity.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If packet counters are updated for every packet traversal, then accurate traffic distribution data is obtained, but processing performance deteriorates

Engineering Contradiction:
Improvetraffic distribution accuracyVSAvoidpacket processing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system updates packet counters in a periodic manner rather than for every single packet traversal. Counters are updated at intervals or at specific events (such as when match-and-action tables are found), which reduces the overhead per packet while still accumulating accurate traffic distribution data over time through the dynamic assignment mechanism.

Inventive Principle:
Principle #19Periodic action

3Adaptability or versatility

If dynamic assignment of counters to different nodes over time is implemented, then hot paths are identified, but device complexity increases

Engineering Contradiction:
Improvecounter assignment flexibilityVSAvoiddynamic assignment management
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The packet counters serve multiple functions: they count packets at specific nodes, track traffic distribution patterns, and enable identification of hot paths and hotspots. The same counter infrastructure is reused across different time periods and nodes, providing universal functionality that reduces the need for separate specialized components for each monitoring task.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system uses the packet counter data to provide feedback about traffic patterns and hot paths, which can then be used to optimize match-and-action table configurations. This feedback loop enables continuous improvement of packet processing efficiency while the structured dynamic assignment mechanism manages the complexity of adapting to changing conditions.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP4712430A1Identify hot path during runtime
Publication Date: 2026.03.18 MELLANOX TECHNOLOGIES LTD(IL)
  • EP4712430A1 patent drawingFigure 1
  • EP4712430A1 patent drawingFigure 2~3
  • EP4712430A1 patent drawingFigure 4~5

AI summary

In one embodiment, a network device includes an interface to receive packets, packet processing circuitry including a steering engine to process the packets according to match-and-action tables, the match-and-action tables defining nodes in a graph so that during the processing of the packets by the steering engine the packets traverse paths in the graph, and a plurality of per-node packet counters to count ones of the packets traversing respective ones of the nodes of the graph.