Techniques for efficient inline tracing on a shared-memory multiprocessor
Susan J. Eggers, David R. Keppel, Eric J. Koldinger et al. · ACM SIGMETRICS Performance Evaluation Review · 1990
While much current research concerns multiprocessor design, few traces of parallel programs are available for analyzing the effect of design trade-offs. Existing trace collection methods have serious drawbacks: trap-driven methods often slow down program execution by more than 1000 times, significantly perturbing program behavior; microcode modification is faster, but the technique is neither general nor portable. This paper describes a new tool, called MPTRACE, for collecting traces of multithreaded parallel programs executing on shared-memory multiprocessors. MPTRACE requires no hardware or microcode modification; it collects complete program traces; it is portable; and it reduces execution-time dilation to less than a factor 3. MPTRACE is based on inline tracing, in which a program is automatically modified to produce trace information as it executes. We show how the use of compiler flow analysis techniques can reduce the amount of data collected and therefore the runtime dilation of the traced program. We also discuss problematic issues concerning buffering and writing of trace data on a multiprocessor.
Cited by 9 works. doi:10.1145/98460.98501 Open-access PDF
Authors
References
- Cache Memories
- Proceedings of the 1999 International Conference on Parallel Processing
- PRESTO: A system for object‐oriented parallel programming
- A case study of VAX-11 instruction set usage for compiler execution
- Logic verification algorithms and their parallel implementation
- TRAPEDS: producing traces for multicomputers via execution driven simulation
- The effect of sharing on the cache and bus performance of parallel programs
- A software instruction counter
- Topological Optimization of Multiple-Level Array Logic
- Analysis and performance of computer instruction sets [Thesis]