首页 | 本学科首页   官方微博 | 高级检索  
     

调试器对并行程序干扰特性的研究
引用本文:刘建,沈美明,郑纬民.调试器对并行程序干扰特性的研究[J].计算机学报,2002,25(2):122-129.
作者姓名:刘建  沈美明  郑纬民
作者单位:清华大学计算机科学与技术系高性能计算技术研究所,北京,100084
基金项目:国家自然科学基金 (6993 3 0 2 0 )资助
摘    要:机群系统中并行程序的执行具有不确定性,这种不确定性给并行程序的调试带来了困难,并行程序的不确定性是由运行环境中的各种干扰因素造成的,该文研究交互式调试行为对调试程序的干扰特性,文中给出了算法可以在调试的过程中实时地报告出本次交互式调试操作是否对调试的程序造成了干扰。

关 键 词:机群系统  并行程序调试器  不确定性  干扰特性  程序设计
修稿时间:2000年12月25

Research on Perturbation Imposed on Parallel Programs by Debuggers
LIU Jian,SHEN Mei,Ming,ZHEN Wei,Min.Research on Perturbation Imposed on Parallel Programs by Debuggers[J].Chinese Journal of Computers,2002,25(2):122-129.
Authors:LIU Jian  SHEN Mei  Ming  ZHEN Wei  Min
Abstract:In cluster systems the execution of a parallel program is non deterministic, which makes the debugging of parallel programs very difficult. This non determinism is mainly caused by all kinds of disturbances or perturbations existing in the running environment.This paper studies the characteristic of perturbation that a debugger imposes on debugged parallel programs while user debugs a parallel program in interactive mode, which is very difficult and very helpful for the design and implementation of a practical debugger in cluster systems. First of all, several techniques that are used to decrease perturbation are briefly discussed. Then, we build our own message passing model of parallel programs in cluster systems. Our model is different from others in that we introduce D max and D min that represent the maximum latency and minimum latency of messages in cluster systems respectively. In order to describe the executive character of parallel programs accurately, we define the terms of state freezing and equivalent execution. Then, we analyze the detailed conditions of perturbation that a debugger imposed on a parallel program. Finally, we find out the conditions under which the debugger would produce perturbation and formally prove these results.According to our results, we design two algorithms that can inform the user of the perturbation that a debugger has imposed on debugged programs in real time. We have developed a debugging tool, DENNET in cluster systems. Those algorithms have been integrated in DENNET and the corresponding debugging mode has been named 'pure mode'. When debugging a parallel program, users can choose 'pure mode' or not. Acknowledge time and latency are two key parameters in our algorithms. At the end of this paper, the testing results of these two parameters are given.
Keywords:cluster system  parallel debugger  non  deterministic execution    perturbation (disturbance or probe effect)  state  freezing  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号