Memory extension device, operating method of memory extension device, and computer readable storage medium

By introducing transaction conversion modules and private protocol processing modules into memory expansion devices, protocol conversion in the transaction layer is realized, solving the problem of protocol conversion during memory expansion in cloud computing systems, reducing costs and simplifying system configuration.

CN118897710APending Publication Date: 2024-11-05ALIBABA (CHINA) CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310499884.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-05
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

In cloud computing systems, due to different communication protocols between hosts during memory expansion, it is difficult for the prior art to perform protocol conversion in the transaction layer, resulting in high memory expansion cost and increased system complexity.

Method used

Design a memory expansion device, including the first interface, the second interface, the transaction conversion module and the private protocol processing module, communicate with the local host through a consistent interconnection protocol, and convert the protocol in the transaction layer to ensure that the converted information complies with remote memory Extend the sub-protocol of the device, thereby achieving effective expansion of cross-host memory.

Benefits of technology

By directly performing protocol conversion in the transaction layer, the construction cost of the memory expansion system is reduced, the configuration process is simplified, and low-cost and efficient memory expansion is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897710A_ABST
    Figure CN118897710A_ABST
Patent Text Reader

Abstract

The invention 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 comprises the following steps: converting local information received from a local host into local transaction layer information according to a first sub-protocol of a consistency interconnection protocol; according to a second sub-protocol of the consistency interconnection protocol, converting the local transaction layer information into converted local transaction layer information, so that the converted local transaction layer information conforms 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.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a memory expansion device, an operating method of the memory expansion device, and a computer-readable storage medium for executing the operating method, and more specifically to a memory expansion device supporting transaction layer protocol conversion, an operating method of the memory expansion device supporting transaction layer protocol conversion, and a computer-readable storage medium for executing the operating method. Background Art

[0002] In a cloud computing system, the host allocates memory to different virtual machines. When the remaining memory size is less than the memory size required for a virtual machine to run, or when the memory size required for a virtual machine to run exceeds the total memory size of the host, through memory extension, the host can access and borrow memory from other hosts for the virtual machine to use, so as to meet the memory size requirements of the virtual machine.

[0003] When implementing memory expansion, the hosts are not directly connected to each other, but each host is coupled to a memory expansion device, and accesses the memory of other hosts through the connection between multiple memory expansion devices to implement memory expansion between multiple hosts. Since the protocol used by the host to access the memory of the memory expansion device is different from the communication protocol used by the memory expansion device to access the memory of the host, when executing memory expansion, the memory expansion device needs to perform protocol conversion between the two communication protocols.

[0004] Generally speaking, protocol conversion is performed in the data link layer. However, the existing hardware platform already includes the data link layer and the transaction layer. Through the user interface of the hardware platform, users can only obtain information about the transaction layer, but cannot obtain data flit about the data link layer to perform protocol conversion. Therefore, in order to effectively use the information that users can obtain from the hardware platform, how to perform protocol conversion in the transaction layer included in the hardware platform is an urgent problem to be solved. Summary of the invention

[0005] One of the purposes of the present application is to disclose a memory expansion device supporting transaction layer protocol conversion, an operating method of the memory expansion device, and a computer-readable storage medium for executing the operating method, so as to solve the above-mentioned problems.

[0006] An embodiment of the present application relates to a memory expansion device, characterized in that it includes: a first interface, a second interface, a transaction conversion module and a private protocol processing module. The first interface enables the memory expansion device to communicate with a local host through a consistent interconnection protocol, wherein the consistent interconnection protocol includes a first sub-protocol and a second sub-protocol, the local host accesses the memory expansion device according to the first sub-protocol, the memory expansion device converts local information received from the local host into local transaction layer information according to the first sub-protocol, and the memory expansion device accesses the local host according to the second sub-protocol; the second interface enables the memory expansion device to communicate with a remote memory expansion device; the transaction conversion module receives the local transaction layer information from the first interface, and in the transaction layer, according to the second sub-protocol, converts the local transaction layer information into converted local transaction layer information so that the converted local transaction layer information conforms to the second sub-protocol; and the private protocol processing module encapsulates the converted local transaction layer information received from the transaction conversion module into multiple local data packets, and transmits the multiple local data packets to the remote memory expansion device through the second interface.

[0007] Another embodiment of the present application relates to an operating method of a memory expansion device, characterized in that the method includes: converting local information received from a local host into local transaction layer information according to a first sub-protocol of a consistent interconnection protocol; converting the local transaction layer information into converted local transaction layer information according to a second sub-protocol of the consistent interconnection protocol, so that the converted local transaction layer information complies with the second sub-protocol; encapsulating the converted local transaction layer information into multiple local data packets; and transmitting the multiple local data packets to a remote memory expansion device.

[0008] Another embodiment of the present application relates to a computer-readable storage medium storing computer-executable instructions for executing the operating method of the memory expansion device as described above.

[0009] In the memory expansion device of the present application, the local transaction layer information obtained through the first interface can be directly used for protocol conversion in the transaction layer. Therefore, the memory expansion device of the present application supports protocol conversion in the transaction layer and can be adapted to the hardware that provides the transaction layer information, thereby reducing the cost of building the system required to achieve memory expansion. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] When read in conjunction with the accompanying drawings, aspects of the present disclosure are better understood from the following embodiments. It should be noted that, in accordance with standard practice in the industry, various structures are not drawn to scale. In fact, for clarity of discussion, the dimensions of various structures may be arbitrarily increased or reduced.

[0011] Figure 1 A schematic diagram of an embodiment of a communication system for implementing memory expansion in the present application.

[0012] Figure 2 A schematic diagram of an embodiment of a communication system for implementing memory expansion in the present application. DETAILED DESCRIPTION

[0013] The following disclosure provides many different embodiments or examples of different components for implementing the subject matter provided. Specific examples of components and arrangements are described below to simplify the disclosure. Of course, this type is only an example and is not intended to be restrictive. For example, in the following description, a first component is formed above or on a second component and may include an embodiment in which the first component and the second component are directly contacted through formation, and may also include an embodiment in which an additional component may be formed between the first component and the second component so that the first component and the second component may not be directly contacted. In addition, the disclosure may repeat reference numbers and / or letters in various examples. This repetition is for the purpose of simplicity and clarity and does not itself indicate the relationship between the various embodiments and / or configurations discussed.

[0014] Additionally, for ease of description, spatially relative terms, such as "below," "beneath," "below," "above," "above," "on," and the like, may be used herein to describe the relationship of one component or member to a remote component or member illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein should be interpreted similarly.

[0015] As used herein, terms such as "first," "second," and "third" describe various components, members, regions, layers, and / or sections, but such components, members, regions, layers, and / or sections should not be limited by such terms. Such terms can only be used to distinguish one component, member, region, layer, or section from another. Terms such as "first," "second," and "third" do not imply a sequence or order when used herein unless clearly indicated by the context.

[0016] The singular forms "a", "an", and "the" may also include the plural forms unless the context clearly indicates otherwise. The term "connected" along with its derivatives may be used herein to describe structural relationships between components. "Connected" may be used to describe that two or more components are in direct physical or electrical contact with each other. "Connected" may also be used to indicate that two or more components are in direct or indirect (with intervening components between them) physical or electrical contact with each other, and / or that the two or more components cooperate or interact with each other.

[0017] Figure 1FIG. 1 is a schematic diagram of an embodiment of a communication system 10 for implementing memory expansion in the present application. Figure 1 As shown, the communication system 10 includes a local host 100A, a memory expansion device 102A, a remote host 100B, and a remote memory expansion device 102B. The local host 100A and the remote host 100B are respectively coupled to the memory expansion device 102A and the remote memory expansion device 102B to communicate with the memory expansion device 102A and the remote memory expansion device 102B respectively. The memory expansion device 102A can communicate with the remote memory expansion device 102B according to a private communication protocol. Through the communication system 10, in addition to being able to access the local memory, the local host 100A can also access the remote memory of the remote host 100B through the memory expansion device 102A and the remote memory expansion device 102B.

[0018] When the local host 100A wants to access the remote memory of the remote host 100B, the local host 100A transmits a request mem_req to the memory expansion device 102A according to the communication protocol of the host accessing the memory of the memory expansion device (e.g., the CXL.mem protocol that provides the host processor with a function of accessing the memory of the peripheral device in a coherent cache manner). Since the communication protocol of the host accessing the memory of the memory expansion device is different from the communication protocol of the memory expansion device accessing the memory of the host (e.g., the CXL.cache protocol that provides the peripheral device with a function of accessing the memory of the host processor), after receiving the request mem_req from the local host 100A, the memory expansion device 102A converts the request mem_req into a request cache_req that enables the remote memory expansion device 102B to access the remote memory of the remote host 100B according to the communication protocol of the memory expansion device accessing the memory of the host, and transmits the request cache_req to the remote memory expansion device 102B. After the remote memory expansion device 102B transmits the request cache_req to the remote host 100B, the remote host 100B transmits the response cache_rsp to the remote memory expansion device 102B. After receiving the response cache_rsp from the remote host 100B, according to the communication protocol of the memory expansion device accessing the host's memory, the remote memory expansion device 102B converts the response cache_rsp into a response mem_rsp that enables the memory expansion device 102A to access the local host 100A, and transmits the response mem_rsp to the memory expansion device 102A. The memory expansion device 102A transmits the response mem_rsp to the local host 100A to complete the memory expansion process.

[0019] Figure 2 FIG. 2 is a schematic diagram of an embodiment of a communication system 20 for implementing memory expansion in the present application. Figure 2As shown, the communication system 20 includes a local host 100A, a memory expansion device 102A, a remote host 100B and a remote memory expansion device 102B. The memory expansion device 102A is coupled to the local host 100A for communicating with the local host 100A. The remote memory expansion device 102B is coupled to the remote host 100B for communicating with the remote host 100B. The local host 100A and the remote host 100B are coupled to the local memory and the remote memory respectively. The memory expansion device 102A communicates with the remote memory expansion device 102B according to a private communication protocol. In addition to being able to access the local memory, the local host 100A can also access the remote memory of the remote host 100B through the memory expansion device 102A and the remote memory expansion device 102B. That is to say, when the local host 100A needs to implement memory expansion through the communication system 20 (for example, the remaining unallocated local memory size is insufficient to allow the new virtual machine to run, and the memory of other hosts must be borrowed), the local host 100A is not directly connected to the remote host 100B, but accesses the remote memory of the remote host 100B through the memory expansion device 102A and the remote memory expansion device 102B.

[0020] The memory expansion device 102A includes a first interface 1020A, a second interface 1022A, a transaction processing module 1024A, and a proprietary protocol processing module 1026A. The remote memory expansion device 102B includes a first interface 1020B, a second interface 1022B, a transaction processing module 1024B, and a proprietary protocol processing module 1026B.

[0021] The first interface 1020A is used to enable the memory expansion device 102A to communicate with the local host 100A through the consistent interconnection protocol. The consistent interconnection protocol includes (for example, it can be) the CXL protocol, and the consistent interconnection protocol includes a first sub-protocol and a second sub-protocol. The first sub-protocol includes (for example, it can be) the CXL.mem sub-protocol of the CXL protocol. According to the first sub-protocol, the local host 100A accesses the memory expansion device 102A (or the remote host 100B accesses the remote memory expansion device 102B). The second sub-protocol includes (for example, it can be) the CXL.cache sub-protocol of the CXL protocol. According to the second sub-protocol, the memory expansion device 102A accesses the local host 100A (or the remote memory expansion device 102B accesses the remote host 100B). That is, the first sub-protocol according to which the local host 100A accesses the memory expansion device 102A is different from the second sub-protocol according to which the memory expansion device 102A accesses the local memory of the local host 100A. When the local host 100A needs to access the remote memory of the remote host 100B through the communication system 20 and sends a request (for example, Figure 1When a request mem_req is requested in the second sub-protocol, the request must be converted into a request (for example, Figure 1 Request cache_req in .

[0022] According to the first sub-protocol, the memory expansion device 102A converts the local information received from the local host 100A into local transaction layer information through the data physical layer, data link layer and transaction layer of the first interface 1020A in sequence. That is, the local information entering the memory expansion device 102A from the local host 100A will first pass through the first interface 1020A, and then the local information will be converted into local transaction layer information through the physical layer, data link layer and transaction layer of the first interface 1020A in sequence. In other words, in the memory expansion device 102A, the information that can be provided to the user is the local transaction layer information that has been converted through the transaction layer.

[0023] The second interface 1022A is used to enable the memory expansion device 102A to communicate with the remote memory expansion device 102B via the communication medium 104. The communication medium 104 can be an Ethernet or optical fiber interface, but is not limited thereto.

[0024] The transaction conversion module 1024A is used to receive local transaction layer information from the first interface 1020A, and in the transaction layer, according to the second sub-protocol, convert the local transaction layer information into converted local transaction layer information, so that the converted local transaction layer information can comply with the second sub-protocol according to which the remote memory expansion device 102B accesses the remote host 100B. That is, the transaction conversion module 1024A in the memory expansion device 102A is used to perform communication protocol conversion in memory expansion in the transaction layer. The local transaction layer information is generated by converting the local information in the first interface 1020A according to the first sub-protocol, but the local transaction layer information fails to comply with the second sub-protocol according to which the remote memory expansion device 102B accesses the remote host 100B. Therefore, the transaction conversion module 1024A converts the local transaction layer information into converted local transaction layer information in the transaction layer according to the second sub-protocol, and the converted converted local transaction layer information can comply with the second sub-protocol according to which the remote memory expansion device 102B accesses the remote host 100B, so as to complete the communication protocol conversion in memory expansion.

[0025] In some embodiments, the first interface 1020A may be a user interface associated with a consistent interconnect protocol intellectual property (CXLIP). Generally speaking, the communication protocol conversion of memory expansion is usually performed in the data connection layer. However, in practice, the information provided by the CXL IP to the user interface is transaction layer information, so that the communication system cannot perform communication protocol conversion at the data connection layer through the information provided by the user interface of the CXL IP. In the present invention, the transaction layer information provided by the CXL IP can be directly provided to the memory expansion device 102A through the first interface 1020A to perform protocol conversion in the transaction layer, so that the CXLIP can be directly adapted to the memory expansion device 102A through the first interface 1020A of the memory expansion device 102A. Therefore, since the transaction layer information provided by the CXL IP can be directly used, the memory expansion device 102A of the present invention has the advantages of low cost and easy configuration in the communication system for memory expansion.

[0026] In some embodiments, the local transaction layer information includes a local physical address associated with the local host 100A, and according to the second sub-protocol, the transaction conversion module 1024A converts the local physical address into a remote physical address of the remote host 102A. That is, the communication protocol conversion performed by the memory expansion device 102A also includes physical address conversion between the local host 100A and the remote host 102A. Since the address domains of the local host 100A and the remote host 102A may be different, the local physical address associated with the local host 100A included in the local transaction layer information can be converted into a remote physical address associated with the remote host 102A through the transaction conversion module 1024A.

[0027] In some embodiments, the local transaction layer information includes a plurality of communication operation instructions, and according to the second sub-protocol, the transaction conversion module 1024A converts the plurality of communication operation instructions into a plurality of converted communication operation instructions. That is, the communication protocol conversion performed by the memory expansion device 102A also includes the communication operation instruction conversion between the local host 100A and the remote host 102A. Since the local host 100A and the remote host 102A may have different definitions of communication operations, the operation instructions included in the local transaction layer information are converted into converted communication operation instructions through the transaction conversion module 1024A according to the second sub-protocol, so that the converted communication operation instructions conform to the second sub-protocol according to which the remote memory expansion device 102B accesses the remote host 102A. The plurality of communication operation instructions include at least one of a read instruction, a write instruction, and an invalidation instruction, but are not limited thereto.

[0028] In some embodiments, the local transaction layer information includes metadata, and the transaction conversion module 1024A converts the metadata into converted metadata according to the second sub-protocol. The metadata is the state of the relevant data in the cache of the local host 100A and the memory expansion device 102A at the time of the communication protocol conversion, and the states include modified, exclusive, shared, and invalid. Since the types of metadata supported by different sub-protocols may be different, the metadata included in the local transaction layer information is converted into the corresponding converted metadata through the transaction conversion module 1024A according to the second sub-protocol, so that the converted metadata conforms to the second sub-protocol according to which the remote memory expansion device 102B accesses the remote host 102A.

[0029] The private protocol processing module 1026A is used to encapsulate the converted local transaction layer information received from the transaction conversion module 1024A into a plurality of local data packets according to the private communication protocol, and transmit the plurality of local data packets to the remote memory expansion device 102B through the second interface 1022A. The private communication protocol is a communication protocol defined by the memory expansion device 102A and the remote memory expansion device 102B. According to the private communication protocol, the memory expansion device 102A and the remote memory expansion device 102B can perform communication operations.

[0030] It should be noted that other hosts other than the local host 100A (such as the remote host 100B) may access the local memory of the local host 100A due to the need for memory expansion. The above-mentioned communication operation between the local host 100A and the memory expansion device 102A can also be performed between the remote host 100B and the remote memory expansion device 102B.

[0031] In some embodiments, the private protocol processing module 1026A also receives multiple remote data packets from the remote memory expansion device 102B through the second interface 1022A, decomposes the multiple remote data packets into converted remote transaction layer information, and transmits the converted remote transaction layer information to the local host 100A through the first interface 1020A according to the second sub-protocol. In other words, in addition to generating multiple data packets to transmit to the remote memory expansion device 102B (or other memory expansion devices), the memory expansion device 102A can also receive multiple remote data packets from the remote memory expansion device 102B (or from other memory expansion devices) through the second interface 1022A. After receiving the multiple remote data packets, the memory expansion device 102A decomposes the multiple remote data packets into converted remote transaction layer information. The converted remote transaction layer information is generated by the transaction conversion module 1024B of the remote memory expansion device 102B converting the remote host information according to the second sub-protocol.

[0032] In some embodiments, in the data connection layer, the memory expansion device 102A converts the converted remote transaction layer information into data connection layer information, and transmits the data connection layer information to the local host 100A through the first interface 1020A. That is, in the memory expansion device 102A, the remote transaction layer information received by (e.g., CXL IP) through the first interface 1020A must be converted into data connection layer information before it can be received by the local host 100A. The memory expansion device 102A can convert the remote transaction layer information into data connection layer information according to the characteristics of CXLIP (e.g., quality of service). The data connection layer information can be a data flit, but is not limited thereto.

[0033] In some embodiments, the memory expansion device 102A and the remote memory expansion device 102B may be implemented by a Field Programmable Field Array (FPGA), but is not limited thereto.

[0034] In certain embodiments, the memory expansion device 102A and the remote memory expansion device 102B further include a memory, a processor, and a computer program stored on the memory and runnable on the processor. The processor and the memory may be connected via a bus or otherwise. The memory, as a non-transient computer-readable storage medium, may be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0035] The non-transitory software program and instructions required to implement the operating method of the memory expansion device of the above embodiment are stored in the memory. When the program and instructions are executed by the processor, the operating method of the memory expansion device of the above embodiment is executed.

[0036] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which is contained in the memory of the memory expansion device 102A or the remote memory expansion device 102B and is used to store computer-executable instructions. The computer-executable instructions are executed by a processor (e.g., the processor of the memory expansion device 102A or the remote memory expansion device 102B) or a controller, so that the processor or the controller can execute the memory expansion operation method performed by the memory expansion device 102A or the remote memory expansion device 102B in the above-mentioned embodiment.

[0037] Those skilled in the art will appreciate that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, electronically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0038] In summary, the memory expansion device, the operating method of the memory expansion device, and the computer-readable storage medium for executing the operating method of the present application can enable the communication protocol conversion in the memory expansion to be performed in the transaction layer. Since the transaction layer information received (for example, from the user interface of the CXL IP) can be directly used, through the memory expansion device, the operating method of the memory expansion device, and the computer-readable storage medium for executing the operating method of the present application, the construction of the memory expansion communication system has the advantages of low cost and easy configuration.

[0039] The foregoing summarizes the structures of several embodiments so that those skilled in the art can better understand the aspects of the present disclosure. Those skilled in the art will appreciate that they can easily use the present disclosure as a basis for designing or modifying other manufacturing processes and structures for carrying out the same purposes and / or achieving the same advantages of the embodiments described herein. Those skilled in the art will also recognize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that various changes, substitutions, and modifications may be made herein without departing from the spirit and scope of the present disclosure.

Claims

1. A method for operating a memory expansion device, comprising: converting local information received from a local host into local transaction layer information according to a first sub-protocol of the consistent interconnection protocol; According to the second sub-protocol of the consistent interconnection protocol, converting the local transaction layer information into converted local transaction layer information so that the converted local transaction layer information complies with the second sub-protocol; Encapsulating the converted local transaction layer information into a plurality of local data packets; as well as The plurality of local data packets are transmitted to the remote memory expansion device.

2. The method according to claim 1, characterized in that The coherent interconnect protocol includes a CXL protocol, the first sub-protocol includes a CXL.mem sub-protocol of the CXL protocol, and the second sub-protocol includes a CXL.cache sub-protocol of the CXL protocol.

3. The method according to claim 1, characterized in that The local transaction layer information includes a local physical address associated with the local host, and the method further includes: According to the second sub-protocol, the local physical address is converted into a remote physical address of a remote host.

4. The method according to claim 1, characterized in that The local transaction layer information includes a plurality of communication operation instructions, and the method further includes: The plurality of communication operation instructions are converted into a plurality of converted communication operation instructions according to the second sub-protocol.

5. The method according to claim 1, characterized in that: The local transaction layer information includes metadata, and the method further includes: The metadata is converted into converted metadata 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 expansion device, decomposing the plurality of remote data packets into converted remote transaction layer information, and transmitting the converted remote transaction layer information to the local host according to the second sub-protocol; as well as The converted remote transaction layer information is converted into data connection layer information, and the data connection layer information is transmitted to the local host.

7. A memory expansion device, characterized in that: include: a first interface, configured to enable the memory expansion device to communicate with the local host through a consistent interconnection protocol, wherein the consistent interconnection protocol includes a first sub-protocol and a second sub-protocol, the local host accesses the memory expansion device according to the first sub-protocol, and the memory expansion device converts local information received from the local host into local transaction layer information according to the first sub-protocol, and the memory expansion device accesses the local host according to the second sub-protocol; A second interface, used to enable the memory expansion device to communicate with a remote memory expansion device; a transaction conversion module, configured to receive the local transaction layer information from the first interface, and convert the local transaction layer information into converted local transaction layer information according to the second subprotocol, so that the converted local transaction layer information complies with the second subprotocol; as well as A private protocol processing module is used to encapsulate the converted local transaction layer information into multiple local data packets, And transmitting the multiple local data packets to the remote memory expansion device through the second interface.

8. The memory expansion device according to claim 7, characterized in that: The coherent interconnect protocol includes a CXL protocol, the first sub-protocol includes a CXL.mem sub-protocol of the CXL protocol, and the second sub-protocol includes a CXL.cache sub-protocol of the CXL protocol.

9. The memory expansion device according to claim 7, characterized in that: The local transaction layer information includes a local physical address associated with the local host, and according to the second sub-protocol, the transaction conversion module converts the local physical address into a remote physical address of a remote host.

10. The memory expansion device according to claim 7, characterized in that: The local transaction layer information includes a plurality of communication operation instructions, and according to the second sub-protocol, the transaction conversion module converts the plurality of communication operation instructions into a plurality of converted communication operation instructions.

11. The memory expansion device according to claim 7, characterized in that: The local transaction layer information includes metadata, and according to the second sub-protocol, the transaction conversion module converts the metadata into converted metadata.

12. According to the memory expansion device of claim 7, the private protocol processing module also receives a plurality of remote data packets from the remote memory expansion device through the second interface, decomposes the plurality of remote data packets into converted remote transaction layer information, and transmits the converted remote transaction layer information to the local host through the first interface according to the second sub-protocol.

13. The memory expansion device according to claim 12, characterized in that: The memory expansion device converts the converted remote transaction layer information into data connection layer information, and transmits the data connection layer information to the local host through the first interface.

14. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the operating method of the memory expansion device according to any one of claims 1 to 6.

Citation Information

Cited By

  • Memory management system and method, program product and storage medium

    CN119402566A

  • A memory management system, method, program product and storage medium

    CN119402566B

  • Cross-protocol interaction method, electronic device, readable medium and program product

    CN121367739A