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

Synchrony relation based parallel dynamic data race detection system

A data competition and detection system technology, applied in software testing/debugging, program control devices, etc., can solve problems such as high overhead and reduced memory access records, and achieve a reduction in data volume, high data parallelism, and disk space saving. Effect

Inactive Publication Date: 2014-04-16
HUAZHONG UNIV OF SCI & TECH
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the shortcomings of the existing dynamic data race detection method that the overhead is too high, the present invention proposes an offline parallel data race detection system. This method makes full use of the parallel structure of the program to be detected, so that the amount of memory access records is greatly reduced. The detection algorithm has High parallelism, which can take full advantage of existing multi-core platforms to speed up detection

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
  • Synchrony relation based parallel dynamic data race detection system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] 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 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, not 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.

[0021] At first the terms in the present invention are briefly explained:

[0022] OpenMP: An API (Application Programming Interface) for writing parallel programs efficiently and concisely, providing an easy-to-understand and use parallel programming interface in the form of compiler instructions. OpenMP takes the parallel area as the basic unit, and each parallel area contains several member ...

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 synchrony relation based parallel dynamic data race detection system which comprises a filter module, a recording module, a vector clock computation module and a parallel detection module. The filter module is responsible for monitoring memory access operation of each thread of a to-be-detected program in the running process and filtering redundant memory accesses and accesses with data races impossibly occurring, and rest accesses after filtration are written in record files corresponding to the threads by the recording module. The vector clock computation module reads out the memory access records of the program from the record files, and computes vector clocks of the memory accesses. The parallel detection module partitions a detection task by the vector clocks into small tasks to be distributed to multiple worker threads, and is responsible for summarizing detection results. The system only records the memory accesses with the races possibly occurring and merges and compresses access intervals, so that the records are greatly decreased; meanwhile, a data race detection algorithm is high in degree of parallelism, and multi-core hardware can be fully utilized to realize detection acceleration.

Description

technical field [0001] The invention belongs to the field of computer software testing and debugging. More specifically, the invention describes a parallel dynamic data competition detection system based on a synchronization relationship. Background technique [0002] With the widespread popularity of multi-core hardware, multi-threaded software has also penetrated into all aspects of the computing field. Multi-threaded software can make full use of multi-core hardware resources and perform multiple tasks at the same time. It is especially suitable for tasks that require quick response to user operations. In addition, multi-threaded software can also speed up certain tasks exponentially. However, the inherent uncertainty of multi-threaded programs brings runtime errors such as data races, deadlocks, and violations of atomicity. Data races refer to when multiple threads access the same memory address and at least one of them is a write operation. The state of the program is ...

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): G06F11/36G06F9/44
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