A New Mechanism of Message Aggregation Applied to Remote Parallel Program Debugging System
Hailong Li · Xi'an Jiaotong Daxue xuebao · 2009
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.