Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Port congestion management method, apparatus and device

A management method and port technology, which is applied in the field of computer communication, can solve the problems of affecting the normal input and output of other queues, interrupting the data flow of other queues, and ineffective use of port buffer resources.

Active Publication Date: 2019-04-19
SANECHIPS TECH CO LTD
View PDF9 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) The discarding threshold or back pressure revocation threshold of each queue is set to the maximum cache depth, that is, each queue can occupy all cache resources, which can ensure that each queue has the maximum traffic burst absorption capacity; but when When a queue is congested, it will affect the normal input and output of other queues, and even cause the data flow of other queues to be interrupted
[0006] (2) The discarding threshold or back pressure revocation threshold of each queue is set to a fixed value, and the sum of all queue thresholds does not exceed the total cache resource size of the port, which can ensure that each queue has resources available and will not be One or several queues occupy all buffer resources; but when a queue is congested and other queues are idle, the congested queue may lose packets, and other free buffer resources of the port cannot be effectively utilized

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
  • Port congestion management method, apparatus and device
  • Port congestion management method, apparatus and device
  • Port congestion management method, apparatus and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0034] The first embodiment of the present invention records a port congestion management method, figure 2 It is a flow chart of the port congestion management method of the embodiment of the present invention, such as figure 2 As shown, the method includes:

[0035] Step 201: Detect the size of the remaining buffer resources of the port, and the remaining buffer resources of the port are used to indicate the buffer resources except the occupied buffer resources among all the buffer resources of the port;

[0036] It can be understood that the size of all cache resources in the port can be predetermined, and the size of the cache resources occupied in the port can be detected in real time by a device such as a processor, so that the size of the remaining cache resources of the port can be determined .

[0037] Step 202: When the remaining buffer resources of the port increase, control to increase the congestion discarding threshold of each queue of the port; when the remai...

no. 2 example

[0072] In order to better reflect the purpose of the present invention, further illustrations are made on the basis of the first embodiment of the present invention.

[0073] Exemplarily, the first numerical interval to the Mth numerical interval can be pre-divided according to the order of the remaining buffer resources of the port from small to large, and each numerical interval is used to represent a value of the size of the remaining buffer resources of the port Range; M is a natural number greater than 1;

[0074] Correspondingly, when the remaining buffer resources of the port increase, the control to increase the congestion discarding threshold of each queue of the port includes:

[0075] When the remaining buffer resources of the port increase, if the value range of the size of the remaining buffer resources of the port changes, control to increase the congestion discarding threshold of each queue of the port;

[0076] When the remaining buffer resources of the port d...

no. 3 example

[0096] On the basis of the foregoing embodiments of the present invention, a third embodiment of the present invention provides a port congestion management device.

[0097] Figure 5 It is a schematic diagram of the composition and structure of the port congestion management device according to the embodiment of the present invention, such as Figure 5 As shown, the device may include: a detection module 501, a control module 502 and a processing module 503; wherein,

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

An embodiment of the invention provides a port congestion management method. The method comprises the steps of detecting the size of remaining cache resources of a port, wherein the remaining cache resources of the port are used for representing cache resources except occupied cache resources in all cache resources of the port; when the remaining cache resources of the port are added, increasing acongestion discarding threshold of each queue of the port by control; reducing the congestion discarding threshold of each queue of the port by control when the remaining cache resources of the portare reduced; and according to the changed congestion discarding threshold of each queue, processing messages in each queue. Embodiments of the invention further disclose a port congestion management apparatus and device, and a computer readable storage medium.

Description

technical field [0001] The present invention relates to computer communication technology, in particular to a port congestion management method, device, equipment and computer-readable storage medium. Background technique [0002] Congestion management is a very important technical means in the switching access (Switching Access, hereinafter referred to as SA) chip; the SA chip receives a large number of message slices from the switching network, and caches these messages in different ways according to a certain method. In the queue, the messages in different queues are scheduled and output according to certain scheduling rules; when the message traffic bursts or the data flow is shaped, that is, when the input rate of the queue is greater than the scheduled output rate of the queue, the queue depth will be accumulated. Form buffer congestion. At this time, a congestion management strategy is needed to back-press or discard the incoming packets to avoid system hang-up. [...

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): H04L12/823H04L12/835H04L12/813H04L47/32H04L47/20H04L47/30
CPCH04L47/20H04L47/30H04L47/32
Inventor 谭大猛张自渊李陈杨洁伟
Owner SANECHIPS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products