Method and system for dynamic node allocation in data flow architecture

An architecture and dynamic node technology, applied in resource allocation, multi-program device, program synchronization, etc., can solve the problem of slow execution of key nodes, different node fragments with data flow graph congestion, long preprocessing time of static optimization methods, etc. problems, to achieve efficient acceleration and flexible acceleration methods

Active Publication Date: 2021-03-02
北京睿芯高通量科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The problem with this method is that although it can solve the problem of slow execution of some key nodes, it requires a lot of experimental testing and experience to determine which nodes are key nodes, which will increase the preprocessing time
In addition, even for the data flow graph of the same application, the node fragments that cause data flow graph congestion are different at different periods of program execution
Therefore, even if the same data flow graph is statically optimized, it is still difficult to achieve a good acceleration effect during the entire period of program execution.
[0004] Based on the above problems, the preprocessing time required by the static optimization method is long, and for the same application, it is difficult to improve the efficiency of the whole time period by using the static optimization method, resulting in waste of computing resources at different times

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 system for dynamic node allocation in data flow architecture
  • Method and system for dynamic node allocation in data flow architecture
  • Method and system for dynamic node allocation in data flow architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0033] The invention discloses a dynamic node allocation method in a data stream architecture, which comprises the following steps:

[0034] Map the nodes in the data flow graph to the physical execution unit one by one, where the mapped nodes in this step are called dead nodes, and live nodes include unmapped nodes and not fully utilized nodes, among which, not fully utilized nodes Utilized nodes refer to the fact that the computing resources of the physical ...

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 dynamic node allocation method in the data flow system structure. The method maps the nodes in the data flow graph to the physical execution unit one by one. The mapped nodes are called dead nodes, and a node is set in the data flow graph. Management node, there is a data transmission path between the management node and each node; an information table is set at the management node, and live nodes are counted in the information table; a congestion threshold is set for each dead node; whether the dead node is congested, If the dead node detects that the upstream node has completed execution but its own instructions are still being executed, and the execution time exceeds its corresponding congestion threshold, it is determined that the dead node has congestion; when a dead node A is congested, the dead node A will report to the management The node sends a request message; after receiving the request message, the management node maps the request message to a live node according to the actual situation; when the lease time of the live node B reaches the lease period, the management node sends a recycling request to the live node.

Description

technical field [0001] The present invention relates to the technical field of data flow architecture, in particular to a method and system for dynamic node assignment in data flow architecture. Background technique [0002] With the advent of the era of big data computing, the number and scale of data sets have higher and higher requirements on the processing power of processors. The data flow architecture has the characteristics of a large number of instruction-level parallelism and low power consumption of memory access, so it has been widely concerned by the society. In the data flow graph architecture, the program code can be transformed into a data flow graph. A data flow graph is a directed graph in which each node represents a piece of code in a program, and directed lines represent the flow of data between nodes. In the traditional von Neumann structure, the data transfer between instructions is interactive through the memory. After the previous instruction stores...

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): G06F9/50G06F9/52
Inventor 欧焱张浩李易谭旭叶笑春
Owner 北京睿芯高通量科技有限公司
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