Segmented Memory Address Mapping for Faster Virtual-to-Physical Lookup

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

As memory capacity increases, the number of levels in the page table of the radix tree structure increases, leading to prolonged processing times for memory management units to map virtual addresses to physical addresses, resulting in decreased efficiency.

Innovation Solution

A memory address mapping method that involves determining base address information from an address segment table and offset information from an address segment attribute table in parallel, reducing lookup depth and improving efficiency by using these tables separately for virtual address segments.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If the radix tree page table structure is used to map virtual addresses to physical addresses, then the mapping relationship can be stored and queried, but as memory capacity increases, the number of levels in the page table increases, leading to prolonged query time and decreased mapping efficiency

Engineering Contradiction:
Improvememory capacityVSAvoidaddress mapping time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent divides the virtual address into multiple segments (first virtual address segment and second virtual address segment) and uses separate tables (address segment table and address segment attribute table) to store and query different parts of the mapping relationship. This segmentation allows parallel querying of multiple table levels simultaneously, reducing the sequential lookup time that increases with memory capacity in traditional radix tree structures.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If the radix tree page table structure is used, then comprehensive address mapping can be achieved, but the sequential level-by-level query process becomes time-consuming as the number of levels increases

Engineering Contradiction:
Improveaddress mapping capabilityVSAvoidaddress mapping efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The address segment table stores mapping relationships for the first virtual address segment at multiple levels, while the address segment attribute table stores mapping relationships for the second virtual address segment. These tables can be queried in parallel, transforming the sequential level-by-level query into simultaneous operations, thereby improving address mapping efficiency while maintaining comprehensive mapping capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimensional approach by separating the address mapping into two independent dimensions: one dimension handled by the address segment table (first virtual address segment) and another by the address segment attribute table (second virtual address segment). This dimensional separation enables parallel processing of address translation tasks that were previously constrained to a single sequential path.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS20250298752A1Memory address mapping method, memory management unit, electronic device, and storage medium
Publication Date: 2025.09.25 T-HEAD (SHANGHAI) SEMICON CO LTD
  • US20250298752A1 patent drawing
  • US20250298752A1 patent drawing
  • US20250298752A1 patent drawing

AI summary

A memory address mapping method, a memory management unit, an electronic device, and a storage medium are provided. The method includes: receiving a virtual address from a current process; determining an address segment table and an address segment attribute table according to identification information of the current process; finding base address information from the address segment table according to a first virtual address segment, where the base address information indicates a base address of a target physical address space segment, and a physical address mapped to the virtual address is located in the target physical address space segment; finding offset information from the address segment attribute table according to a second virtual address segment, where the offset information indicates an offset of the physical address; and determining the physical address mapped to the virtual address according to the base address information and the offset information.