摘要
为了实现以太网结构的分布式实时系统调试,提出了基于时钟同步的监控系统设计。为减少监控系统对程序执行的干扰,采用双网络的结构隔离监控数据与分布式系统的通信。调试服务器作为主机实现应用处理器的调试,并通过测点触发连续捕获状态信息。在满足发生在先关系的基础上,结合同步时钟戳和逻辑时钟实现分布式系统过程的时间确定性重建;在满足一致性定理的基础上,基于时间触发获得分布式系统的一致全局快照。详细分析了满足发生在先关系和一致性定理对时钟同步精度的要求。调试服务器实现了处理器的远程调试,并通过调试脚本实现调试终端对处理器的自动操作。最后,试验测试了监控引入的干扰对程序负载的影响。
The monitoring system based on clock synchronous is presented to realize the debugger for distributed real-time system.Monitoring Ethernet is used to isolate the communication interference.Debug server works as host to debug application processor,and continuous states information are captured at checkpoint.Synchronized physical clock and logic clock is used for determinate trace replay,which meet the causality of distributed system state.Consistent global state is acquired by synchronized time-trigger,which meet the consistent theorem.The demand of clock synchronized precision is analyzed detailed for consistent global state and causality.Networked debugger is realized by debug server,and debug script is presented to debug processors automation.Lastly,performance of monitoring system is measured.
出处
《电子测量与仪器学报》
CSCD
2010年第3期274-278,共5页
Journal of Electronic Measurement and Instrumentation
关键词
分布式系统
一致全局快照
状态排序
时钟同步
distributed system
consistent global snapshot
state order
clock synchronization