Unlock instant, AI-driven research and patent intelligence for your innovation.

A Reproducible Debugging Method for Parallel Programs Based on Running Snapshot Sequence

A technology of running snapshots and debugging methods, applied in the direction of software testing/debugging, etc., can solve the problem that the software or hardware system that can be reproduced and debugged does not appear, and achieve the effect of ensuring reproducibility

Inactive Publication Date: 2017-09-22
凯习(北京)信息科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at this stage, the existing research results for reproducible debugging have serious defects.
A fact that can be pointed out is that there are no commercial software or hardware systems that can support reproducible debugging

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
  • A Reproducible Debugging Method for Parallel Programs Based on Running Snapshot Sequence
  • A Reproducible Debugging Method for Parallel Programs Based on Running Snapshot Sequence
  • A Reproducible Debugging Method for Parallel Programs Based on Running Snapshot Sequence

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The specific implementation manners of the present invention will be further described below in conjunction with the accompanying drawings.

[0032] figure 1 and figure 2 The technical scheme of capturing and reproducing proposed by the present invention is given. In a specific embodiment, the technical solution of the present invention can be divided into a snapshot saving trigger module 4, a snapshot capture execution module 1, a snapshot information maintenance module 2, an additional process scheduling strategy module 3, an auxiliary dump thread module 5, and a snapshot data recovery module. Module 6 now.

[0033] The specific implementation manners of the above modules will be further described in detail below.

[0034] Snapshot saving trigger module 4

[0035] The machine instructions corresponding to the snapshot saving trigger module 4 will be mixed and compiled into the program written by the user. Various logics are provided for users to trigger the savi...

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 parallel program re-debugging method based on running snapshot sequences. Before the parallel program runs, the user executes the key points that will help debugging during the program running; during the parallel program execution, the user Each specified key point saves a snapshot, and multiple snapshots form a snapshot sequence. After the execution of the parallel program ends, it enters the replay stage, showing the snapshot information to the user to restore the running scene of the program at the set key point. The running snapshot sequence method proposed by the present invention actually converts the debugging execution of a parallel program from a physical actual execution to a logical conceptual execution, which is also the biggest difference between the method proposed by the present invention and the traditional technical solution. The running snapshot sequence method proposed by the present invention has three main advantages of simple realization, flexible use and low extra cost.

Description

technical field [0001] The invention relates to a method for debugging software in a multi-core architecture. More specifically, the present invention designs a technical method for reproducible debugging of a shared-memory multi-thread program in a multi-core architecture. Reproducible debugging is a technique that enables a parallel program to produce the same results both during execution and during debugging. Background technique [0002] In recent years, there has been a trend to manufacture processors containing multiple cores in order to maximize silicon efficiency (ie, "application achievable" MIP / mm2 or MIP / mW). This multi-core architecture is ideally suited for running thread-based applications because a thread defines an autonomous work package containing execution state, instruction flow, and data groups, which by definition can execute in parallel with other threads. However, this parallel execution introduces additional problems to the software debugging proc...

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): G06F11/36
Inventor 刘轶王博弘
Owner 凯习(北京)信息科技有限公司