Supercharge Your Innovation With Domain-Expert AI Agents!

TCAM allocation method based on graph division

An allocation method and graph partitioning technology, applied in the computer field, can solve the problems of no global view, lack of scheduling strategy, and affecting compiler efficiency of TCAM allocation results, etc.

Active Publication Date: 2020-10-23
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the graph partition method based on the principle of multiplication and addition has the following problems: First, the method adopts a recursive partition strategy, which only considers how to reduce the scale of the graph, and the purpose of partitioning is only to reduce the graph. view, thus lacking a global scheduling strategy
This may reduce the size of the local subgraph, but the overall effect may be poor partition results
Secondly, due to the variety of hardware resource specifications, different subgraphs may require different termination conditions to limit, and it is difficult to use this method to guide partition optimization through indicators, which will further affect the partition results
In addition, the preconditions for cross-cutting are relatively strict, and a large number of vertical cuts are required to create conditions for cross-cutting, which may make the division results cross-redundant
Low-quality graph partition results will affect TCAM allocation results and compiler 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
  • TCAM allocation method based on graph division
  • TCAM allocation method based on graph division
  • TCAM allocation method based on graph division

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0030] In the chip architecture of TCAM, it is usually possible to quickly match the program execution process based on the characteristics of TCAM, abstract the program execution process into a control flow chart (CFG), and solve the allocation of hardware resources by mapping the resources on the CFG to the TCAM. However, due to limited TCAM resources, it is often impossible to deploy the resources of the entire CFG on the same TCAM at one time. Therefore, it is necessary to divide the CFG into multiple sub-graphs, allocate hardware resources for each sub-graph separately, and finally...

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 provides a TCAM distribution method based on graph division. The TCAM distribution method comprises the steps of converting a control flow chart of a program execution process into a condition variable chart; greedy selecting a next-level sub-graph root node from the alternative nodes of the current conditional variable graph according to the utility value until a final set of sub-graph root nodes is obtained; dividing the conditional variable graph into a plurality of final sub-graphs based on the set of root nodes of the final sub-graphs; and allocating TCAM to the program execution process according to the final sub-graph.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for allocating TCAM based on graph division. Background technique [0002] In recent years, with the emergence of many new technologies, the new generation memory market is heating up, and the chip architecture is developing along with the new market. Unlike traditional Static Random-Access Memory (SRAM), Ternary Content-Addressable Memory (TCAM) provides a method of searching large data sets using masks indicating ranges. method. It allows searching stored information by its content rather than retrieving memory cells by their physical address. In addition to the two states of "0" and "1", each byte in TCAM also has a third state called "other" (that is, "don't care"). It is this third state feature of TCAM that enables it to perform both exact match search and fuzzy match search, so its performance is far superior to that of SCAM, which can only perform exact match search. ...

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): G06F9/50G06F8/41
CPCG06F9/5016G06F8/41Y02D10/00
Inventor 游润泽赵家程崔慧敏冯晓兵
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More