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

Cache management method for switch

A cache management and switch technology, applied in the field of switches, can solve problems such as loss of important data

Inactive Publication Date: 2014-09-10
PHICOMM (SHANGHAI) CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this packet loss scheme has the risk of important data loss

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
  • Cache management method for switch
  • Cache management method for switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments It is only a part of the embodiments of the present invention, but not all of them.

[0023] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0024] refer to figure 1 , a buffer management method for a switch provided in an embodiment of the present invention, including:

[0025] Step S100, dividing a security buffer for each port and a shared buffer shared by all ports;

[0026] For example, if there are 4 ports now, divide the public cache of the switch into 4 security caches and 1 shared cache corresponding to the 4 ports. The security cache...

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 cache management method for a switch. The cache management method comprises the following steps: allocating a secure cache for each port and a shared cache shared by all ports; preferably using the secure cache corresponding to each port on the port; if the secure cache of the port is used up, using the shared cache. By adopting the method, a public cache pool is partitioned into the secure caches and the shared cache, the shared cache is used by ports of which the secure caches are used up in case of port congestion while corresponding secure caches are used on other ports, namely, normal forwarding of other ports is not influenced in case of port congestion, thereby solving the problem of large-area packet loss occurring when all caches are used up.

Description

technical field [0001] The invention relates to the technical field of switches, in particular to a cache management method of a switch. Background technique [0002] As Ethernet switches are more and more widely used and the network transmission rate increases, the cache of the switch may be quickly exhausted by malicious attack traffic, which will cause subsequent packets entering the switch to be unable to be stored and forwarded normally, and the solution is simple In this way, indiscriminately discarding subsequent packets that enter the cache will undoubtedly cause some important packets to be discarded and affect the normal use of users, so the cache management of the switch is becoming more and more important. [0003] Similar solution: In order to avoid congestion when the public buffer pool is exhausted, when the data packets in the output port cache reach a certain threshold, packet loss starts to reduce the input data packets. However, this packet loss scheme ha...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/801
Inventor 范春燕朱家星周风林
Owner PHICOMM (SHANGHAI) 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