Real-Time Log Compression for Volatile Memory Constraints

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Computing systems face memory constraints due to log file compilation, leading to 'out of memory' errors and increased costs from using volatile RAM, which is expensive and limited in capacity.

Innovation Solution

A method and system for log compression that analyzes and compresses system logs in real-time during execution, identifying and discarding non-targeted data within the memory resource, allowing for continuous operation without filling volatile memory.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If log files are compiled in volatile memory during operation execution, then complete log data is captured and available for analysis, but memory capacity is consumed leading to out of memory errors

Engineering Contradiction:
Improvelog data completenessVSAvoidmemory capacity
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential and useful log data from the complete log, removing redundant information. This selective extraction maintains the reliability of log analysis by keeping critical data while significantly reducing the quantity of data stored in volatile memory, thereby preventing out of memory errors.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies different quality standards to different parts of the log data by identifying and retaining only the most relevant portions. Instead of treating all log data uniformly, it applies local quality filtering to preserve critical information while discarding less important data, optimizing the balance between data completeness and memory usage.

Inventive Principle:
Principle #3Local quality

2Reliability

If volatile RAM capacity is increased to accommodate log files, then out of memory errors are prevented, but system cost increases

Engineering Contradiction:
Improvesystem stabilityVSAvoidmemory capacity
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent changes the parameter of log data by transforming it into a compressed and filtered format that retains essential information while occupying less memory space. This parameter transformation allows the system to maintain stability with reduced memory capacity, avoiding the need for expensive RAM upgrades.

Inventive Principle:
Principle #35Parameter changes

3Loss of information

If complete log data is retained in memory until operation completion, then full analysis capability is maintained, but memory resources are depleted

Engineering Contradiction:
Improvelog information retentionVSAvoidmemory capacity
Core Design Contradiction:
Loss of informationVSQuantity of substance

Solution Approach 1:

The patent continuously extracts and removes redundant log data during operation execution, keeping only the most relevant information in volatile memory. This extraction process prevents memory depletion while maintaining sufficient log information for effective analysis and debugging.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent implements a mechanism to discard redundant log data that is no longer needed for analysis while recovering and retaining critical information. This selective discarding and recovering process optimizes memory usage by continuously managing log data throughout the operation lifecycle.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS11474921B2Log compression
Publication Date: 2022.10.18 MICRON TECHNOLOGY INC
  • US11474921B2 patent drawing
  • US11474921B2 patent drawing
  • US11474921B2 patent drawing

AI summary

Systems, apparatuses, and methods related log compression are described. In an example, a system log that identifies targeted data may be compiled in a memory resource during an execution of an operation using that memory resource. The system log may be analyzed utilizing a portion of the memory resource that would otherwise be available to be utilized in the execution of the operation. The system log may be compressed during the execution of the operation, the level or timing of such compression may be based on the analysis that occurs contemporaneous to or as a result of executing the operation. In some examples, compressing the system log may include discarding a portion of the system log. Compressing the system log may also include extracting the targeted data from the system log as the system log is being compiled and converting the extracted targeted data to structured data.