Unlock instant, AI-driven research and patent intelligence for your innovation.

TCAM (telecommunication access method) table space recovery method and device

A technology of space and space state, applied in the field of data communication, can solve the problems of TCAM search impact, false hit, impact efficiency and so on

Inactive Publication Date: 2014-09-10
NEW H3C TECH CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although this method implements TCAM entry operations, although the logic is simple, when there are many entries and deleting entries with lower addresses, a large number of entry movement operations are required, which takes a long time and affects efficiency.
At the same time, frequent movement operations, equivalent to frequent modification of table entries, will affect the TCAM lookup, resulting in false hits.

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
  • TCAM (telecommunication access method) table space recovery method and device
  • TCAM (telecommunication access method) table space recovery method and device
  • TCAM (telecommunication access method) table space recovery method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to realize the object of the present invention, the core technical idea that the present invention adopts is: by maintaining a TCAM space state table in CPU memory, this table has recorded the use state of corresponding TCAM space, when the remaining space of state table record TCAM is not enough to add When a new table entry is created, the recovery of the TCAM space is triggered. Compared with the prior art, the present invention performs table space recovery operation only when the TCAM table space is really needed. Therefore, usually adding and deleting entries on TCAM will be completed quickly; at the same time, because only when the space of TCAM is exhausted, the operation of adding entries will trigger space reclamation, and then execute the operation of moving entries. The operation of moving the item will not affect the TCAM lookup, and the accuracy of the TCAM table item lookup is also greatly improved compared with the prior art.

[0028] In order ...

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 TCAM table space recovery method and device. According to the TCAM table space recovery method and device, a TCAM space state table is maintained in the memory of a CPU (central processing unit) and records the using state of corresponding TCAM space, and when the residue TCAM space recorded by the state table is insufficient to add new table entries, recycling of the TCAM space can be triggered. Compared with the prior art, the TCAM table space recovery method and device can perform table space recovery only when the TCAM table space is required needed. Therefore, usual TCAM table entry adding and deleting can be completed rapidly; meanwhile, space recovery can be triggered and further table entry moving operations can be performed only when the TCAM space is exhausted, and the table entry moving operations cannot be performed under any other conditions, so that the TCAM table space recovery method and device can greatly improve the TCAM table entry precision compared with the prior art.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method and device for reclaiming a TCAM table space. Background technique [0002] In data communication, the storage and lookup of table items are involved. There are many traditional table entry lookup methods. For example: linear search method, binary tree search method, hash table search, etc. These search methods are all SRAM-based software search methods, and their common feature is that the search speed is slow. As the hardware matching technology based on TCAM (Ternary Content Addressable Memory, a ternary content addressable memory, mainly used to quickly find ACL, routing and other entries) becomes more and more mature, more and more applications begin to use this A fast way to store and lookup table entries. When using TCAM, selecting different strategies and methods to perform maintenance operations such as adding and deleting table spaces will greatly affect th...

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): G06F17/30
CPCG06F16/2282
Inventor 范路路
Owner NEW H3C TECH CO LTD