Memory extension device, operation method of memory extension device, and computer readable storage medium for executing operation method
This disclosure discloses a memory extension device, an operation method of the memory extension device, and a computer readable storage medium for executing the operation method. The method includes: converting local information received from a local host into local transaction layer information according to a first sub-protocol of a coherent interconnection protocol; converting the local transaction layer information into converted local transaction layer information according to a second sub-protocol of the coherent interconnection protocol, the converted local transaction layer information conforming to the second sub-protocol; packaging the converted local transaction layer information into a plurality of local data packets; and transmitting the plurality of local data packets to a remote memory extension device.
1 . A method for operating a memory extension device, comprising:
converting, through a first interface of the memory extension device, first information received from a local host into second information in a transaction layer according to a first sub-protocol of a coherent interconnection protocol;
converting, by a transaction conversion module, the second information into third information in the transaction layer according to a second sub-protocol of the coherent interconnection protocol, the third information conforming to the second sub-protocol;
generating, by a private protocol processing module, a plurality of data packets according to the third information; and
transmitting, by the private protocol processing module, the plurality of data packets to a remote memory extension device.
2 . The method according to claim 1 , wherein the coherent interconnection protocol comprises a CXL protocol, the first sub-protocol comprises a CXL.mem sub-protocol of the CXL protocol, and the second sub-protocol comprises a CXL.cache sub-protocol of the CXL protocol.
3 . The method according to claim 1 , wherein the second information comprises a local physical address associated with the local host; and the method further comprises:
converting the local physical address into a remote physical address of a remote host according to the second sub-protocol.
4 . The method according to claim 1 , wherein the second information comprises a plurality of communication operation instructions; and the method further comprises:
converting the plurality of communication operation instructions into a plurality of converted communication operation instructions according to the second sub-protocol.
5 . The method according to claim 1 , wherein the second information comprises meta data; and the method further comprises:
converting the meta data into converted meta data according to the second sub-protocol.
6 . The method according to claim 1 , further comprising:
receiving a plurality of remote data packets from the remote memory extension device, decomposing the plurality of remote data packets into fourth information, and transmitting the fourth information to the local host according to the second sub-protocol; and
converting the fourth information into fifth information in a data link layer, and transmitting the fifth information to the local host.
7 . A memory extension device, comprising:
a first interface configured to facilitate the memory extension device to communicate with a local host through a coherent interconnection protocol, the coherent interconnection protocol comprising a first sub-protocol and a second sub-protocol, wherein:
the local host is configured to use the first sub-protocol to access the memory extension device and the memory extension device is configured to convert first information received from the local host into second information in a transaction layer according to the first sub-protocol, and
the memory extension device is configured to access the local host according to the second sub-protocol;
a second interface configured to facilitate the memory extension device to communicate with a remote memory extension device;
a transaction conversion module configured to receive the second information from the first interface, and convert the second information into third information in the transaction layer according to the second sub-protocol, the third information conforming to the second sub-protocol; and
a private protocol processing module configured to generate a plurality of data packets according to the third information, and transmit the plurality of data packets to the remote memory extension device through the second interface.
8 . The memory extension device according to claim 7 , wherein the coherent interconnection protocol comprises a CXL protocol; the first sub-protocol comprises a CXL.mem sub-protocol of the CXL protocol; and the second sub-protocol comprises a CXL.cache sub-protocol of the CXL protocol.
9 . The memory extension device according to claim 7 , wherein the second information comprises a local physical address associated with the local host; and the transaction conversion module is configured to convert the local physical address into a remote physical address of a remote host according to the second sub-protocol.
10 . The memory extension device according to claim 7 , wherein the second information comprises a plurality of communication operation instructions; and
wherein the transaction conversion module is configured to convert the plurality of communication operation instructions into a plurality of converted communication operation instructions according to the second sub-protocol.
11 . The memory extension device according to claim 7 , wherein the second information comprises meta data; and
wherein the transaction conversion module is configured to convert the meta data into converted meta data according to the second sub-protocol.
12 . The memory extension device according to claim 7 , wherein the private protocol processing module is further configured to receive a plurality of remote data packets from the remote memory extension device through the second interface, decompose the plurality of remote data packets into fourth information, and transmit the fourth information to the local host according to the second sub-protocol through the first interface.
13 . The memory extension device according to claim 12 , wherein the memory extension device is configured to convert the fourth information into fifth information in a data link layer, and transmit the fifth information to the local host through the first interface.
14 . A non-transitory computer-readable storage medium, storing a set of instructions that are executable by one or more processors of a device to cause the device to perform operations comprising:
converting, through a first interface of the device, first information received from a local host into second information in a transaction layer according to a first sub-protocol of a coherent interconnection protocol;
converting, by a transaction conversion module, the second information into third information in the transaction layer according to a second sub-protocol of the coherent interconnection protocol, the third information conforming to the second sub-protocol;
generating, by a private protocol processing module, a plurality of data packets according to the third information; and
transmitting, by the private protocol processing module, the plurality of data packets to a remote memory extension device.
15 . The non-transitory computer-readable storage medium according to claim 14 , wherein the coherent interconnection protocol comprises a CXL protocol, the first sub-protocol comprises a CXL.mem sub-protocol of the CXL protocol, and the second sub-protocol comprises a CXL.cache sub-protocol of the CXL protocol.
16 . The non-transitory computer-readable storage medium according to claim 14 , wherein the second information comprises a local physical address associated with the local host; and the operations further comprise:
converting the local physical address into a remote physical address of a remote host according to the second sub-protocol.
17 . The non-transitory computer-readable storage medium according to claim 14 , wherein the second information comprises a plurality of communication operation instructions; and the operations further comprise:
converting the plurality of communication operation instructions into a plurality of converted communication operation instructions according to the second sub-protocol.
18 . The non-transitory computer-readable storage medium according to claim 14 , wherein the second information comprises meta data; and the operations further comprise:
converting the meta data into converted meta data according to the second sub-protocol.
19 . The non-transitory computer-readable storage medium according to claim 14 , the operations further comprising:
receiving a plurality of remote data packets from the remote memory extension device, decomposing the plurality of remote data packets into fourth information, and transmitting the fourth information to the local host according to the second sub-protocol; and
converting the fourth information into fifth information in a data link layer, and transmitting the fifth information to the local host.