Memory management method, apparatus, and system
First Claim
1. A method comprising:
- sending, by a contributing node to a control center, a start physical address and a length of a remote memory provided by the contributing node;
receiving, by the contributing node, information for a first remote memory from the control center indicating that the contributing node has been selected by the control center to provide remote memory to a requesting node, wherein the selection is based on the start physical address of the remote memory, the length of the remote memory, and a length of memory required by the requesting node;
providing, by the contributing node, the first remote memory for use by the requesting node, wherein a length of the first remote memory is greater than or equal to the length of the memory required by the requesting node;
receiving, by the contributing node, a read or write instruction from the requesting node for reading or writing first data, respectively, wherein the instruction instructs the contributing node to access the first data and indicates a storage space for storing the first data in the first remote memory; and
accessing, by the contributing node, the first data according to the instruction and the indicated storage space.
1 Assignment
0 Petitions
Accused Products
Abstract
A memory management method implemented by a requesting node includes sending first indication information used for indicating a length of memory required by the requesting node and receiving second indication information used for indicating first remote memory provided to the requesting node by a target contributing node in at least one contributing node that can provide remote memory. The method also includes determining, from available virtual addresses, a first virtual address corresponding to the first remote memory, and sending a first data read/write instruction for the first data when first data whose pointer is within a range of the first virtual address needs to be read/written, where the first data read/write instruction includes third indication information, and the third indication information is used for indicating storage space, for storing the first data, in the first remote memory.
-
Citations
9 Claims
-
1. A method comprising:
-
sending, by a contributing node to a control center, a start physical address and a length of a remote memory provided by the contributing node; receiving, by the contributing node, information for a first remote memory from the control center indicating that the contributing node has been selected by the control center to provide remote memory to a requesting node, wherein the selection is based on the start physical address of the remote memory, the length of the remote memory, and a length of memory required by the requesting node; providing, by the contributing node, the first remote memory for use by the requesting node, wherein a length of the first remote memory is greater than or equal to the length of the memory required by the requesting node; receiving, by the contributing node, a read or write instruction from the requesting node for reading or writing first data, respectively, wherein the instruction instructs the contributing node to access the first data and indicates a storage space for storing the first data in the first remote memory; and accessing, by the contributing node, the first data according to the instruction and the indicated storage space. - View Dependent Claims (2, 3)
-
-
4. A contributing node in a memory management system, the contributing node comprising:
-
a memory comprising instructions; and one or more processors in communication with the memory, wherein the one or more processors execute the instructions to; send a start physical address and a length of a remote memory provided by the contributing node to a control center; receive information for a first remote memory from the control center indicating that the contributing node has been selected by the control center to provide remote memory to a requesting node, wherein the selection is based on the start physical address of the remote memory, the length of the remote memory, and a length of memory required by the requesting node; provide the first remote memory for use by the requesting node, wherein a length of the first remote memory is greater than or equal to the length of the memory required by the requesting node; and receive a first data read or write instruction from the requesting node for reading or writing first data, respectively, wherein the instruction instructs the contributing node to access the first data and indicates storage space, for storing the first data, in the first remote memory; and access the first data according to the instruction and the indicated storage space. - View Dependent Claims (5, 6)
-
-
7. A system, comprising:
-
a requesting node; a contributing node; and a control center; wherein the requesting node is configured to send a length of memory required by the requesting node to the control center; the contributing node is configured to send a start physical address and a length of a remote memory provided by the contributing node to the control center; the control center is configured to select the contributing node to provide a first remote memory to the requesting node according to the start physical address of the remote memory, the length of the remote memory, and a length of memory required by the requesting node, and send information for the first remote memory to the control center and the requesting node; the requesting node is further configured to send a read or write instruction for reading or writing first data, respectively, wherein the instruction instructs the contributing node to access the first data and indicates a storage space for storing the first data in the first remote memory; the contributing node is further configured to provide the first remote memory for use by the requesting node based on the information for the first remote memory received from the control center, wherein a length of the first remote memory is greater than or equal to the length of the memory required by the requesting node, and access the first data according to the read or write instruction and the storage space indicated in the read or write instruction.
-
-
8. A memory management method implemented by a control center, comprising:
-
receiving, from at least one contributing node, a start physical address and a length of remote memory provided by each of the at least one contributed node; receiving, from a requesting node, a length of memory required by the requesting node; selecting a target contributing node from the at least one contributing nodes and determine a first remote memory provided by the target contributing node based on the length of memory required by the requesting node, and the start physical address and the length of the remote memory of the target contributing node, wherein the length of the first remote memory is greater than or equal to the length of the memory required by the requesting node; and sending, to the requesting node and the target contributing node, information for the first remote memory to allow the requesting node to access the first remote memory provided by the target contributing node.
-
-
9. A control center in a memory management system, the control center comprising:
-
a memory comprising instructions; and one or more processors in communication with the memory, wherein the one or more processors execute the instructions to; receive, from at least one contributing node, a start physical address and a length of remote memory provided by each of the at least one contributed node; receive, from a requesting node, a length of memory required by the requesting node; select a target contributing node from the at least one contributing nodes and determine a first remote memory provided by the target contributing node based on the length of memory required by the requesting node, and the start physical address and the length of the remote memory of the target contributing node, wherein the length of the first remote memory is greater than or equal to the length of the memory required by the requesting node; and send, to the requesting node and the target contributing node, information for the first remote memory to allow the requesting node to access the first remote memory provided by the target contributing node.
-
Specification