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

Cache management method based on dynamic virtual threshold

A buffer management and virtual gate technology, applied in the field of communication, can solve problems such as discarding, inability to match queue real-time data frame information in real time, lack of fairness, etc., and achieve the effects of improving utilization efficiency, reducing discard probability, and improving fairness

Active Publication Date: 2020-07-10
XIDIAN UNIV +1
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since this strategy cannot match the real-time data frame information of each queue in real time, when the entire buffer space is full and the data frame is discarded, it cannot be discarded according to the historical queue length of other queues, which lacks certain fairness

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 based on dynamic virtual threshold
  • Cache management method based on dynamic virtual threshold
  • Cache management method based on dynamic virtual threshold

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044]The specific embodiments and effects of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0045] refer to figure 1 , the implementation steps of this embodiment are as follows:

[0046] Step 1, initialize cache management service parameters.

[0047] Let the cache management service P users N i , this example sets the cache management service to 2 users N i , i is from 1 to 2;

[0048] Let belong to user N i The data frames are stored in the high, medium and low priority queues, and the virtual threshold value of each priority queue is Q ij , j from 1 to 3;

[0049] Let belong to user N i Each priority queue of has a data frame frame number weighted ratio R ij ;

[0050] Suppose the number of data frames that can be accommodated in the entire cache space is M, and the number of data frames that the entire cache space can accommodate in real time is MN. At the initial moment, there is no data frame in...

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 cache management method based on a dynamic virtual threshold, and mainly solves the problem that in the prior art, under the condition of high cache utilization rate, settingfairness of queue thresholds cannot be guaranteed. The implementation scheme is as follows: 1) initializing cache management parameters of each queue; 2) judging whether the current data frame can enter a cache space or not, judging whether a cache manager needs to discard the data frame or not, and ending the cache management operation when no data frame reaches the cache space; 3) enabling thedata frames which are not cached and discarded to enter the cache space; 4) modifying the virtual threshold value of each queue once every T time; 5) enabling a dequeuing scheduler to take the data frames in the cache in each period, and return to step 2). According to the method, the data frames are discarded only when the cache is full, the dynamic virtual threshold cache is set for each queue,and the method has the advantages of being high in cache space utilization rate and good in fairness among the queues and can be used for network switching equipment.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a dynamic virtual threshold buffer management method, which can be used in network switching equipment. Background technique [0002] Buffer management is a key technology in network switching equipment. A good buffer management method can improve the utilization efficiency of buffer resources in switching equipment and reduce the frame loss rate of network exchange data frames. [0003] Existing cache management algorithms are mainly divided into three categories, namely static threshold strategy, dynamic threshold strategy, and PUSH-OUT strategy, among which: [0004] The static threshold strategy allocates a fixed-size cache for each queue. When the queue has remaining buffer space, the data frames arriving at this queue can enter the queue cache. When the queue has no remaining buffer space, the data frames arriving at this queue will be will be discarded. ...

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): G06F12/0888G06F12/0811G06F12/0853
CPCG06F12/0888G06F12/0811G06F12/0853
Inventor 张冰凌楠玮张奭赵辉张诚
Owner XIDIAN UNIV
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