Skip to main content
QUICK REVIEW

[Paper Review] Slicing Event Traces of Large Software Systems

Raymond Smith, Bogdan Korel|ArXiv.org|Jan 11, 2001
Software Testing and Debugging TechniquesComputer Science14 references15 citations
TL;DR

This paper proposes a slicing technique for reducing voluminous event traces in large software systems to streamline post-mortem debugging. By automatically identifying dependencies—especially cause-effect relationships—between events, the method isolates only those events influencing incorrect behavior, significantly shrinking trace size for efficient analysis without manual inspection of all logs.

ABSTRACT

Debugging of large software systems consisting of many processes accessing shared resources is a very difficult task. Many commercial systems record essential events during system execution for post-mortem analysis. However, the event traces of large and long-running systems can be quite voluminous. Analysis of such event traces to identify sources of incorrect behavior can be very tedious, error-prone, and inefficient. In this paper, we propose a novel technique of slicing event traces as a means of reducing the number of events for analysis. This technique identifies events that may have influenced observed incorrect system behavior. In order to recognize influencing events several types of dependencies between events are identified. These dependencies are determined automatically from an event trace. In order to improve the precision of slicing we propose to use additional dependencies, referred to as cause-effect dependencies, which can further reduce the size of sliced event traces. Our initial experience has shown that this slicing technique can significantly reduce the size of event traces for analysis.

Motivation & Objective

  • To address the challenge of debugging large, long-running software systems with massive event traces.
  • To reduce the volume of event traces that must be manually analyzed post-mortem.
  • To improve debugging efficiency by identifying only the events that influenced observed incorrect behavior.
  • To enhance precision in trace reduction by incorporating cause-effect dependencies beyond basic execution order.
  • To provide a scalable, automated technique for event trace analysis in industrial-scale systems.

Proposed method

  • The method constructs a trace of system events recorded during execution, including process actions and shared resource accesses.
  • It identifies data and control dependencies between events based on execution order and shared resource usage.
  • It introduces cause-effect dependencies, which model causal relationships between events that directly influence system behavior.
  • The slicing process uses these dependencies to propagate influence backward from observed incorrect behavior to relevant events.
  • The algorithm prunes all events not influencing the observed failure, producing a minimal, relevant trace subset.
  • The approach is automated and operates solely on the event trace, requiring no source code or instrumentation beyond logging.

Experimental results

Research questions

  • RQ1How can event traces in large, distributed software systems be reduced to a manageable size for debugging?
  • RQ2What types of dependencies between events are most effective in identifying the root causes of incorrect behavior?
  • RQ3Can cause-effect dependencies improve the precision of trace slicing compared to basic execution order dependencies?
  • RQ4To what extent can automated slicing reduce the size of event traces without losing relevant failure-indicating events?
  • RQ5How effective is the slicing technique in real-world, industrial-scale software systems?

Key findings

  • The slicing technique significantly reduces the size of event traces, making post-mortem analysis more efficient.
  • The inclusion of cause-effect dependencies improves the precision of the slicing process, reducing irrelevant events in the output.
  • The method successfully isolates only those events that influenced the observed incorrect behavior, minimizing manual inspection.
  • Initial experience shows the technique is practical and scalable for large, long-running systems with complex event logs.
  • The approach enables faster root cause identification by focusing analysis on a minimal, relevant subset of events.
  • The technique operates effectively without requiring source code or prior system models, relying only on runtime event traces.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.