Remote Memory Swapping via Cloud Controller Routing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In cloud server platforms, remote memory swapping leads to system slowdowns and increased power consumption due to the need to transmit memory page data between nodes and reserve storage space, complicating memory management.
Innovation Solution
A method where a local node determines the location of a memory page to be swapped out, queries a routing table for routing information, and sends this information to a cloud controller to forward the necessary data to the remote node for storage on a hard disk, eliminating the need for data transmission to the local node and local memory reservation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If memory page data is transmitted from remote node to local node for swap out operation, then the swap out operation can be completed, but system running speed slows down and power consumption increases
Solution Approach 1:
The patent extracts the memory page data directly from the remote node's memory without transmitting it to the local node. The remote node writes the memory page data directly to the local node's hard disk through coordinated control, eliminating the transmission step that causes system slowdown while ensuring the swap out operation is completed reliably.
2Reliability
If memory page data is transmitted from remote node to local node, then the swap out operation can be completed, but power consumption increases
Solution Approach 1:
The patent eliminates the energy-consuming data transmission process by extracting memory page data directly from remote memory and writing it to the local hard disk through coordinated control. This removes the unnecessary energy expenditure associated with transmitting memory page data over the network while ensuring the swap out operation completes successfully.
3Reliability
If storage space is reserved in local memory for received memory page data, then the swap out operation can be completed, but memory management becomes more complex and system speed decreases
Solution Approach 1:
The patent extracts memory page data directly to the hard disk without involving local memory storage. By eliminating the step of reserving and storing memory page data in local memory, the patent simplifies memory management operations and maintains system running speed while ensuring the swap out operation is completed reliably.
4Reliability
If storage space is reserved in local memory for received memory page data, then the swap out operation can be completed, but system running speed slows down
Solution Approach 1:
The patent extracts memory page data directly from remote memory to the local hard disk without involving local memory allocation and storage operations. This eliminates the time-consuming steps of reserving memory space and writing data to local memory, thereby maintaining system running speed while ensuring the swap out operation completes successfully.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
Embodiments of the present invention provide a remote memory swapping method, an apparatus, and a system, relate to the communications field and can improve a running speed of a system and reduce power consumption. The method includes: obtaining, by a local node, a base address of a memory page that needs to be dumped, and then querying, according to the base address of the memory page that needs to be dumped, a routing table to obtain routing information of the memory page that needs to be dumped, and sending the routing information of the memory page that needs to be dumped and dumping signaling to a cloud controller, so that the cloud controller forwards the routing information and the dumping signaling to a remote node in which the memory page that needs to be dumped is located, and further enables the remote node to dump, from memory of the remote node into a hard disk of the remote node according to the dumping signaling and the routing information, data in the memory page that needs to be dumped, or dump, from a hard disk of the remote node into memory of the remote node, data in the memory page that needs to be dumped.