Multicast Route Caching for Low-Latency Switch Programming

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing multicast route programming in switch forwarding hardware is inefficient and latency-prone due to data-driven methods, leading to performance degradation in services like IPTV.

Innovation Solution

A multicast cache is generated from existing forwarding entries, allowing preprogramming of routes based on ingress-egress interface mappings, with a count mechanism to prioritize likely routes, reducing reliance on data packet arrival for route establishment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data-driven methods are used for multicast route programming in switch forwarding hardware, then the system maintains simplicity and compatibility with existing protocols, but the programming latency increases and service performance degrades

Engineering Contradiction:
Improveprotocol compatibilityVSAvoidroute programming latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by generating a multicast cache from existing forwarding entries before actual multicast data arrives. The cache pre-establishes ingress-egress interface mappings and route information, so when multicast traffic needs to be forwarded, the routing decisions can be made immediately without waiting for data-driven route establishment, thus reducing programming latency while maintaining protocol compatibility

Inventive Principle:
Principle #10Preliminary action

2Productivity

If multicast routes are programmed only after data packet arrival, then the system avoids unnecessary route programming, but the service performance degrades due to latency

Engineering Contradiction:
Improveroute programming efficiencyVSAvoidmulticast service latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system generates a multicast cache in advance that contains pre-computed ingress-egress interface mappings and route information based on existing unicast forwarding entries. This preliminary action allows the system to have routing information ready before multicast data arrives, improving both the efficiency of route programming and reducing the latency experienced by multicast services

Inventive Principle:
Principle #10Preliminary action

3Loss of time

If the system preprograms all possible multicast routes, then the latency is reduced, but the device complexity and memory usage increase

Engineering Contradiction:
Improveroute establishment latencyVSAvoidforwarding hardware complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

Instead of preprogramming all possible multicast routes globally, the system applies preprogramming locally and selectively. The multicast cache is generated only for specific ingress-egress interface mappings that are actually needed, based on existing forwarding entries. This localized approach reduces the scope of preprogramming operations and minimizes the memory and computational resources required in the forwarding hardware

Inventive Principle:
Principle #3Local quality

4Productivity

If existing systems are altered to reduce latency, then the performance improves, but the system complexity and implementation difficulty increase

Engineering Contradiction:
Improvemulticast service performanceVSAvoidsystem implementation complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system creates a copy of the unicast forwarding information base (FIB) to generate the multicast cache, rather than modifying the existing FIB or creating entirely new complex routing structures. This copying approach allows the system to leverage existing proven data structures and algorithms, reducing implementation complexity while still achieving the performance improvement of reduced latency through precomputed route information

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12452096B2Efficient programming of multicast routes in forwarding hardware
Publication Date: 2025.10.21 HEWLETT PACKARD ENTERPRISE DEV LP
  • US12452096B2 patent drawing
  • US12452096B2 patent drawing
  • US12452096B2 patent drawing

AI summary

A system for facilitating efficient multicast programming in a switch is provided. During operation, the system can parse a multicast data structure that can map an ingress interface, a source, and a multicast group to a set of egress interfaces. Based on the data structure, the system can generate a cache that can map an egress interface to an ingress interface indicated in the data structure. Upon receiving a join request via a first interface, the system can look up the first interface in the cache. If the first interface matches a cache entry, the system can identify an ingress interface from the cache entry. The system can then program, in the data structure, a route entry with the first interface as an egress interface and the ingress interface. Subsequently, if a multicast data packet matches the route entry, the system can forward the packet via the first interface.