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

Block HB (Happens-Before) based dynamic data race detection method and system

A technology of dynamic data and data competition, which is applied in the field of data competition detection in parallel computing, and can solve the problems of low detection accuracy, large memory overhead and time overhead, etc.

Active Publication Date: 2017-04-26
HUAZHONG UNIV OF SCI & TECH
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the defects or improvement needs of the existing static data competition detection technology and dynamic data competition detection technology, the present invention provides a dynamic data competition detection method and system based on block partial order, the purpose of which is to ensure the accuracy of competition detection In this way, memory and time overheads are reduced, thereby solving the problems of large memory overhead, time overhead and low detection accuracy in the existing static data race detection technology and dynamic data race detection technology in terms of memory overhead, time overhead, and detection accuracy technical issues

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
  • Block HB (Happens-Before) based dynamic data race detection method and system
  • Block HB (Happens-Before) based dynamic data race detection method and system
  • Block HB (Happens-Before) based dynamic data race detection method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, this aspect will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0039] figure 1 It is a schematic flowchart of a dynamic data competition detection method based on block partial order disclosed in the embodiment of the present invention, which specifically includes the following steps:

[0040] 101: Use the front end of the underlying virtual machine LLVM to compile the source code to obtain the intermediate code IR, and use LLVM's process PASS to pe...

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 block HB (Happens-Before) based dynamic data race detection method and system. The method comprises the steps of carrying out compilation on a source representation by employing a front end of an LLVM (Low Level Virtual Machine) to obtain an IR (Intermediate Representation), and carrying out instrumentation on a memory access operation and a synchronization operation by employing a process PASS of the LLVM; in an operating process of the IR, obtaining physical time information of the memory access operation and the synchronization operation after the instrumentation, and then compressing and simplifying HB relationships; and carrying out data race detection based on the compressed HB relationships. By compressing and simplifying the HB relationships of an event, the overheads of a time and a memory caused by a large number of the HB relationships are reduced.

Description

technical field [0001] The invention belongs to the technical field of parallel computing data competition detection, and more specifically relates to a block partial order-based dynamic data competition detection method and system. Background technique [0002] With the rapid development of social networks, computer biology, scientific computing and security fields, the amount of data targeting these information is increasing day by day, which brings new challenges to some traditional algorithms. [0003] The increase in the amount of data makes people pay more and more attention to the time and memory overhead of the algorithm, which in turn has a certain impact on the field of data race detection. The current data race detection tools include static data race detection and dynamic data race detection, and the traditional static data race detection is mainly based on the lockset detection method, which mainly has the following disadvantages: (1) There are many false positi...

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): G06F11/36
CPCG06F11/3636
Inventor 廖小飞林敏豪郑龙金海
Owner HUAZHONG UNIV OF SCI & 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