Network Scheduler Bandwidth Reconciliation for Packet Fetching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Network processors face challenges in managing bandwidth efficiently, leading to potential congestion and wasted resources due to unknown packet sizes and varying packet lengths, which can result in unfair bandwidth distribution among different packet flows.

Innovation Solution

Implementing a network scheduler, such as a token bucket, to manage bandwidth by using an average packet size and reconciling available bandwidth based on loaded packet sizes, ensuring that only sufficient bandwidth is allocated for packet transmission and updating the average size accordingly, thereby preventing wasteful pre-fetches and maintaining fair bandwidth distribution among virtual function rings.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If packets are pre-fetched based on estimated bandwidth availability, then packet transmission efficiency is improved, but bandwidth allocation fairness deteriorates due to uncertain packet sizes

Engineering Contradiction:
Improvepacket transmission efficiencyVSAvoidbandwidth allocation fairness
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary bandwidth availability checks before packet fetching, using a network scheduler to determine if sufficient bandwidth exists. This preliminary action allows the system to proceed with packet fetching only when bandwidth conditions are met, improving transmission efficiency while preventing unfair bandwidth consumption through premature or excessive pre-fetching operations

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms where the network scheduler continuously monitors actual packet sizes and bandwidth consumption. This feedback loop allows the system to adjust bandwidth availability estimates dynamically, ensuring that subsequent packet fetching decisions are based on accurate, real-time information rather than static assumptions, thereby maintaining both efficiency and fairness

Inventive Principle:
Principle #23Feedback

2Speed

If average packet size is used for bandwidth estimation, then packet fetching speed is improved, but measurement precision deteriorates

Engineering Contradiction:
Improvepacket fetching speedVSAvoidbandwidth availability accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The system transitions from static bandwidth estimation to dynamic adjustment. The network scheduler continuously updates bandwidth availability based on actual packet sizes observed during transmission. This dynamic approach allows the system to maintain fast packet fetching using average size estimates while progressively improving measurement precision as real-time data becomes available, resolving the contradiction between speed and accuracy

Inventive Principle:
Principle #15Dynamics

3Reliability

If bandwidth is allocated based on maximum packet size, then packet transmission reliability is improved, but resource utilization deteriorates

Engineering Contradiction:
Improvepacket transmission reliabilityVSAvoidresource utilization
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system changes the parameter used for bandwidth allocation from fixed maximum packet size to dynamic estimates based on actual packet sizes. The network scheduler adjusts bandwidth availability estimates according to real-time packet size measurements, allowing the system to allocate sufficient bandwidth for reliable transmission while avoiding over-provisioning that would waste resources. This parameter adaptation enables both reliability and efficient resource utilization

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10764198B2Method to limit packet fetching with uncertain packet sizes to control line rate
Publication Date: 2020.09.01 MARVELL ASIA PTE LTD
  • US10764198B2 patent drawing
  • US10764198B2 patent drawing
  • US10764198B2 patent drawing

AI summary

In an embodiment, a method comprises, loading, from at least one source of packets to a memory, a packet based on a network scheduler indicating availability of bandwidth from the at least one source of packets to the memory that is at least the average size of packets. The method further includes updating the average size of the packets based on a size of the loaded packet. The method further includes reconciling the availability of bandwidth indicated by the network scheduler based on the size of the loaded packet.