Affiliation:
1. Department of Computer Science, University of Oregon, Eugene, OR
Abstract
Replay of shared-memory program execution is desirable in many domains including cyclic debugging, fault tolerance and performance monitoring. Past approaches to repeatable execution have focused on the problem of re-executing the shared-memory access patterns in parallel programs. With the proliferation of operating system supported threads and shared memory for uniprocessor programs, there is a clear need for efficient replay of concurrent applications. The solutions for parallel systems can be performance prohibitive when applied to the uniprocessor case. We present an algorithm, called the repeatable scheduling algorithm, combining scheduling and instruction counts to provide an invariant for efficient, language independent replay of concurrent shared-memory applications. The approach is shown to have trace overheads that are independent of the amount of sharing that takes place. An implementation for cyclic debugging on Mach 3.0 is evaluated and benchmarks show typical performance overheads of around 10%. The algorithm implemented is compared with optimal event-based tracing and shown to do better with respect to the number of events monitored or number of events logged, in most cases by several orders of magnitude.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference19 articles.
1. A. Aho B. Kernighan and P. Weinberger "The AWK Programming Language " Addison-Wesley Reading MA 1988. A. Aho B. Kernighan and P. Weinberger "The AWK Programming Language " Addison-Wesley Reading MA 1988.
2. Cheap hardware support for software debugging and profiling
3. H. Custer "Inside Windows NT " Microsoft Press Redmond WA 1993. H. Custer "Inside Windows NT " Microsoft Press Redmond WA 1993.
4. Monitoring and debugging distributed realtime programs
Cited by
14 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献