Packet-Action Cache Fingerprints for Low-Power Packet Classification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Network devices face challenges in efficiently classifying ingress packets due to the large size of packet headers, leading to either large, expensive, and power-consuming cache memories or small cache capacities, which can result in false-positive fingerprint identification and potential blocking of packet flows.

Innovation Solution

The implementation of a Packet-Action Cache Memory (PACM) that uses smaller fingerprints derived from packet headers, allowing for reduced cache size and power consumption, with mechanisms to mitigate false positives through periodic flushing and a stash memory to resolve ambiguities, ensuring low false-positive probabilities and maintaining efficient packet processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If cache memory size is increased to store full packet headers for accurate classification, then packet classification accuracy is improved, but device cost and power consumption increase

Engineering Contradiction:
Improvepacket classification accuracyVSAvoidpower consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by stationary object

Solution Approach 1:

The patent extracts only the essential identifying features from packet headers to create compact fingerprints. Instead of storing and comparing complete packet headers, the system calculates hash-based fingerprints that capture the essential classification information in a condensed form, significantly reducing memory requirements and power consumption while maintaining classification accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent transforms packet headers into a different parameter representation through hash function calculation. The original large-scale parameter (full packet header) is converted into a compact fingerprint parameter that preserves classification capability while occupying minimal storage space and requiring minimal processing energy.

Inventive Principle:
Principle #35Parameter changes

2Use of energy by stationary object

If cache memory size is reduced to decrease cost and power consumption, then device cost and power usage are reduced, but false-positive identification increases

Engineering Contradiction:
Improvepower consumptionVSAvoidfalse-positive probability
Core Design Contradiction:
Use of energy by stationary objectVSReliability

Solution Approach 1:

The patent performs preliminary hash calculation on packet headers before cache lookup to generate unique fingerprints. This preliminary transformation ensures that even with reduced cache size, the probability of different packets producing the same fingerprint (false positive) remains extremely low, thereby maintaining reliability while using smaller memory.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a simplified copy of packet header information in the form of a fingerprint. This fingerprint copy contains sufficient information for accurate classification without requiring the full original header data, enabling smaller cache memory while preserving classification reliability.

Inventive Principle:
Principle #26Copying

3Quantity of substance

If smaller fingerprints are used to reduce cache size, then memory capacity and power consumption are reduced, but false-positive probability increases

Engineering Contradiction:
Improvecache memory sizeVSAvoidfalse-positive probability
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent replaces the mechanical approach of storing and comparing full packet headers with a mathematical hash function-based fingerprinting system. This substitution enables the use of much smaller fingerprint values while maintaining extremely low false-positive probabilities through the properties of cryptographic hash functions.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent changes the parameter representation from full packet headers to compact hash-based fingerprints. This parameter transformation achieves dramatic reduction in memory size (from thousands of bytes to dozens of bytes) while the mathematical properties of the hash function ensure that false-positive probability remains negligibly small.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11502912B2Cache memory management using fingerprints
Publication Date: 2022.11.15 MELLANOX TECHNOLOGIES LTD(IL)
  • US11502912B2 patent drawing
  • US11502912B2 patent drawing
  • US11502912B2 patent drawing

AI summary

A network device includes at least one communication ingress port, ingress packet processing circuitry and a packet-action cache memory (PACM). The at least one communication ingress port is configured to receive packets including packet headers from a network. The ingress packet processing circuitry is configured to receive the packets and to process the packets in accordance with respective packet actions specified for the packets. The PACM is configured to store one or more of the packet actions in association with one or more respective fingerprints which are calculated over the packet headers of the corresponding packets, for use by the ingress packet processing circuitry. The fingerprints are smaller than the corresponding packet headers.