Hardware Management Unit for Dynamic Virtual Memory Configuration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for expanding computer memory by using a part of the hard disk memory as system memory do not allow applications to access virtual memory in the same way as system memory, leading to differential access and potential memory exhaustion issues.
Innovation Solution
A memory configuration method that involves obtaining virtual memory by dividing a solid-state storage hard disk, establishing communication paths between a hardware management unit and the solid-state storage hard disk, measuring memory access pressure, and adjusting the size of the virtual memory accordingly to ensure non-differential access.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If a part of hard disk memory is used as system memory to expand computer memory, then the memory capacity is improved, but the access uniformity between system memory and virtual memory deteriorates
Solution Approach 1:
The patent introduces a hardware management unit as an intermediary component between the CPU and the virtual memory system. This unit includes a virtual memory management module that intercepts memory access requests, determines whether they are to system memory or virtual memory, and routes them appropriately. This intermediary mechanism enables uniform access to both memory types without requiring application programs to distinguish between them, thus resolving the access uniformity problem while maintaining expanded memory capacity.
2Quantity of substance
If the virtual memory size is increased to expand system memory, then the memory capacity is improved, but the system stability deteriorates due to memory exhaustion
Solution Approach 1:
The patent implements a feedback mechanism where the hardware management unit continuously monitors the access pressure on virtual memory. When the access pressure exceeds a predetermined threshold, indicating potential memory exhaustion, the system automatically adjusts the virtual memory size downward. This feedback loop ensures that the virtual memory size is dynamically optimized to prevent system crashes while maintaining maximum usable memory capacity.
Solution Approach 2:
The patent makes the virtual memory size dynamic rather than static. The hardware management unit adjusts the virtual memory size in real-time based on monitored access pressure and system conditions. This dynamic adjustment allows the system to adapt to changing memory demands, preventing both memory exhaustion and unnecessary memory constraints, thereby maintaining system stability while maximizing memory utilization.
Data Source
AI summary
Disclosed are a memory configuration method, apparatus, electronic device, and storage medium. The memory configuration method includes: obtaining virtual memory by dividing a solid-state storage hard disk; establishing communication paths between a hardware management unit and the solid-state storage hard disk, so that the virtual memory can be accessed through the hardware management unit, wherein the hardware management unit is configured to manage high-speed access protocol queues; measuring the memory access pressure of the hardware management unit; and adjusting the size of the virtual memory according to the memory access pressure.


