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

Graphical processor-based graph computing edge vector load balancing method and device

A graphics processor and load balancing technology, applied in the direction of processor architecture/configuration, computing, multi-programming devices, etc., can solve the problems of high extra computing overhead, increased number of instructions, unusable users, etc., to improve utilization and Throughput rate, simple hardware structure, and efficient computing load effect

Active Publication Date: 2022-02-22
NAT UNIV OF DEFENSE TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the software load balancing strategies that have been proposed have some common disadvantages: 1) These strategies need to modify the source code and add additional complex code to achieve side vector load balancing, which will make it unusable for users who are not familiar with GPU programming, The use threshold has been raised; 2) Due to the use of complex edge vector load balancing strategies, a large amount of time is required for preprocessing calculations. For graphs with uniform distribution of node degrees, this part of the time consumption does not obtain higher benefits and The performance will be much lower than the simple load balancing strategy; (3) The extra computing overhead brought by the software edge vector load balancing strategy is very large, resulting in a significant increase in the number of executed instructions

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
  • Graphical processor-based graph computing edge vector load balancing method and device
  • Graphical processor-based graph computing edge vector load balancing method and device
  • Graphical processor-based graph computing edge vector load balancing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Such as figure 1 As shown, in this embodiment, the graph calculation edge vector load balancing method based on the graphics processor includes a scheduling step of the control processor of the graphics processor performing load balancing, and the scheduling step includes:

[0035] 1) The control processor of the graphics processor regularly finds out the maximum and minimum amount of data among the side data that all SM cores need to process and calculates the difference;

[0036] 2) The control processor of the graphics processor judges whether the calculated difference exceeds the preset threshold, and if it has not exceeded the preset threshold, it ends and exits; otherwise, it jumps to the next step;

[0037] 3) The control processor of the graphics processor selects the two SM cores that need to be load balanced, sets the states of the two SM cores to the state of waiting for donation load and the state of receiving load donation, and calculates the data of the side...

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 graph calculation edge vector load balancing method and device based on a graphics processor. The method of the invention includes regularly finding out the maximum and minimum amount of data among the edge data that all SM cores need to process and calculating the difference, And the difference exceeds the preset threshold and the states of the two SM cores are respectively set to the state of waiting for the donated load and receiving the donated load, the control processor of the graphics processor sends a load balancing request to the SM core waiting for the donated load, and upon receiving The start index and end index of the donation data returned by the SM core are sent to the SM core receiving the load donation, and the load receiver records it as the side data to be processed. The present invention can efficiently realize graph-oriented computing edge vector load balance between stream processor cores of graphics processors, has the advantages of simple hardware structure and transparent programming for programmers, and can complete all operations without modifying the original program. load balancing tasks.

Description

technical field [0001] The invention relates to a load balancing technology of a graphic processor, in particular to a method and a device for balancing a graphic processor-based graph calculation side vector load. Background technique [0002] Modern microprocessor architectures continue to increase the parallel processing capabilities of microprocessors in order to achieve higher throughput rates while maintaining good energy efficiency. Graphics processing unit (GPU) is currently the computing platform with the strongest parallel processing capability, which can provide huge computing power while using low energy consumption. GPU programming languages ​​allow programmers to execute applications in parallel using hundreds or thousands of threads, such as CUDA and OpenCL. Each thread will execute the same piece of kernel code according to the single instruction multiple thread (SIMT) programming model. This SIMT architecture provides huge parallel computing capability and...

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/50G06T1/20
CPCG06F9/505G06T1/20
Inventor 黄立波郭辉郑重郭维雷国庆王俊辉隋兵才孙彩霞王永文倪晓强
Owner NAT UNIV OF DEFENSE TECH
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