Flow Size Classification Using Machine Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional flow size classification methods, such as binary mice/elephant classification, are insufficient as they treat small and large elephant flows similarly, leading to excessive costs in latency, bandwidth, and resource usage, and do not provide meaningful size classifications.

Innovation Solution

An end-to-end data-driven approach using a configurable artificial intelligence engine processes packet data to determine multiple meaningful flow size classes based on bandwidth, allowing for more precise classification and efficient resource allocation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If binary mice/elephant classification is used, then classification simplicity is maintained, but classification precision deteriorates because small and large elephant flows are treated similarly

Engineering Contradiction:
Improveclassification simplicityVSAvoidflow size classification precision
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent segments flows into multiple size classes (e.g., mice, small elephant, large elephant) rather than using a single binary classification. This is achieved by implementing a flow classifier that outputs multiple discrete size categories, allowing differentiated handling of flows with different bandwidth characteristics while maintaining structured classification management.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the classification parameter from a simple binary state to a multi-level categorical parameter representing different flow size classes. The flow classifier determines which of several predefined size classes a flow belongs to based on bandwidth measurements, enabling more nuanced flow identification and subsequent differentiated networking treatments.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If multiple flow size classes are implemented, then resource allocation precision is improved, but system complexity increases

Engineering Contradiction:
Improveresource allocation precisionVSAvoidsystem complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent performs preliminary classification of flows into size classes before resource allocation decisions are made. The flow classifier pre-determines the size class of each flow based on initial bandwidth measurements, enabling downstream networking components to apply appropriate resource allocation policies without performing complex real-time analysis.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a flow classifier as an intermediary component between packet reception and resource allocation. This mediator component simplifies the overall system by centralizing the classification logic and providing standardized size class labels that other components can use for their respective functions without needing to implement their own classification mechanisms.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Speed

If conventional binary classification is used, then processing speed is maintained, but resource utilization efficiency deteriorates due to excessive latency and bandwidth costs

Engineering Contradiction:
Improveprocessing speedVSAvoidresource utilization efficiency
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

The patent implements dynamic flow size class classification that adapts to different flow characteristics. The flow classifier continuously monitors bandwidth and adjusts size class assignments accordingly, enabling the system to optimize resource allocation in real-time based on actual flow behavior rather than using static binary thresholds.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent applies different resource allocation policies and handling mechanisms tailored to each flow size class. Small elephant flows receive different treatment compared to large elephant flows, with each class optimized for its specific characteristics. This local optimization improves overall resource utilization efficiency by matching handling strategies to actual flow needs rather than applying uniform binary classification rules.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20240121164A1Systems and methods of flow size classification using machine learning
Publication Date: 2024.04.11 MELLANOX TECHNOLOGIES LTD(IL)
  • US20240121164A1 patent drawing
  • US20240121164A1 patent drawing
  • US20240121164A1 patent drawing

AI summary

A network device, system-on-a-chip, and method of performing packet handling are described. A packet is received, and data associated with the packet is processed, using a configurable artificial intelligence engine, to generate a size classification for a flow associated with the packet. An action is performed based, at least in part, on the size classification for the flow associated with the packet.