Unlock instant, AI-driven research and patent intelligence for your innovation.

Forwarding queue flushing method and system of switch chip

A technology of switching chips and forwarding queues, applied in transmission systems, electrical components, etc., can solve problems such as non-release, packet buffer queue congestion, occupation, etc., to reduce losses and solve queue congestion.

Pending Publication Date: 2022-03-22
SUZHOU MOTORCOMM ELECTRONICS TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Once the message cache queue is congested and cannot be released for a long time, it will always occupy the switch cache, that is, the switch cache resources cannot be released
And when multiple message buffer queues are congested, the buffer resources of the switch are wasted. Since the buffer resources of the switch are limited, it is very easy to cause network packet loss due to insufficient buffer resources.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Forwarding queue flushing method and system of switch chip
  • Forwarding queue flushing method and system of switch chip
  • Forwarding queue flushing method and system of switch chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The present invention is not limited to this embodiment, and other embodiments may also belong to the scope of the present invention as long as they conform to the gist of the present invention.

[0041] In a preferred embodiment of the present invention, based on the above-mentioned problems existing in the prior art, a method for flushing the forwarding queue of the switching chip is now provided, such as figure 1 shown, including:

[0042] Step S1, the switching chip receives and caches the message to be forwarded;

[0043] Step S2, the switch chip sorts the cached messages to be forwarded to form multiple message queues;

[0044] Step S3, the switching chip detects whether there is a congested message queue:

[0045] If not, return to step S1;

[0046] If so, the switching chip flushes some messages from the congested message queue, and...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a forwarding queue flushing method and system of a switch chip, and relates to the technical field of message forwarding control, and the method comprises the steps: S1, the switch chip receives a to-be-forwarded message and caches the to-be-forwarded message; step S2, the switch chip sorts the cached messages to be forwarded to form a plurality of message queues; s3, the switching chip detects whether the congested message queue exists or not, and if not, the step S1 is returned; and if yes, the switching chip performs partial message flushing on the message queue with congestion, and performs corresponding cache release. The method has the advantages that when the queue is congested, the number of messages in the queue is reduced through the message flushing strategy, the problem of queue congestion is effectively solved, and different flushing strategies can be configured according to different application scenes to meet different application scenes.

Description

technical field [0001] The invention relates to the technical field of message forwarding control, in particular to a forwarding queue flushing method and system of a switching chip. Background technique [0002] As a network interconnection device, the switching device needs to support the quality of service function in order to quickly respond to real-time and important data while completing data forwarding. The packets received by the switching device can be forwarded to different packet buffer queues, and the CPU forwards them with high or low priority through the Quality of Service (QoS) queue speed limit and scheduling algorithm, thereby reducing the CPU load and effectively utilizing the bandwidth , which avoids protocol message packet loss, protocol flapping and other events caused by the congestion of the message buffer queue corresponding to the protocol message. [0003] Packet buffer queue congestion means that the number of packets arriving in a certain packet ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L49/10H04L49/90H04L47/12
CPCH04L49/10H04L49/90H04L47/12
Inventor 汪科锦封帆
Owner SUZHOU MOTORCOMM ELECTRONICS TECH CO LTD