Memory Management Method, Apparatus, and System
First Claim
1. A method, comprising:
- sending, by a transmitter of a requesting node in a memory management system, first indication information, wherein the first indication information indicates a length of memory required by the requesting node;
receiving, by a receiver of the requesting node, second indication information, wherein the second indication information indicates first remote memory provided to the requesting node by a target contributing node, the first remote memory is determined according to the first indication information, and a length of the first remote memory is greater than or equal to the length of the memory required by the requesting node;
determining, by the requesting node, from available virtual addresses, a first virtual address corresponding to the first remote memory; and
sending, by the requesting node, a first data read/write instruction for reading/writing first data, a pointer of the first data pointing to a virtual address within a range of the first virtual address, wherein the first data read/write instruction comprises third indication information, and the third indication information indicates storage space, for storing the first data, in the first remote memory, so that the target contributing node accesses the first data according to the third indication information.
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.
8 Citations
26 Claims
-
1. A method, comprising:
-
sending, by a transmitter of a requesting node in a memory management system, first indication information, wherein the first indication information indicates a length of memory required by the requesting node; receiving, by a receiver of the requesting node, second indication information, wherein the second indication information indicates first remote memory provided to the requesting node by a target contributing node, the first remote memory is determined according to the first indication information, and a length of the first remote memory is greater than or equal to the length of the memory required by the requesting node; determining, by the requesting node, from available virtual addresses, a first virtual address corresponding to the first remote memory; and sending, by the requesting node, a first data read/write instruction for reading/writing first data, a pointer of the first data pointing to a virtual address within a range of the first virtual address, wherein the first data read/write instruction comprises third indication information, and the third indication information indicates storage space, for storing the first data, in the first remote memory, so that the target contributing node accesses the first data according to the third indication information. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method, comprising:
-
determining, by a contributing node in a memory management system, a first remote memory, wherein the first remote memory is determined according to first indication information received from a requesting node, the first indication information indicates a length of memory required by the requesting node, and 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 a receiver of the contributing node, a first data read/write instruction for reading/writing first data sent by the requesting node, wherein the first data read/write instruction instructs the contributing node to access the first data, the first data read/write instruction comprises third indication information, and the third indication information 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 first data read/write instruction and the third indication information. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. An apparatus, comprising:
-
a transmitter, configured to enable a requesting node in a memory management system to send first indication information, wherein the first indication information indicates a length of memory required by the requesting node; a receiver, configured to receive second indication information, wherein the second indication information indicates first remote memory provided to the requesting node by a target contributing node, the first remote memory is determined according to the first indication information, and a length of the first remote memory is greater than or equal to the length of the memory required by the requesting node; a processor; and a computer-readable storage medium storing a program to be executed by the processor, the program including instructions for; determining, from available virtual addresses, a first virtual address corresponding to the first remote memory; and controlling the transmitter to send a first data read/write instruction for the first data whose pointer points to virtual address within a range of the first virtual address, wherein the first data read/write instruction comprises third indication information, and the third indication information indicates storage space, for storing the first data, in the first remote memory, so that the target contributing node accesses the first data according to the third indication information. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. An apparatus, comprising:
-
a processor; and a computer-readable storage medium storing a program to be executed by the processor, the program including instructions for enabling a contributing node in a memory management system to determine first remote memory, wherein the first remote memory is determined according to first indication information received from a requesting node, the first indication information indicates a length of memory required by the requesting node, and a length of the first remote memory is greater than or equal to the length of the memory required by the requesting node; and a receiver, configured to receive a first data read/write instruction for reading/writing first data sent by the requesting node, wherein the first data read/write instruction instructs the contributing node to access the first data, the first data read/write instruction comprises third indication information, and the third indication information indicates storage space, for storing the first data, in the first remote memory; wherein the program further includes instructions for accessing the first data according to the first data read/write instruction and the third indication information. - View Dependent Claims (20, 21, 22, 23, 24)
-
-
25. A system, comprising:
-
a requesting node; and a contributing node; wherein the requesting node is configured to; send, by a transmitter, first indication information, wherein the first indication information indicates a length of memory required by the requesting node; receive, by a receiver, second indication information, wherein the second indication information indicates first remote memory provided to the requesting node by a target contributing node, the first remote memory is determined according to the first indication information, and the length of the first remote memory is greater than or equal to the length of the memory required by the requesting node; determine, from available virtual addresses, a first virtual address corresponding to the first remote memory, and send a first data read/write instruction for reading/writing first data whose pointer points to virtual address within a range of the first virtual address, wherein the first data read/write instruction comprises third indication information, and the third indication information is used for indicating storage space, for storing the first data, in the first remote memory; and wherein the contributing node is configured to; determine the first remote memory, the first remote memory determined according to the first indication information received from the requesting node; receive the first data read/write instruction, for the first data, sent by the requesting node; and access the first data according to the first data read/write instruction and the third indication information. - View Dependent Claims (26)
-
Specification