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

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

A hardware table entry and dynamic adjustment technology, applied in the field of data communication, can solve the problems of occupying system overhead, low aging efficiency, frequent hardware operations, etc., to achieve the effect of guaranteeing system performance, improving polling efficiency, and improving system performance

Active Publication Date: 2019-10-29
MAIPU COMM TECH CO LTD
View PDF5 Cites 3 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 and device for dynamically adjusting aging frequency of hardware table entries and computer storage medium
  • Method and device for dynamically adjusting aging frequency of hardware table entries and computer storage medium

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, discloses a method and device for dynamically adjusting the aging frequency of hardware table entries and a computer storage medium, and solves the problems that in a traditional hardware table entry aging scheme, all table entries needing to be aged need to be traversed, hardware operation is very frequent, a large amount of system overhead is occupied, and the aging efficiency is low. The device comprises an active table item identification module used for identifying active table items in a hardware chip table, an activity degree calculation module used for calculating the activity degree of the active table items according to an activity degree calculation rule, and a processing module used for adjusting the aging frequency of the table item according to the activeness of the active table item. In addition, the invention further discloses a corresponding method for dynamically adjusting the aging frequency of the hardware table entries. The invention is suitable for rapid forwarding processing of a hardware chip.

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
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products