標題: | Efficient online algorithm for identifying useless states in distributed systems |
作者: | Chen, Lung-Pin Sun, Der-Johng Chu, William 資訊工程學系 Department of Computer Science |
關鍵字: | Checkpoint;Distributed debugging;Global predicate detection |
公開日期: | 1-四月-2011 |
摘要: | In a distributed system, detecting whether a given logical predicate is true on the global states is fundamental for testing and debugging the program. Detecting predicates by examining all global states is intractable due to the combinatorial nature of the problem. This work designs an efficient online algorithm that identifies the consistent and useless states each time a new state is reported. This paper formulates the optimality of detecting algorithms in terms of pseudo states, which are employed to represent unknown states to the monitor process. Based on this technique, memory space of the debugger can be minimized by removing the useless states without affecting the debugging results. While minimizing memory space, the proposed algorithm requires only O(p (2) M) time in total, where p is the number of processes, and M is the number of reported states. |
URI: | http://dx.doi.org/10.1007/s00446-010-0124-2 http://hdl.handle.net/11536/9087 |
ISSN: | 0178-2770 |
DOI: | 10.1007/s00446-010-0124-2 |
期刊: | DISTRIBUTED COMPUTING |
Volume: | 23 |
Issue: | 5-6 |
起始頁: | 359 |
結束頁: | 372 |
顯示於類別: | 期刊論文 |