Hash Collision Mitigation via PBR Entries in TCAM

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Hash collisions in information handling systems, particularly in hash forwarding tables, lead to inefficient operations and packet flooding due to the inability to add new entries when collisions occur, disrupting normal switch device performance.

Innovation Solution

The implementation of a Policy Based Routing (PBR) system that generates and stores PBR entries in a Ternary Content Addressable Memory (TCAM) when a hash collision occurs, allowing for the forwarding of subsequent packets associated with the collision, thereby mitigating the disruption and enabling efficient packet forwarding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If a hash forwarding table is used to forward packets efficiently, then packet forwarding speed is improved, but hash collisions occur that prevent new entries from being added

Engineering Contradiction:
Improvepacket forwarding speedVSAvoidentry addition reliability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent introduces PBR entries as an intermediary mechanism between the hash forwarding table and the control plane. When a hash collision occurs, instead of failing to add the entry, the system creates a PBR entry that captures the colliding traffic and forwards it appropriately. This intermediary PBR entry system resolves the conflict between maintaining fast hash-based forwarding and reliably adding new forwarding entries.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Object-affected harmful factors

If the hash forwarding table capacity is increased to reduce collisions, then collision frequency is reduced, but device cost and complexity increase

Engineering Contradiction:
Improvehash collision frequencyVSAvoidforwarding table complexity
Core Design Contradiction:
Object-affected harmful factorsVSDevice complexity

Solution Approach 1:

The patent changes the operational parameters of the forwarding system by introducing a secondary lookup mechanism (PBR entries) that operates alongside the hash table. Rather than increasing hash table capacity, the system modifies the forwarding process to check PBR entries when hash collisions occur, effectively managing collision frequency without expanding the primary forwarding table.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If software techniques are used to handle hash collisions, then forwarding accuracy is improved, but processing efficiency decreases

Engineering Contradiction:
Improveforwarding accuracyVSAvoidpacket processing efficiency
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent segments the forwarding logic into two distinct parts: the fast path using hash-based forwarding for normal operation, and the exception handling path using PBR entries for collision resolution. This segmentation allows the majority of traffic to be processed efficiently through the hash table while only colliding packets undergo the more careful PBR lookup, maintaining overall processing efficiency while improving forwarding accuracy.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10938721B2Hash collision mitigation system
Publication Date: 2021.03.02 DELL PROD LP
  • US10938721B2 patent drawing
  • US10938721B2 patent drawing
  • US10938721B2 patent drawing

AI summary

A hash collision mitigation system includes a source device coupled to a destination device by a networking device. The networking device receives a first packet from the source device, and uses first packet information included in the first packet to perform a hash operation on the first packet and generate a hash value. The networking device then determines that the hash value has caused a hash collision with a first hash value forwarding entry in a hash forwarding table in the networking device and, in response, generates a first Policy Based Routing (PBR) entry for the first packet. The first PBR entry is configured to provide for the forwarding of at least one second packet received from the destination device and directed to the source device, and that first PBR is stored in a Ternary Content Addressable Memory (TCAM) in the networking device.