Shared Memory Translation Table Registration Across Network Adapters
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The creation of multiple memory translation tables (MTTs) for shared memory regions (MRs) across multiple network adapters results in high storage resource overheads and inefficient dynamic memory management.
Innovation Solution
A shared MR is registered with a plurality of network adapters by recording a single memory address translation table (MTT) into the memory protection table (MPT) of each adapter, eliminating the need for separate MTTs for each adapter.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If multiple MTTs are created for each network adapter to enable access to shared memory regions, then each network adapter can independently access the memory region, but storage resource overheads increase significantly
Solution Approach 1:
The patent merges multiple MTTs into a single shared MTT that is common to all network adapters. Instead of creating separate MTTs for each network adapter, the system creates one MTT that all adapters share, thereby eliminating redundant memory structures while maintaining independent access capability for each adapter.
Solution Approach 2:
The single MTT is designed to serve multiple network adapters simultaneously, making it a universal structure that performs the translation function for all adapters. The MTT contains entries that can be accessed by any network adapter, allowing one structure to fulfill multiple functions that previously required separate structures.
2Manufacturing precision
If multiple MTTs are created for shared memory regions, then proper address translation can be performed for each network adapter, but memory usage increases due to redundant structures
Solution Approach 1:
The patent combines multiple address translation tables into a single unified MTT structure. This single MTT contains all necessary translation entries that any network adapter might need, eliminating the need for multiple separate tables while preserving accurate address translation functionality for all adapters.
3Ease of operation
If separate MTTs are maintained for each network adapter, then adapter-specific memory management is simplified, but registration and deregistration processes become more complex and time-consuming
Solution Approach 1:
The patent merges the registration and deregistration operations into a single process that affects all network adapters simultaneously. When a memory region is registered, a single MTT entry is created that serves all adapters; when deregistered, the same entry is removed for all adapters, eliminating the need for repetitive registration/deregistration operations for each adapter.
Data Source
AI summary
A computer device includes a processor; a memory connected to the processor, where the memory includes a first memory region; and a plurality of network adapters connected to the processor. The processor is configured to: when registering the first memory region with the plurality of network adapters, record a first memory address in a first memory address translation table (MTT) into a memory protection table (MPT) of each network adapter in the plurality of network adapters, so that each of the network adapters is capable of accessing the first memory region by using the first memory address translation table. The first memory address translation table is used to indicate a correspondence between a virtual address of the first memory region and a physical address of the first memory region.


