Cache management method and device
A cache management and cache technology, applied in the network field, can solve problems such as low cache utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0100] figure 1 It is a flow chart of the cache management method provided by Embodiment 1 of the present invention. The method is executed by a cache management device, which is usually implemented in hardware and / or software and integrated in a network switch or routing device. The method of the present embodiment comprises the steps:
[0101] Step 101. Determine whether there is a flow queue whose queue length exceeds the queue cache threshold in the first flow queue.
[0102] Specifically, according to different service requirements of users, different flow queues (Flow Queues, FQ for short) correspond to different service flows, and the different flow queues can be used to store data information of the different service flows. The queue length of the flow queue may be, for example, the number of bits of data information stored in the flow queue. The data information stored in the flow queue changes with the change of the user's current processing business, so the queue...
Embodiment 2
[0113] This embodiment also provides a cache management method. figure 2 It is a flow chart of the cache management method provided by Embodiment 2 of the present invention. In the above embodiment, in step 101, it is judged whether there is a flow queue whose queue length exceeds the queue buffer threshold in the first flow queue. Before that, the method also includes:
[0114] Step 201. Determine whether the current system has a virtual port whose port length exceeds the port cache threshold.
[0115] In the cache management solution of this embodiment, the cache space of the current system is virtually divided into N parts, and the N parts are N virtual ports. Each virtual port corresponds to a plurality of flow queues, and the corresponding relationship between the virtual port and the flow queues may be, for example, configuring the corresponding flow queues for each virtual port by configuring a mapping relationship table. Configuring the corresponding flow queues for...
Embodiment 3
[0148] This embodiment also provides a cache management method. image 3 It is a flow chart of the cache management method provided by Embodiment 3 of the present invention. In the above embodiment, the judgment result of step 201, in addition to the above step 202, there is another situation, specifically including:
[0149] Step 301, if the current system has a virtual port whose port length exceeds the port cache threshold, determine the virtual port with the largest difference between the port length and the port cache threshold in the current system, and calculate the virtual port with the largest difference between the port length and the port cache threshold The owned flow queue is determined as the first flow queue.
[0150] Specifically, on the basis of the solution in the above-mentioned embodiment 2, this embodiment also provides a cache management method in the case that the current system has a virtual port whose port length exceeds the port cache threshold. In ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com