Hybrid CAM System for Network Switching Rule Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current content addressable memory (CAM) systems, such as ternary CAM (TCAM), face inefficiencies in handling a high ratio of exact match rules, leading to increased silicon area and power consumption, particularly when dealing with large numbers of rules in network devices like switches and routers.

Innovation Solution

The proposed solution involves a hybrid CAM system that includes a key generator, a content addressable memory (CAM) for range requirements and exact match pattern groups stored in hash tables or binary CAM, operating in parallel to efficiently manage memory usage and reduce power consumption by selectively using high-density memory for exact match operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If TCAM is used to store all switching rules, then search capability is provided, but silicon area and power consumption increase significantly when handling large numbers of exact match rules

Engineering Contradiction:
Improvesearch capabilityVSAvoidsilicon area
Core Design Contradiction:
ReliabilityVSArea of stationary object

Solution Approach 1:

The patent segments the rule storage into two distinct memory systems: TCAM for range-based switching rules and SRAM for exact match rules. This segmentation allows each memory type to be optimized for its specific function, reducing the overall silicon area required compared to storing all rules in TCAM alone.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts exact match rules from the TCAM storage and places them in separate SRAM memory structures. This extraction removes the burden of storing numerous exact match rules in TCAM, thereby reducing silicon area and power consumption while maintaining search capability through the hybrid approach.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If TCAM is used to store all switching rules, then search capability is provided, but power consumption increases significantly when handling large numbers of exact match rules

Engineering Contradiction:
Improvesearch capabilityVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by stationary object

Solution Approach 1:

The patent segments the rule storage into two distinct memory systems: TCAM for range-based switching rules and SRAM for exact match rules. This segmentation allows each memory type to be optimized for its specific function, reducing the overall silicon area required compared to storing all rules in TCAM alone.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts exact match rules from the TCAM storage and places them in separate SRAM memory structures. This extraction removes the burden of storing numerous exact match rules in TCAM, thereby reducing silicon area and power consumption while maintaining search capability through the hybrid approach.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If hybrid CAM system with parallel operation is used, then search efficiency is enhanced, but device complexity increases

Engineering Contradiction:
Improvesearch efficiencyVSAvoiddevice complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the rule storage into two distinct memory systems: TCAM for range-based switching rules and SRAM for exact match rules. This segmentation allows each memory type to be optimized for its specific function, reducing the overall silicon area required compared to storing all rules in TCAM alone.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent merges TCAM and SRAM into a hybrid search system where both memory types operate in parallel. The TCAM handles range-based searches while SRAM handles exact match searches, and the results are combined by a controller. This merging provides enhanced search efficiency by leveraging the strengths of both memory types simultaneously.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS9704574B1Method and apparatus for pattern matching
Publication Date: 2017.07.11 MARVELL ASIA PTE LTD
  • US9704574B1 patent drawing
  • US9704574B1 patent drawing
  • US9704574B1 patent drawing

AI summary

Aspects of the disclosure provide an apparatus that includes a key generator, a first memory, a second memory, and a controller. The key generator is configured to generate a first search key, and one or more second search keys in response to a pattern. The first memory is configured to compare the first search key to a plurality of entries populated in the first memory, and determine an index of a matching entry to the first search key. The second memory is configured to respectively retrieve one or more exact match indexes of the one or more second search keys from one or more exact match pattern groups populated in the second memory. The controller is configured to select a search result for the pattern from among the index output from the first memory and the one or more exact match indexes output from the second memory.