Remote Memory Address Mapping for Direct CPU Access
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing systems fail to provide effective direct access to remote memory spaces, leading to performance losses due to disk overhead when virtual memory swapping is used, as remote memory technologies do not support CPU direct addressing.
Innovation Solution
A method and device for direct access of remote memory, involving obtaining start physical and virtual addresses, determining corresponding memory spaces, and sending data access requests with instruction information to access and manage remote memory spaces.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If virtual memory swapping is used to extend memory, then memory capacity is increased, but performance is degraded due to disk overhead
Solution Approach 1:
The patent introduces a remote direct memory access (RDMA) mechanism as an intermediary between the local processor and remote memory. This allows memory operations to bypass the CPU and disk subsystem, directly accessing remote memory through specialized hardware interfaces, thereby eliminating the performance penalty of traditional virtual memory swapping while maintaining extended memory capacity
Solution Approach 2:
The patent replaces the mechanical disk-based virtual memory swapping system with a network-based remote memory access system. By substituting disk I/O with network communication and using RDMA hardware to bypass CPU intervention, the system achieves both extended memory capacity and maintained performance by eliminating the slow mechanical disk subsystem from the memory access path
2Productivity
If remote memory is used as swap area, then performance is improved, but actual memory space is not increased
Solution Approach 1:
The patent makes remote memory universally accessible for multiple purposes beyond just swap space. By implementing a general-purpose remote memory access mechanism that allows the processor to directly address and operate on remote memory as if it were local memory, the system enables remote memory to serve as both swap area and extended addressable memory space, simultaneously achieving performance improvement and actual memory space expansion
3Speed
If CPU bypass network communication is used, then access speed is improved, but CPU cannot perform direct addressing access
Solution Approach 1:
The patent implements a dynamic address translation mechanism that adapts to different access patterns. The system maintains mapping relationships between virtual addresses and remote physical addresses, allowing the processor to dynamically translate addresses during execution. This enables direct addressing access to remote memory while maintaining the speed benefits of CPU bypass communication, as the address translation is handled efficiently through hardware assistance rather than software intervention
Data Source
AI summary
Provided are a data access method and a data access device. The method includes: obtaining a first start physical address to be accessed by a processor in a first device and a length of a physical address to be accessed; determining, according to a predetermined first mapping relationship and the first start physical address, a second start virtual address corresponding to a target memory space; and sending a data access request to a second device.


