Multi-Stage Switch Packet Classification Using Compressed Policy Vectors

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing packet classification schemes, such as those based on TCAMs or software algorithms, face challenges with power consumption, chip area requirements, and memory bandwidth limitations, making them impractical for high-speed switches and routers, particularly in complex routing systems like data centers.

Innovation Solution

A packet classification module at a multi-stage switch uses a policy vector module to retrieve and decompress a compressed policy vector from a database, defining a decompressed policy vector that triggers processing based on bit values associated with policy conditions, allowing efficient classification and routing of data packets.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If known packet classification schemes (TCAMs or software algorithms) are used, then packet classification functionality is achieved, but power consumption and chip area requirements become undesirable

Engineering Contradiction:
Improvepower consumptionVSAvoidpacket classification scheme complexity
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The patent divides the packet classification task into multiple stages, with each stage handling a portion of the classification process. This segmentation allows the system to achieve comprehensive packet classification functionality while using simpler, more power-efficient components at each stage, avoiding the need for large-power-consuming TCAMs or complex software algorithms in a single stage.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from traditional single-stage packet classification approaches to a multi-stage architecture, adding a temporal dimension to the classification process. This dimensional change enables the system to distribute classification logic across multiple stages, reducing the power and area requirements of individual stages while maintaining overall classification effectiveness.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If software packet classification algorithms with large data structures in external memory are used, then comprehensive packet classification is achieved, but memory bandwidth limitations prevent use in very high speed switches and routers

Engineering Contradiction:
Improvepacket classification speedVSAvoidmemory bandwidth
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent performs preliminary actions by pre-processing and organizing classification data structures in a manner that minimizes subsequent memory access requirements. The multi-stage architecture prepares classification information in advance at each stage, reducing the need for high-speed external memory access and enabling the system to operate at very high speeds without being bottlenecked by memory bandwidth.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If packet classification schemes with high power consumption and inefficient chip designs are used, then packet classification functionality is achieved, but scaling for use in complex routing systems such as data centers is prevented

Engineering Contradiction:
Improvescalability for complex routing systemsVSAvoidpower consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by stationary object

Solution Approach 1:

The patent implements a dynamic multi-stage packet classification architecture where each stage can be independently configured and scaled. This dynamic design allows the system to adapt to different routing complexity requirements by adjusting the number and configuration of stages, while maintaining power efficiency at each stage. The modular nature enables incremental scaling for complex data center routing systems without requiring a complete redesign or incurring prohibitive power costs.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8571034B2Methods and apparatus related to packet classification associated with a multi-stage switch
Publication Date: 2013.10.29 JUNIPER NETWORKS INC
  • US8571034B2 patent drawing
  • US8571034B2 patent drawing
  • US8571034B2 patent drawing

AI summary

In one embodiment, an apparatus can include a policy vector module configured to retrieve a compressed policy vector based on a portion of a data packet received at a multi-stage switch. The apparatus can also include a decompression module configured to receive the compressed policy vector and configured to define a decompressed policy vector based on the compressed policy vector. The decompressed policy vector can define a combination of bit values associated with a policy.