Hardware Compression Buffering for High-Frequency Instrumentation Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current hardware instrumentation data recording is limited to short timeframes with high sample frequencies or longer timeframes with reduced frequencies, leading to diagnostic resolution loss and interference with workload during benchmark runs, as writing sampled data to disk is inefficient.
Innovation Solution
Implementing hardware accelerated compression in an intermediate buffer before writing instrumentation data to disk, allowing for longer term sampling with higher frequencies using a hardware compression engine and intermediate buffer management, such as ring or double buffers, to store and compress data efficiently.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If instrumentation data is recorded with high sample frequencies for long timeframes, then diagnostic resolution is improved, but system performance is interfered with due to inefficient disk writing
Solution Approach 1:
The patent extracts the compression function from the main data collection system by implementing a separate hardware compression engine that operates independently on instrumentation data in an intermediate buffer, allowing high-frequency data collection to continue without blocking disk write operations
Solution Approach 2:
The patent performs compression as a preliminary action before data is written to disk. The hardware compression engine compresses instrumentation data in advance while it resides in the intermediate buffer, so that when data needs to be written to disk, it is already in compressed form, eliminating the performance bottleneck
2Loss of substance
If instrumentation data is compressed using software-based methods, then compression capability is achieved, but processing time is excessive and interferes with workload execution
Solution Approach 1:
The patent replaces the software-based compression mechanism with a hardware compression engine that is specifically designed for this purpose. This hardware engine operates in parallel with the main workload and processes data at hardware speeds, eliminating the time penalty associated with software compression while still achieving the desired data size reduction
3Measurement precision
If data is written to disk at high frequency, then diagnostic resolution is maintained, but disk I/O becomes a bottleneck and slows down overall system performance
Solution Approach 1:
The patent changes the parameter of data representation by compressing the instrumentation data before writing to disk. This parameter change (from uncompressed to compressed format) allows the same amount of diagnostic information to be stored in less space, reducing the frequency and volume of disk I/O operations while maintaining diagnostic resolution
Data Source
AI summary
Embodiments include method, systems and computer program products for compressing instrumentation data. Aspects include defining an intermediate region of memory. Instrumentation data associated with a processing device is received and stored in the intermediate region of the memory. The instrumentation data is compressed in the intermediate region of memory and stored in a sample region of memory.


