iWatcher
Authors:
Open Access
- 2 March 2004
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 32 (2) , 224
Abstract
Recent impressive performance improvements in computer architecturehave not led to significant gains in ease of debugging.Software debugging often relies on inserting run-time softwarechecks. In many cases, however, it is hard to find the root causeof a bug. Moreover, program execution typically slows down significantly,often by 10-100 times.To address this problem, this paper introduces the IntelligentWatcher (iWatcher), novel architectural support to monitor dynamicexecution with minimal overhead, automatically, and flexibly.iWatcher associates program-specified monitoring functionswith memory locations. When any such location is accessed, themonitoring function is automatically triggered with low overhead.To further reduce overhead and support rollback, iWatcher canleverage Thread-Level Speculation (TLS). To test iWatcher, we useapplications with various bugs. Our results show that iWatcher detectsmany more software bugs than Valgrind, a well-known open-sourcebug detector. Moreover, iWatcher only induces a 4-80%execution overhead, which is orders of magnitude less than Valgrind.Even with 20% of the dynamic loads monitored in a program,iWatcher adds only 66-174% overhead. Finally, TLS is effective atreducing overheads for programs with substantial monitoring.Keywords
This publication has 28 references indexed in Scilit:
- RacerX2003
- AEGIS2003
- CCured in the real world2003
- Enhancing software reliability with speculative threads2002
- Mondrian memory protection2002
- Tracking down software bugs using automatic anomaly detection2002
- An API for Runtime Code PatchingThe International Journal of High Performance Computing Applications, 2000
- The superthreaded processor architectureIEEE Transactions on Computers, 1999
- EraserACM Transactions on Computer Systems, 1997
- Capability-based addressingCommunications of the ACM, 1974