Compressed Memory Page Management for Discontinuous Address Spaces

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing discontinuous memory mapping spaces are insufficiently utilized, leading to a waste of memory resources due to long-term occupation of compressible memory pages.

Innovation Solution

A memory management method that scans discontinuous memory mapping spaces to identify compressible memory pages, compresses their data, stores the compressed data in a data storage module outside the discontinuous space, releases the memory pages, and sets the corresponding virtual addresses as page fault addresses.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If compressible memory pages are kept in the discontinuous memory mapping space, then memory access speed is maintained, but memory utilization deteriorates due to long-term occupation of memory resources

Engineering Contradiction:
Improvememory access speedVSAvoidmemory utilization
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent implements dynamic memory management by periodically scanning memory pages and dynamically transitioning them between compressed and uncompressed states based on access patterns. The memory management unit dynamically adjusts the state of memory pages, converting compressible pages to compressed state and releasing them, while maintaining quick access capability through page fault detection and decompression mechanisms.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the physical state of memory data by compressing memory pages and storing them in a compressed format. The memory management unit detects compressible pages and transforms them into compressed representations, changing the density and storage characteristics of the data while maintaining logical accessibility through virtual address mapping.

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If memory pages are compressed and stored outside discontinuous space, then memory utilization improves, but access speed deteriorates due to decompression requirements

Engineering Contradiction:
Improvememory utilizationVSAvoiddata access speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The patent performs preliminary compression of memory pages that are identified as compressible, storing them in compressed form before they are needed. The system proactively scans and compresses pages during idle periods or low-utilization states, preparing compressed data in advance so that when access is needed, the decompression can occur quickly without prolonged performance degradation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a memory management unit as an intermediary between the compressed data storage and the CPU. This intermediary handles the decompression process transparently, managing the transition from compressed to uncompressed state and caching decompressed data temporarily to minimize the performance impact on subsequent accesses.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of energy

If discontinuous memory mapping space is shrunk by releasing pages, then resource waste is avoided, but system complexity increases due to page fault handling

Engineering Contradiction:
Improveresource wasteVSAvoidpage fault handling complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The patent implements self-service mechanisms where the system automatically detects when memory pages are compressible and initiates compression and release operations without external intervention. The memory management unit autonomously monitors memory usage patterns, identifies compressible pages, and manages the compression-decompression cycle, reducing the need for manual memory management while handling the complexity internally.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent employs feedback mechanisms where the memory management unit continuously monitors memory access patterns and page usage statistics. Based on this feedback, the system dynamically adjusts which pages to compress and when to release them, creating a closed-loop control system that optimizes memory utilization while managing the complexity of page fault handling through adaptive decision-making.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20260037356A1Memory management method and module, chip, electronic device, and storage medium
Publication Date: 2026.02.05 AMLOGIC (SHANGHAI) CO LTD
  • US20260037356A1 patent drawing
  • US20260037356A1 patent drawing
  • US20260037356A1 patent drawing

AI summary

A memory management method and module, a chip, an electronic device, and a storage medium. The memory management method comprises: scanning memory pages to which virtual addresses of a discontinuous memory mapping space are mapped to acquire a compressible memory page as a first memory page; compressing memory data in the first memory page to acquire corresponding memory compressed data; storing the memory compressed data in a data storage module, the data storage module being located in memory space outside the discontinuous memory mapping space; after storing the memory compressed data in the data storage module, releasing the first memory page; and setting the corresponding virtual address as a page fault address. The memory utilization is improved.