Method, device and computer storage medium for dynamically adjusting aging frequency of hardware entries

A hardware table entry and dynamic adjustment technology, applied in the field of data communication, can solve the problems of frequent hardware operations, low aging efficiency, and occupation of system overhead, and achieve the effects of improving polling efficiency, timely cleaning, and ensuring timeliness

Active Publication Date: 2022-05-17
MAIPU COMM TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The technical problem to be solved by the present invention is: to propose a method, device and computer storage medium for dynamically adjusting the aging frequency of hardware entries, so as to solve the problem of traversing all entries that need to be aged in the traditional hardware entry aging scheme, which is very difficult for hardware operations. Frequent, takes up a lot of system overhead, and the problem of low aging efficiency

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
  • Method, device and computer storage medium for dynamically adjusting aging frequency of hardware entries
  • Method, device and computer storage medium for dynamically adjusting aging frequency of hardware entries

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0065] This embodiment is an embodiment of a method for dynamically adjusting the aging frequency of hardware entries implemented based on the above-mentioned device. First, set the cumulative statistics field of the number of consecutive hits and the activity field in the software descriptor of each entry in the hardware chip table, respectively It is used to count the number of consecutive hits of the table item and save the calculated liveness value; when performing dynamic adjustment of the aging frequency, it reads the statistics field of the number of consecutive hits and the liveness field in the software descriptor of the table item value, and adjust the aging frequency of active entries according to the corresponding logic, such as figure 2 As shown, the method flow includes the following steps:

[0066] 1. Read the software descriptor of the entry:

[0067] In this step, when the system software polls the hardware chip table, it first reads the values ​​of the numb...

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 relates to the field of data communication, which discloses a method, device and computer storage medium for dynamically adjusting the aging frequency of hardware entries, which solves the problem of traversing all entries that need to be aged in the traditional hardware entry aging scheme, which is very difficult for hardware operations. Frequent, takes up a lot of system overhead, and aging efficiency is low. The device in the present invention includes: an active entry identification module, used to identify active entries in the hardware chip table, and an activity calculation module, used to calculate the activity of the active entry according to the activity calculation rule; processing, It is used to adjust the aging frequency of the active entry according to the activity of the active entry. In addition, the invention also discloses a corresponding method for dynamically adjusting the aging frequency of hardware entries, which is suitable for fast forwarding processing of hardware chips.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method, device and computer storage medium for dynamically adjusting the aging frequency of hardware entries. Background technique [0002] With the continuous development of communication technology, the demand for forwarding capability in the market is also getting higher and higher. It has become the industry norm for equipment manufacturers to use dedicated hardware chips to achieve fast data lookup and forwarding. Due to the very limited resources of hardware chip table items, in order to make full use of the feature of fast table lookup and forwarding of hardware chips, it is necessary to regularly clean up the inactive table items of the hardware chip, that is, to age the inactive table items to improve the performance of the hardware chip table items. effective utilization. [0003] For the aging processing of hardware entries, the industry generally uses hardware sel...

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 Patents(China)
IPC IPC(8): G06F16/22
CPCG06F16/2282
Inventor 刘伟
Owner MAIPU COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products