Network Device Drop Frame Module for Buffer Overflow Prevention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing network devices face challenges in efficiently managing receive buffers, leading to potential overflow and congestion, as the decision to drop frames is typically based solely on receiver buffer state without considering comprehensive factors like destination port congestion and priority.
Innovation Solution
Implementing a drop frame module that determines eligibility for frame dropping based on a combination of factors, including receive queue state, destination port congestion, and priority, using data structures that track QCN and ETS information, and prioritizing frames with the DEI bit set and oldest frames for dropping.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If frame dropping decision is based solely on receiver buffer state, then the decision process is simple and fast, but the buffer overflow prevention is ineffective and congestion cannot be properly managed
Solution Approach 1:
The frame dropping decision process is segmented into multiple independent evaluation stages: receive queue state evaluation, destination port congestion evaluation, and priority-based selection. Each stage processes specific criteria separately before combining results, allowing complex multi-factor decision-making while maintaining modular simplicity in the overall system architecture.
Solution Approach 2:
The frame dropping algorithm dynamically adjusts its decision-making process based on real-time network conditions. The drop frame module continuously monitors receive queue depth, destination port congestion status, and frame priorities, adapting the dropping strategy moment-to-moment rather than using static rules, thereby optimizing buffer overflow prevention under varying load conditions.
2Reliability
If multiple factors are considered for frame dropping decisions, then congestion management improves, but the processing time and computational overhead increase
Solution Approach 1:
The system performs preliminary actions by pre-establishing drop thresholds for receive queues and maintaining real-time status information about destination ports and frames before actual dropping decisions are needed. This preparation allows the drop frame module to make rapid decisions during congestion events without performing complex calculations at the moment of frame processing.
Solution Approach 2:
The drop frame module implements feedback mechanisms by continuously monitoring receive queue depth, destination port congestion levels, and frame processing results. This feedback information is used to dynamically adjust dropping thresholds and strategies, optimizing the balance between processing time and congestion management effectiveness through adaptive control.
3Quantity of substance
If receive buffers are enlarged to prevent overflow, then buffer capacity increases, but device memory resources are consumed and congestion handling becomes less effective
Solution Approach 1:
The system changes the parameter of frame dropping criteria from a single buffer-state dependency to a multi-factor evaluation including receive queue depth, destination port congestion status, and frame priority. This parameter transformation allows effective congestion handling with smaller buffers by making intelligent dropping decisions based on comprehensive network state information rather than relying solely on large buffer capacity.
Data Source
AI summary
Method and system for a network device having a plurality of queues for receiving information from another device is provided. A frame is received at a receive queue of the network device. The process determines that the receive queue of the network device has reached a programmable threshold value and determines if a frame waiting at the receive queue is eligible for being dropped. The frame is eligible for being dropped when a drop eligibility bit is set in a frame header by a sender of the frame, when a priority established for the frame indicates that the frame is drop eligible and when a destination for the frame is congested.


