西安交通大学电子与信息工程学院,西安,710049
网络首发:2009-10-10,
纸质出版:2009
移动端阅览
赵海祥, 伍卫国, 赵增, 等. 一种应用于远程并行程序调试系统的新型消息聚集机制[J]. 西安交通大学学报, 2009,43(10):27-31.
A New Mechanism of Message Aggregation Applied to Remote Parallel Program Debugging System[J]. 2009, 43(10): 27-31.
针对并行程序调试相对复杂的问题
提出了一种新的消息聚集机制
实现了适用于调试大规模并行程序的远程源码级调试原型系统.核心的消息聚集策略包括:消息收集和传送的树形控制结构; 合并调试命令的返回结果消息.通过改进固定分支数的树形结构
将树分成2层
节点内部构成一棵树
节点之间构成一棵树
以此最大程度地减少节点间的消息传递量.系统底层集成了串行调试工具GNU gdb
以完成单个进程的调试.另外
设计了一种能同时满足4类gdb结果情况的消息合并方法
在最终的结果消息中保留了gdb的原始输出数据.实验结果表明
调试原型系统能满足用户的基本要求
并简化了远程计算资源的方式
屏蔽了复杂的服务器硬件结构及处理流程.
A new mechanism of the message aggregation is proposed for debugging large-scale parallel programs. A remote source level debugging prototype system that is suitable for debugging large-scale parallel programs is created. The core of the message aggregation strategy includes: a tree structure that is used to aggregate and transfer the messages
and the resulting message returned by debug combination commands. Through the improved tree structure with fixed number the tree can be partitioned into two layers: a tree formed by nodes
and a tree formed by controllers within nodes
so that the amount of message passing between nodes can be greatly reduced. The serial debug tool GNU gdb is integrated into the bottom of the system to carry out the single process debug. A method of message combination is designed for satisfying the four kinds of gdb results. Meanwhile
the original output data of gdb are retained in the resulting information. Experimental results show that the debugging prototype system satisfies user's basic demands
simplifies the remote calculation
and shields the complicated hardware structure and processing flow.
LUMETTA S S, CULLER D E. The mantis parallel debugger [C]∥Proceedings of the 1st Symposium on Parallel and Distributed Tools. New York, USA: ACM, 1996: 118-126.
GRAG W. Parallel tools platform-parallel debugger[EB/OL].[2008-08-12]. http:∥dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclipse.ptp/doc/presentations/CDT_2006.pdf?cvsroot=Tools_Project.
EDGAR G, GRAHAM E F, GEORGE B, et al. Open MPI: goals, concept, and design of a next generation MPI implementation [C]∥Proceedings of 11th European PVM/MPI Users' Group Meeting. Budapest, Hungary: Springer, 2004: 97-104.
陈勇, 何克东, 陆在朝, 等. 曙光机群系统并行调试器的设计与实现 [J]. 计算机工程, 2004,30(9): 50-52.
CHEN Yong, HE Kedong, LU Zaichao, et al. Design and implementation of a parallel debugger for dawning cluster system [J]. Computer Engineering, 2004, 30(9): 50-52.
HOOD R. The p2d2 project: building a portable distributed debugger [C]∥Proceedings of ACM SIGMETRICS Symposium on Parallel and Distributed Tools. New York, USA: ACM, 1996: 127-136.
BALLE S M, BRETT B R. Extending a traditional debugger to debug massively parallel applications [J]. Journal of Parallel and Distributed Computing, 2004, 64(5): 617-628.
PHAM C, ALBRECHT C. Optimizing message aggregation for parallel simulation on high performance clusters [C]∥The 7th IEEE International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunications Systems. Piscataway, NJ, USA: IEEE, 1999:76.
Message Passing Interface Forum. MPI2: a message passing interface standard [J]. International Journal of High Performance Computing Applications, 1998,12(1/2):1-299.
0
浏览量
4
下载量
1
CSCD
关联资源
相关文章
相关作者
相关机构
京公网安备11010802024621