Memory Page Policy Switching for Lower Access Latency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing memory access methods face inefficiencies in terms of latency and power consumption due to the use of static open or close page policies that do not adapt to the dynamic nature of memory access patterns.
Innovation Solution
A method for memory page access that determines a target page policy by considering both the physical address and page history information, allowing for flexible and dynamic adjustment of memory page configuration, thereby reducing latency and improving efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If static open or close page policies are used for memory access, then device complexity is reduced and ease of operation is improved, but memory access latency increases and access efficiency deteriorates
Solution Approach 1:
The patent implements dynamic page policy adjustment by introducing a page policy determination module that selects between open and close page policies based on real-time access patterns and page history information. The system transitions from static configuration to dynamic adaptation, where the page policy changes according to the current access state, thereby reducing memory access latency while maintaining operational simplicity through automated decision-making.
Solution Approach 2:
The system employs feedback mechanisms by monitoring page access history and using this information to dynamically adjust page policies. The page policy determination module continuously receives feedback from the memory access system about actual access patterns, and uses this feedback to optimize subsequent page policies, creating a closed-loop control system that automatically improves access efficiency without increasing operational complexity.
2Productivity
If static open or close page policies are used for memory access, then device complexity is reduced, but memory access efficiency and hit rates deteriorate
Solution Approach 1:
The patent segments the memory access control function into multiple independent modules: a page policy determination module that selects policies, a page history information storage module that records access patterns, and an access command execution module. This segmentation allows each module to perform its specific function efficiently, improving overall memory access productivity while managing device complexity through modular architecture.
Solution Approach 2:
The patent introduces a page policy determination module as an intermediary between the memory access system and the actual memory operations. This intermediary analyzes page history information and selects appropriate page policies, acting as a mediator that optimizes access efficiency without requiring complex direct control of memory operations. The intermediary simplifies the overall system by centralizing the decision-making logic in a dedicated component.
3Loss of time
If dynamic page policy adjustment based on access patterns is implemented, then memory access latency is reduced and efficiency is improved, but device complexity increases
Solution Approach 1:
The patent implements preliminary action by pre-establishing the page policy determination module and page history information storage structure before memory access operations begin. The system prepares the framework for dynamic policy adjustment in advance, including the infrastructure for tracking access patterns and the logic for policy selection. This preliminary setup enables rapid dynamic adjustment during operation without adding operational complexity, as the decision-making structure is already in place.
Data Source
Figure 1~2
Figure 3~4
Figure 5~7
AI summary
Embodiments of the present disclosure provide a method for memory page access and related devices. The method includes: acquiring a target access command in a command queue, where the target access command at least includes a target physical address corresponding to a target memory page, the command queue stores access commands to be executed, and the access commands to be executed include a physical address to be accessed corresponding to a memory page to be accessed; acquiring page history information corresponding to the target physical address in a page table; determining a first page policy according to the physical address to be accessed and the target physical address; determining a second page policy according to the page history information; and determining one page policy from the first page policy and the second page policy as a target page policy to be sent, to generate a corresponding memory access command based on the target page policy, thereby improving the efficiency of memory access.