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

Data retransmission device and method for distributing buffer to ports

A forwarding device and port technology, applied in the field of communication, can solve problems such as packet loss, unused port shared cache, waste of port exclusive cache, etc., and achieve the effect of improving usage efficiency

Active Publication Date: 2010-10-27
NEW H3C TECH CO LTD
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The data forwarding device configures an exclusive cache for each port. When a port is not in use, the exclusive cache of the port is wasted; since the maximum shared cache that each port can use is the same, it cannot be treated differently. The port may not be able to obtain more Multiple caches cause packet loss, and other ports may have many shared caches that are not used, so the cache usage efficiency is low

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
  • Data retransmission device and method for distributing buffer to ports
  • Data retransmission device and method for distributing buffer to ports
  • Data retransmission device and method for distributing buffer to ports

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] The first embodiment of the present invention provides a port buffer allocation method, such as image 3 As shown, including the following steps:

[0053] Step 301: The data forwarding device obtains the connection status of the port. When the port is not connected, go to step 302; when the port is connected, go to step 303;

[0054] The data forwarding device reads the chip port status register of the corresponding port, and the connection status of the port is stored in the register.

[0055] Step 302: The data forwarding device does not allocate a buffer for the port.

[0056] Step 303: The data forwarding device obtains the allocation mode of the buffer corresponding to the port, and allocates the buffer to the port according to the allocation mode.

[0057] Specifically, the data forwarding device stores the correspondence between the allocation mode of the buffer corresponding to the port and the port identifier (for example, the port number), and the data forwarding devic...

Embodiment 2

[0062] The second embodiment of the present invention provides a port buffer allocation method, such as Figure 4 As shown, including the following steps:

[0063] Step 401: The data forwarding device obtains the allocation mode of the buffer corresponding to the port.

[0064] Specifically, the allocation mode of the buffer corresponding to the port includes one or more of the following modes: normal mode, burst mode, and automatic mode.

[0065] Step 402: When the allocation mode of the buffer corresponding to the port is the normal mode, the data forwarding device obtains the connection status of the port. When the port is not connected, the data forwarding device does not allocate the buffer to the port. When the port is connected, the data forwarding The device allocates an exclusive buffer and a first shared buffer to the port.

[0066] Step 403: When the allocation mode of the buffer corresponding to the port is burst mode, the data forwarding device obtains the connection stat...

Embodiment 3

[0070] The third embodiment of the present invention provides a port buffer allocation method, such as Figure 5 As shown, the data forwarding device includes 4 ports A to D. Because port A is not connected, the data forwarding device senses that port A is not connected, and therefore does not allocate an exclusive buffer and a shared buffer to port A. The buffer allocation modes of port B, port C, and port D are: normal mode, burst mode, and auto mode. The data forwarding device stores the allocation mode of the buffer corresponding to each port. Preferably, configure the cache allocation mode of each port according to the cache utilization rate of each port. For example, configure the port for which the cache utilization rate is stable to be configured as normal mode or burst mode, and for ports that are difficult to determine the cache utilization rate, or cache utilization Ports with large rate changes are configured to auto mode. According to the normal mode or burst mod...

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 discloses a data retransmission device and a method for buffer to ports. The method comprises the following steps: the data retransmission device acquires the connection state of the port; the data retransmission device does not distribute buffer to the port when the port is in the no connection state; and the data retransmission device distributes buffer to the port according to the buffer distribution mode corresponding to the port when the port is in the connected state. In the invention, the data retransmission device flexibly distributes buffer to multiple ports, thereby increasing the utilization ratio of the port buffer.

Description

Technical field [0001] The present invention relates to the field of communications, in particular to a data forwarding device and a port buffer allocation method. Background technique [0002] The use of buffering to send messages is usually used in the case of unequal data transmission, that is, the case where the data transmission end and the receiving end transmit messages at different rates. For example, data centers, graphics studios, diskless Internet cafes and other application environments with large bursts of traffic often encounter unbalanced data transmission. Such as figure 1 As shown, the server and the workstation are connected through a data forwarding device (such as a switch or router), wherein the data transmission rate of the port connecting the server and the data forwarding device is 1000 Mbps, and the data transmission rate of the port connecting the workstation and the data forwarding device is 100 Mbps. When the server sends data to the workstation, due ...

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/56H04L47/629
Inventor 周明
Owner NEW H3C TECH CO LTD