iWatcher: Efficient architectural support for software debugging

被引:0
|
作者
Zhou, P [1 ]
Qin, F [1 ]
Liu, W [1 ]
Zhou, YY [1 ]
Torrellas, J [1 ]
机构
[1] Univ Illinois, Dept Comp Sci, Champaign, IL 61820 USA
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Recent impressive performance improvements in computer architecture have not led to significant gains in ease of debugging. Software debugging often relies on inserting run-time software checks. In many cases, however, it is hard to find the root cause of a bug. Moreover, program execution typically slows down significantly, often by 10-100 times. To address this problem, this paper introduces the Intelligent Watcher (iWatcher), novel architectural support to monitor dynamic execution with minimal overhead, automatically, and flexibly. iWatcher associates program-specified monitoring functions with memory locations. When any such location is accessed, the monitoring function is automatically triggered with low overhead. To further reduce overhead and support rollback, iWatcher can leverage Thread-Level Speculation (TLS). To test iWatcher, we use applications with various bugs. Our results show that iWatcher detects many more software bugs than Valgrind, a well-known opensource bug 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 at reducing overheads for programs with substantial monitoring.
引用
收藏
页码:224 / 235
页数:12
相关论文
共 50 条
  • [1] IWatcher: Simple, general architectural support for software debugging
    Zhou, P
    Qin, F
    Liu, W
    Zhou, HY
    Torrellas, J
    IEEE MICRO, 2004, 24 (06) : 50 - 56
  • [2] iWatcher: Simple, general architectural support for software debugging (vol 24, pg 50, 2004)
    Zhou, P
    Qin, F
    Liu, W
    Zhou, HY
    Torrellas, J
    IEEE MICRO, 2005, 25 (01) : 103 - 103
  • [3] Smart debugging software architectural design in SDL
    Wong, WE
    Sugeta, T
    Qi, Y
    Maldonado, JC
    27TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, PROCEEDINGS, 2003, : 41 - 47
  • [4] Smart debugging software architectural design in SDL
    Wong, WE
    Sugeta, T
    Qi, Y
    Maldonado, JC
    JOURNAL OF SYSTEMS AND SOFTWARE, 2005, 76 (01) : 15 - 28
  • [5] Software architectural support for handheld computing
    Medvidovic, N
    Mikic-Rakic, M
    Mehta, NR
    Malek, S
    COMPUTER, 2003, 36 (09) : 66 - +
  • [6] Scalable Architectural Support for Trusted Software
    Champagne, David
    Lee, Ruby B.
    HPCA-16 2010: SIXTEENTH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, PROCEEDINGS, 2010, : 31 - 42
  • [7] Architectural software support for processing clusters
    Gutleber, J
    Cano, E
    Cittolin, S
    Meijers, F
    Orsini, L
    Samyn, D
    CLUSTER 2000: IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING, PROCEEDINGS, 2000, : 153 - 161
  • [8] Architectural support for software transactional memory
    Saha, Bratin
    Adl-Tabatabai, Ali-Reza
    Jacobson, Quinn
    MICRO-39: PROCEEDINGS OF THE 39TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, 2006, : 185 - +
  • [9] Architectural support for copy and tamper resistant software
    Lie, D
    Thekkath, C
    Mitchell, M
    Lincoln, P
    Boneh, D
    Mitchell, J
    Horowitz, M
    ACM SIGPLAN NOTICES, 2000, 35 (11) : 168 - 177
  • [10] SOFTWARE ARCHITECTURAL STYLE FOR DECISION SUPPORT SYSTEMS
    Alzamil, Zakarya A.
    DECISION MAKING AND SOFT COMPUTING, 2014, 9 : 3 - 10