Dynamic Sampling Interval for CPU Performance Data Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies face challenges in efficiently collecting and storing performance data from CPUs due to the trade-off between detection accuracy and storage capacity, where frequent sampling degrades detection accuracy but high frequency recording limits storage duration.
Innovation Solution
An information processing apparatus that samples performance data at a short first time interval and records it into RAM, switching to a longer second time interval only when no performance decrement is detected, thereby reducing recording frequency and extending storage duration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If performance data is sampled frequently at a short time interval, then detection accuracy of performance problems is improved, but storage capacity is exhausted quickly
Solution Approach 1:
The patent applies dynamics by making the sampling interval adjustable rather than fixed. The system dynamically switches between a first time interval (shorter) and a second time interval (longer) based on whether performance degradation is detected. When performance degradation is detected, the system uses the shorter first time interval to capture detailed performance data for accurate problem identification. When no degradation is detected, it switches to the longer second time interval to conserve storage capacity, thereby resolving the contradiction between detection accuracy and storage capacity utilization.
Solution Approach 2:
The patent changes the parameter of sampling interval based on system state. It uses a first time interval for high-precision sampling when performance degradation is detected and a second time interval for low-precision sampling when performance is normal. This parameter change allows the system to adapt sampling frequency to actual needs, improving detection accuracy when necessary while preserving storage capacity during normal operation.
2Measurement precision
If performance data is recorded at high frequency, then detection accuracy is improved, but storage duration is limited
Solution Approach 1:
The system dynamically adjusts recording frequency based on performance state. During normal operation, it records at a lower frequency using the second time interval, extending storage duration. When performance degradation occurs, it switches to higher frequency recording using the first time interval to ensure accurate detection and analysis of the performance problem, thus resolving the contradiction between detection accuracy and storage duration.
Solution Approach 2:
The patent implements periodic sampling with two different periods. The system periodically samples performance data using the first time interval when degradation is detected and the second time interval when performance is normal. This periodic action with variable periods allows the system to balance detection accuracy requirements with storage duration constraints by using intensive sampling only when necessary.
3Measurement precision
If a fixed short time interval is used for sampling, then detection accuracy is maintained, but storage capacity is wasted during normal operation
Solution Approach 1:
The patent changes the sampling interval parameter from a fixed short interval to a variable interval with two values. It uses the first time interval (shorter) when performance degradation is detected to maintain detection accuracy, and switches to the second time interval (longer) during normal operation to reduce storage capacity consumption. This parameter change eliminates the waste of storage capacity that would occur with fixed short-interval sampling during normal system operation.
Data Source
AI summary
An information processing apparatus includes a memory, and a processor coupled to the memory and configured to obtain performance data of the information processing apparatus at a first time interval repetitively, write the performance data in the memory when a particular value of the performance data indicates a performance decrement of the information processing apparatus, and set a second time interval longer than the first time interval instead of the first time interval for obtaining the performance data when the particular value does not indicate a performance decrement of the information processing apparatus.


