Trace Information Management for Resource Release Failure Investigation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In computer systems where multiple programs operate in parallel, identifying the cause of resource release failures is inefficient due to large amounts of normal trace information, and storage limitations lead to challenges in retaining necessary data for analysis.
Innovation Solution
An information processing apparatus that includes a storage system for trace information and a processor to manage a determination value indicating resource usage, incrementing it when a program acquires a resource and decrementing it when it releases, and deleting trace information when no programs are using the resource, thereby reducing unnecessary data storage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If trace information is stored continuously to ensure sufficient storage time for analysis, then the storage medium capacity is exceeded, but if trace information is deleted earlier to optimize storage usage, then the necessary data for abnormality analysis may be lost
Solution Approach 1:
The system performs preliminary actions by incrementing the determination value before resource acquisition and decrementing after resource release. This preliminary tracking allows the system to proactively manage trace information retention, deleting only when the determination value confirms no programs are using the resource, thus preventing storage overflow while preserving necessary data.
Solution Approach 2:
The determination value serves as a feedback mechanism that continuously reflects the actual resource usage state. By monitoring this feedback signal, the system makes intelligent decisions about when to delete trace information, ensuring data is retained only as long as needed while optimizing storage capacity utilization.
2Loss of time
If all trace information is retained for thorough analysis, then the amount of data to be examined increases, but if trace information is deleted to reduce data volume, then the time to identify relevant abnormality data may increase
Solution Approach 1:
The system performs preliminary tracking of resource usage through the determination value before analysis is needed. This preliminary action establishes a clear marker for when trace information becomes irrelevant, allowing operations managers to quickly identify and focus on relevant abnormality data without sifting through unnecessary information.
Solution Approach 2:
The trace information management is segmented based on resource usage phases. Information is retained during active usage (when determination value > 0) and deleted when usage completes (when determination value = 0), creating distinct segments of relevant and irrelevant data that simplify the analysis process.
3Device complexity
If the determination value is continuously monitored to enable timely deletion of trace information, then the system complexity increases, but if monitoring is reduced to simplify the system, then the accuracy of resource usage tracking decreases
Solution Approach 1:
The determination value automatically increments and decrements based on resource acquisition and release events, requiring minimal external intervention. This self-service mechanism maintains accurate resource usage tracking through simple arithmetic operations rather than complex monitoring algorithms, keeping system complexity low while preserving measurement precision.
Solution Approach 2:
The system uses a single integer parameter (determination value) that changes state through simple increment and decrement operations. This parameter change approach provides accurate resource usage tracking through minimal computational complexity, avoiding the need for sophisticated monitoring systems.
Data Source
AI summary
An information processing apparatus includes a storage configured to store trace information relating to execution conditions of monitoring subjects, and a determination value, the determination value being a number of the monitoring subjects using a specific resource that can be used by the monitoring subjects, and a processor configured to increase the determination value by a predetermined value when one of the monitoring subjects starts to use the specific resource, reduce the determination value by the predetermined value when one of the monitoring subjects stops using the specific resource, and delete the trace information stored in the storage when the determination value indicates that none of the monitoring subjects are using the specific resource.


