Hybrid system capable of protocol conversion between CXL and nvlink and operation method thereof
The hybrid system with protocol conversion between CXL and NVLink addresses inefficiencies in resource utilization by enabling flexible interconnectivity and efficient accelerator and memory pool management, enhancing system performance in complex computing environments.
Patent Information
- Application Number
- US19/684554
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2026-05-14
- Filing Date
- 2026-05-21
- Publication Date
- 2026-11-26
AI Technical Summary
Existing interconnect technologies such as NVLink and CXL operate independently, leading to inefficiencies in resource utilization and increased system management complexity in complex computing environments, particularly in AI applications requiring large-scale computing resources and memory capacity.
A hybrid system with a hybrid switch capable of protocol conversion between CXL and NVLink, allowing for flexible interconnectivity by converting messages between CXL and NVLink protocols, forming an accelerator and memory pool efficiently.
The hybrid system enhances overall system performance by providing flexible interconnectivity and efficient resource utilization among heterogeneous computing devices, improving accelerator and memory pool management.
Smart Images

Figure US20260377341A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to Korean Patent Application No.10-2025-0066627 and 10-2026-0087175, filed with the Korean Ministry of Intellectual Property on May 22, 2025, and May 14, 2026, respectively, the entire contents of which are hereby incorporated by reference.TECHNICAL FIELD
[0002] The present disclosure relates to a hybrid system capable of protocol conversion between CXL (Compute Express Link) and NVLink and an operation method thereof. More specifically, the present disclosure relates to a hybrid system that interconnects a CXL protocol-based device and an NVLink protocol-based device and operates in an integrated manner by mutually converting messages between CXL and NVLink protocols and an operation method thereof.BACKGROUND ART
[0003] The performance of a computing system depends greatly on the performance of processing devices and memory devices and on the efficiency of data transfer therebetween. In particular, recent application technologies such as artificial intelligence (AI) simultaneously require large-scale computing resources and massive memory capacity, and thus the importance of interconnect technologies for efficiently connecting such devices is steadily increasing. Representative interconnect technologies supporting this need include NVLink and CXL (Compute Express Link).
[0004] NVLink is a protocol for connecting accelerators such as GPUs and is specialized for expanding bandwidth and reducing latency among accelerators, but NVLink has a limitation in that NVLink does not directly support memory expansion functionality. In other words, although NVLink is suitable for cooperative computation among accelerators, NVLink is limited in terms of memory pooling and efficient utilization of memory resources.
[0005] On the other hand, CXL is a technology extended based on the PCIe (Peripheral Component Interconnect Express) physical layer to provide cache coherency and can efficiently perform memory expansion and sharing. In particular, CXL can integrally manage various devices such as GPUs, accelerators, and memory expansion devices, and is advantageous for expanding the memory capacity required in modern AI applications.
[0006] In actual data center and cloud environments, it may frequently occur that CXL, which supports communication among various heterogeneous devices such as GPUs, accelerators, and memory expansion devices, and NVLink, which is used for scalable interconnection among accelerators, are used at the same time. In such a complex environment, if each protocol is operated independently of the other, inefficiency in resource utilization and increased system management complexity may result. Since NVLink and CXL are designed as independent protocols, there has been a problem that cannot be solved according to conventional technologies.
[0007] The present disclosure is intended to solve such problems and aims to improve overall system performance by providing a hybrid switching technology capable of processing both CXL and NVLink, thereby providing flexible interconnectivity among heterogeneous computing devices and efficiently forming an accelerator pool and a memory pool.DETAILED DESCRIPTIONTechnical Objective
[0008] An embodiment of the present disclosure is intended to provide a hybrid system capable of protocol conversion between CXL and NVLink and an operation method thereof.
[0009] In addition, an embodiment of the present disclosure is intended to provide a hybrid system that operates integrally by interconnecting a CXL protocol-based device and an NVLink protocol-based device, and an operation method thereof.
[0010] In addition, an embodiment of the present disclosure is intended to provide flexible interconnectivity between heterogeneous computing devices and improve overall system performance by efficiently forming an accelerator pool and a memory pool.
[0011] The objects of the present disclosure are not limited to the objects mentioned above, and other objects and advantages of the present disclosure not mentioned may be understood from the following description and more clearly understood from the embodiments of the present disclosure. Also, it will be readily understood that the objects and advantages of the present disclosure may be realized by means and combinations thereof indicated in the claims.Means for Solving Technical Objective
[0012] An embodiment of the present disclosure is intended to provide a hybrid system capable of protocol conversion between an NVLink domain and a CXL domain using a hybrid switch and an operation method thereof.
[0013] According to an embodiment of the present disclosure, a method of operating a hybrid system including at least one hybrid switch, at least one NVLink device and at least one CXL device and capable of protocol conversion between CXL and NVLink may include determining whether a first NVLink message received through a first port of a hybrid switch connected to an NVLink device is to be transmitted through a second port of the hybrid switch connected to a CXL device, when the first NVLink message is to be transmitted through the second port, converting the first NVLink message into a first CXL message, and transmitting the converted first CXL message through the second port, and the first CXL message may be generated as a non-cache-coherent CXL message type that does not ensure cache coherency.
[0014] In one embodiment, the method of operating the hybrid system may further include determining whether a second CXL message received through the second port is to be transmitted through the first port, when the second CXL message is to be transmitted through the first port, converting the second CXL message into a second NVLink message, and transmitting the converted second NVLink message through the first port.
[0015] In one embodiment, when a destination of the second CXL message is the NVLink device, the CXL device may generate the second CXL message as a non-cache-coherent CXL message type.
[0016] In one embodiment, when the second CXL message is a cache-coherent CXL message type requiring cache coherency, the method may further include dropping the second CXL message without transmitting the second CXL message through the first port.
[0017] In one embodiment, converting the first NVLink message into the first CXL message may include one or more of, when the first NVLink message is a request message, generating a tag for identifying an inter-protocol transaction with respect to the first NVLink message and storing the tag in a mapping table, and when the first NVLink message is a response message, associating the response message with a corresponding request message by referring to mapping information stored in the mapping table.
[0018] In one embodiment, converting the second CXL message into the second NVLink message may include one or more of, when the second CXL message is a request message, generating a tag for identifying an inter-protocol transaction with respect to the second CXL message and storing the tag in a mapping table, and when the second CXL message is a response message, associating the response message with a corresponding request message by referring to mapping information stored in the mapping table.
[0019] In one embodiment, when the converted first CXL message is transmitted using a CXL.mem channel, the converted first CXL message may include a non-allocating read request that does not perform caching or an immediate write request that directly writes to memory.
[0020] In one embodiment, when the converted first CXL message is transmitted using a CXL.cache channel, the converted first CXL message may include a RdCur request that does not cause tracking of a cacheline or a WrCur request that overwrites an entire cacheline without preserving existing data.
[0021] In one embodiment, the method may further include configuring a system view from a CXL perspective such that the CXL device can recognize the at least one NVLink device as at least one virtual CXL device, and configuring a system view from an NVLink perspective such that the NVLink device can recognize the at least one CXL device as at least one virtual NVLink device.
[0022] In one embodiment, the virtual CXL device may include at least one of a virtual CXL host, a virtual CXL Type 1 device, a virtual CXL Type 2 device, or a virtual CXL Type 3 device.
[0023] In one embodiment, the method may further include configuring an address space accessible by both the NVLink device and the CXL device based on the system view from the CXL perspective or the system view from the NVLink perspective.
[0024] In one embodiment, configuring the address space accessible by both the NVLink device and the CXL device based on the system view from the CXL perspective or the system view from the NVLink perspective may include comparing a size of an NVLink address space and a size of a CXL address space, and configuring an address region to be mutually exposed to the NVLink device and the CXL device based on a result of the comparison.
[0025] In one embodiment, configuring the address region to be mutually exposed to the NVLink device and the CXL device based on the result of the comparison may include one or more of, when the size of the NVLink address space is larger than the size of the CXL address space, configuring the CXL device to preferentially view a partial region of the address space of the NVLink device, and when the size of the CXL address space is larger than the size of the NVLink address space, configuring the NVLink device to preferentially view a partial region of the address space of the CXL device.
[0026] In one embodiment, configuring the address space accessible by both the NVLink device and the CXL device based on the system view from the CXL perspective may include configuring a first CXL address space corresponding to the virtual CXL device in a first NVLink address space corresponding to the NVLink device connected to the hybrid switch, and mapping the first NVLink address space and the first CXL address space.
[0027] In one embodiment, configuring the address space accessible by both the NVLink device and the CXL device based on the system view from the NVLink perspective may include configuring a second NVLink address space corresponding to the virtual NVLink device in a second CXL address space corresponding to the CXL device connected to the hybrid switch, and mapping the second CXL address space and the second NVLink address space.
[0028] In one embodiment, when the NVLink device is recognized as a virtual CXL host, a unique host physical address (HPA) for the virtual CXL host may be generated, and an independent virtual hierarchy may be formed based on the unique HPA.
[0029] In one embodiment, the virtual CXL host connected through the hybrid switch and the CXL device may be configured to share an HPA space.
[0030] A hybrid system capable of protocol conversion between CXL and NVLink according to an embodiment of the present disclosure includes at least one hybrid switch, at least one NVLink device and at least one CXL device, and the hybrid switch includes at least one first port configured to be connected to an NVLink device and at least one second port configured to be connected to a CXL device, determines whether a first NVLink message received through the at least one first port is to be transmitted through the second port, when the first NVLink message is to be transmitted through the at least one second port, converts the first NVLink message into a first CXL message and transmits the first CXL message through the at least one second port, determines whether a second CXL message received through the at least one second port is to be transmitted through the at least one first port, when the second CXL message is to be transmitted through the at least one first port, converts the second CXL message into a second NVLink message and transmits the second NVLink message through the at least one first port, and the first CXL message may be generated as a non-cache-coherent CXL message type that does not ensure cache coherency.
[0031] In one embodiment, when a destination of the second CXL message is the NVLink device, the CXL device may be configured to generate the second CXL message as a non-cache-coherent CXL message type.
[0032] In one embodiment, when the second CXL message is a cache-coherent CXL message type requiring cache coherency, the hybrid switch is configured to drop the second CXL message without transmitting the second CXL message through the at least one first port.
[0033] In one embodiment, the hybrid system may further include tag generation logic, and when the first NVLink message or the second CXL message is a request message, the tag generation logic may generate a tag for identifying an inter-protocol transaction with respect to the first NVLink message or the second CXL message and store the tag in a mapping table, and when the first NVLink message or the second CXL message is a response message, the tag generation logic may associate the response message with a corresponding request message by referring to mapping information stored in the mapping table.
[0034] In one embodiment, when the converted first CXL message is transmitted using a CXL.mem channel, the converted first CXL message may include a non-allocating read request that does not perform caching or an immediate write request that directly writes to memory.
[0035] In one embodiment, when the converted first CXL message is transmitted using a CXL.cache channel, the converted first CXL message may include a RdCur request that does not cause tracking of a cacheline or a WrCur request that overwrites an entire cacheline without preserving existing data.
[0036] In one embodiment, the hybrid system may configure a system view from a CXL perspective such that the CXL device can recognize the at least one NVLink device as at least one virtual CXL device, and configure a system view from an NVLink perspective such that the NVLink device can recognize the at least one CXL device as at least one virtual NVLink device, and the virtual CXL device may include at least one of a virtual CXL host, a virtual CXL Type 1 device, a virtual CXL Type 2 device, or a virtual CXL Type 3 device.
[0037] In one embodiment, the hybrid system may further include an address space accessible by both the NVLink device and the CXL device, and the address space accessible by both the NVLink device and the CXL device may be configured based on the system view from the CXL perspective or the system view from the NVLink perspective, and an address region to be mutually exposed to the NVLink device and the CXL device may be configured according to a size of an NVLink address space and a size of a CXL address space.
[0038] In one embodiment, when the NVLink device is recognized as a virtual CXL host, a unique host physical address (HPA) for the virtual CXL host may be generated, and an independent virtual hierarchy may be formed based on the unique HPA.
[0039] An embodiment of the present disclosure includes a program stored in a recording medium to execute a method according to an embodiment of the present disclosure on a computer.
[0040] An embodiment of the present disclosure includes a computer-readable recording medium recording a program for executing a method according to an embodiment of the present disclosure on a computer.
[0041] An embodiment of the present disclosure includes a computer-readable recording medium recording a database used in an embodiment of the present disclosure.Advantageous Effect
[0042] According to an embodiment of the present disclosure, a hybrid system that operates integrally by interconnecting a CXL protocol-based device and an NVLink protocol-based device may be provided.
[0043] In addition, according to an embodiment of the present disclosure, a method of operating a hybrid system having a protocol conversion function between CXL and NVLink may be provided.
[0044] In addition, according to an embodiment of the present disclosure, flexible interconnectivity between heterogeneous computing devices may be provided, and an accelerator pool and a memory pool may be efficiently formed to improve overall system performance.
[0045] Specific effects of the present disclosure in addition to the above-mentioned contents are described together while explaining specific details for implementing the present disclosure.BRIEF DESCRIPTION OF DRAWINGS
[0046] FIG. 1 is a diagram illustrating a hybrid system that operates by integrating a CXL protocol-based device and an NVLink protocol-based device according to an embodiment of the present disclosure.
[0047] FIGS. 2A and 2B are flowcharts for illustrating a method of operating a hybrid system according to an embodiment of the present disclosure.
[0048] FIGS. 3A and 3B are diagrams for illustrating a manner of generating an NVLink system view in a hybrid system according to an embodiment of the present disclosure.
[0049] FIGS. 4A and 4B are diagrams for illustrating a manner of generating a CXL system view in a hybrid system according to an embodiment of the present disclosure.
[0050] FIG. 5 is a flowchart for illustrating a method of configuring an address space in a hybrid system according to an embodiment of the present disclosure.DETAILED DESCRIPTION OF THE INVENTION
[0051] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings to clarify the technical spirit of the present disclosure. In describing the present disclosure, when it is determined that detailed descriptions of related known functions or configurations may unnecessarily obscure the gist of the present disclosure, the detailed description thereof will be omitted. Components having substantially the same functional configuration among the drawings are assigned the same reference numerals and symbols as much as possible even if they are shown in different drawings. For convenience of explanation, devices and methods are described together when necessary. Each operation of the present disclosure does not necessarily have to be performed in the described order and may be performed in parallel, selectively, or individually.
[0052] The terms used in the embodiments of the present disclosure were selected from general terms that are currently widely used while considering the functions of the present disclosure, but these may vary according to the intention or precedent of a person skilled in the art, the emergence of new technologies, and the like. Also, in certain cases, there are terms arbitrarily selected by the applicant, and in such cases, the meaning thereof will be described in detail in the description of the corresponding embodiment. Therefore, the terms used in this specification should be defined based on the meaning of the term and the overall contents of the present disclosure, rather than the simple name of the term.
[0053] Throughout the present disclosure, singular expressions may include plural expressions unless the context clearly dictates otherwise. Terms such as "comprise" or "have" are intended to designate the presence of features, numbers, steps, operations, components, parts, or combinations thereof, and should be understood not to preclude the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof. That is, throughout the present disclosure, when a part is said to "comprise" a certain component, this means that it may further include other components rather than excluding other components, unless specifically stated to the contrary.
[0054] Expressions such as "at least one of" modify the entire list of components and do not modify individual components of the list. For example, "at least one of A, B, and C" and "at least one of A, B, or C" refer to only A, only B, only C, both A and B, both B and C, both A and C, all of A, B, and C, or combinations thereof.
[0055] Terms including ordinal numbers such as first and second may be used to describe various components, but the components are not limited by the terms. The terms are used only for the purpose of distinguishing one component from another component. For example, a first component may be named a second component without departing from the scope of the present disclosure, and similarly, a second component may also be named a first component.
[0056] Also, terms such as "unit" and "module" described in the present disclosure mean a unit that processes at least one function or operation, which may be implemented by hardware or software or a combination of hardware and software.
[0057] Throughout the present disclosure, when a part is "connected" to another part, this includes not only cases where it is "directly connected" but also cases where it is "electrically connected" with another element interposed therebetween. Also, when a part is said to "comprise" a certain component, this means that it may further include other components rather than excluding other components, unless specifically stated to the contrary.
[0058] The expression "configured to" used throughout the present disclosure may be used interchangeably with, for example, "suitable for," "having the capacity to," "designed to," "adapted to," "made to," or "capable of" depending on the situation. The term "configured to" may not necessarily mean only "specifically designed to" in terms of hardware. Instead, in some situations, the expression "a system configured to" may mean that the system is "capable of" together with other devices or parts. For example, the phrase "a processor configured to perform A, B, and C" may mean a dedicated processor (e.g., an embedded processor) for performing the corresponding operations, or a general-purpose processor (e.g., a CPU or application processor) capable of performing the corresponding operations by executing one or more software programs stored in a memory.
[0059] The present disclosure relates to a hybrid system capable of protocol conversion between CXL (Compute Express Link) and NVLink and an operation method thereof. More specifically, the present disclosure relates to a hybrid system that interconnects a CXL protocol-based device and NVLink protocol-based devices and operates in an integrated manner by mutually converting messages between CXL and NVLink protocols and an operation method thereof.
[0060] FIG. 1 is a diagram illustrating a hybrid system that operates by integrating a CXL protocol-based device and an NVLink protocol-based device according to an embodiment of the present disclosure.
[0061] Referring to FIG. 1, a hybrid system according to an embodiment of the present disclosure may include at least one hybrid switch 100, at least one NVLink device (for example, an NVLink accelerator 35) and at least one CXL device (for example, a CXL host 45 or a CXL EP 47), and may interconnect an NVLink domain 10 configured with NVLink protocol-based devices and a CXL domain 20 configured with CXL protocol-based devices by using the hybrid switch 100 so that the NVLink domain 10 and the CXL domain 20 operate in an integrated manner. For example, the NVLink protocol-based devices may include an NVLink switch 17 and an NVLink device, and one or more NVLink switches 17 may be connected to configure an NVLink fabric 15. In addition, the CXL protocol-based devices may include a CXL switch 27 and a CXL device, and one or more CXL switches 27 may be connected to configure a CXL fabric 25. Here, the CXL fabric 25 may include at least one CXL host port connected to the CXL host 45 according to requirements of the CXL standard.
[0062] In one embodiment, the CXL switch 27 may be freely connected to various components of a CXL system such as the CXL host 45, the CXL EP 47 and another CXL switch 27. Specifically, the CXL EP may include at least one of a CXL Type 1 device, a CXL Type 2 device, a CXL Type 3 device, or a PCIe device.
[0063] Referring to an embodiment shown in FIG. 1, the NVLink domain 10 may be configured with one or more NVLink accelerators 35 connected to one or more NVLink fabrics 15, and the CXL domain 20 may be configured with one or more CXL hosts 45 connected to one or more CXL fabrics 25 and one or more CXL EPs 47 connected to the CXL fabric 25.
[0064] In one embodiment, the NVLink fabric 15 is configured with one or more NVLink switches 17, and the CXL fabric 25 is configured with one or more CXL switches 27, and the hybrid switch 100 connecting an NVLink device and a CXL device can perform both functions of an NVLink switch and a CXL switch, and thus the hybrid switch 100 may be included in both the NVLink fabric 15 and the CXL fabric 25. In one embodiment, when the NVLink switch 17 is not present in the NVLink domain 10, the NVLink fabric 15 may be configured only with the hybrid switch 100, and even when the CXL switch 27 is not present in the CXL domain 20, the CXL fabric 25 may be configured only with the hybrid switch 100. That is, when an NVLink device or a CXL device is directly connected to the hybrid switch 100, the NVLink fabric 15 or the CXL fabric 25 may be configured only with the hybrid switch 100.
[0065] In one embodiment, the hybrid switch 100 may be connected to an NVLink protocol-based device present in the NVLink domain 10 and a CXL protocol-based device present in the CXL domain 20 and may operate to transmit and receive data between the NVLink domain 10 and the CXL domain 20 by mutually converting a message according to a CXL protocol (or a CXL message) and a message according to an NVLink protocol (or an NVLink message). For example, the hybrid switch 100 may convert a CXL message (or a CXL flit) received from the CXL domain 20 into an NVLink message (or an NVLink packet) and transmit the NVLink message to the NVLink domain 10, or may convert an NVLink message received from the NVLink domain 10 into a CXL message and transmit the CXL message to the CXL domain 20. Message conversion between CXL and NVLink may mutually convert messages according to a structure of a message (or flit, packet, unit) defined in each of the CXL and NVLink protocols, and a format of a destination address included in the message may also be converted according to a structure defined in each protocol.
[0066] In one embodiment, in order for a first device belonging to the NVLink domain 10 to transmit a message to a second device belonging to the CXL domain 20, the first device belonging to the NVLink domain 10 should recognize the second device belonging to the CXL domain 20 as a device defined in the NVLink protocol connected through the hybrid switch 100. Conversely, in order for the second device belonging to the CXL domain 20 to transmit a message to the first device belonging to the NVLink domain 10 through the hybrid switch 100, the second device belonging to the CXL domain 20 should recognize the first device belonging to the NVLink domain 10 as a device defined in the CXL protocol connected through the hybrid switch 100. To this end, in discovery and initialization processes of the NVLink protocol and the CXL protocol, a system view from each protocol perspective may be generated so that devices respectively belonging to the NVLink domain 10 and the CXL domain 20 recognize devices belonging to another domain as devices defined in their own protocols connected through the hybrid switch 100.
[0067] In one embodiment, the system view from each protocol perspective may reflect a domain according to the corresponding protocol as it is, and may reflect a domain according to another protocol by conversion and replacement according to a predetermined rule. For example, in a system view from an NVLink protocol perspective (or an NVLink system view), the NVLink domain 10 may be reflected as it is, and devices and connections included in the CXL domain 20 may be converted and replaced according to a predetermined rule, thereby defining the system view from the NVLink perspective for the entire domain. In addition, in a system view from a CXL perspective (or a CXL system view), the CXL domain 20 may be reflected as it is, and devices and connections included in the NVLink domain 10 may be converted and replaced according to a predetermined rule, thereby defining the system view from the CXL protocol perspective for the entire domain.
[0068] In a hybrid system according to an embodiment of the present disclosure, in a discovery and initialization process of the CXL protocol, a first device belonging to the NVLink domain 10 connected to the hybrid switch 100 may be recognized as a device defined in the CXL protocol according to the CXL system view, and when a first message having the first device belonging to the NVLink domain 10 as a destination is received from the CXL domain 20, the first message may be converted into a message according to the NVLink protocol and delivered to the first device belonging to the NVLink domain 10.
[0069] In a hybrid system according to an embodiment of the present disclosure, in a discovery and initialization process of the NVLink protocol, a second device belonging to the CXL domain 20 connected to the hybrid switch 100 may be recognized as a device defined in the NVLink protocol according to the NVLink system view, and when a second message having the second device belonging to the CXL domain 20 as a destination is received from the NVLink domain 10, the second message may be converted into a message according to the CXL protocol and delivered to the second device belonging to the CXL domain 20.
[0070] FIGS. 2A and 2B are flowcharts for illustrating a method of operating a hybrid system according to an embodiment of the present disclosure.
[0071] A hybrid system according to an embodiment of the present disclosure may convert an NVLink message sent from an NVLink device into a CXL message and deliver the CXL message to a CXL device, and may convert a CXL message sent from a CXL device into an NVLink message and deliver the NVLink message to an NVLink device. In one embodiment, the hybrid system includes a hybrid switch connected to the NVLink device and the CXL device, and the hybrid switch may operate to transmit and receive data between the NVLink device and the CXL device by mutually converting messages according to a CXL protocol and an NVLink protocol.
[0072] Referring to FIG. 2A, a method of delivering an NVLink message to a CXL device according to an embodiment of the present disclosure may include determining whether the NVLink message is to be delivered to the CXL device (S130), converting the NVLink message into a CXL message (S150), and transmitting the converted CXL message through a port connected to the CXL device (S170).
[0073] In step S130, the hybrid switch of the hybrid system according to an embodiment of the present disclosure may determine whether the NVLink message is to be delivered to the CXL device. In one embodiment, the hybrid switch may determine whether a destination of a first NVLink message received through a first port connected to the NVLink device is the CXL device and may determine whether the first NVLink message is to be transmitted through a second port of the hybrid switch connected to the CXL device.
[0074] In one embodiment, when the first NVLink message is to be transmitted through the second port of the hybrid switch connected to the CXL device, the hybrid switch may convert the first NVLink message into a first CXL message (S150).
[0075] In step S150, the hybrid switch may convert the first NVLink message into a first CXL message of a non-cache-coherent CXL message type that does not ensure cache coherency. For example, the non-cache-coherent CXL message type may include a non-allocating read request that does not perform caching, an immediate write request that directly writes to memory, a RdCur request that does not cause tracking of a cacheline, and a WrCur request that overwrites an entire cacheline without preserving existing data.
[0076] In one embodiment, step S150 may include one or more of, when the first NVLink message is a request message, generating a tag for identifying an inter-protocol transaction with respect to the first NVLink message and storing the tag in a mapping table, and when the first NVLink message is a response message, associating the response message with a corresponding request message by referring to mapping information stored in the mapping table.
[0077] In step S170, the hybrid switch may transmit the converted first CXL message through the second port connected to the CXL device.
[0078] In one embodiment, the hybrid system may transmit the converted first CXL message through the second port connected to the CXL device by using a CXL.mem channel, a CXL.cache channel or a CXL.io channel.
[0079] In one embodiment, when the converted first CXL message is transmitted using the CXL.mem channel, a type of the converted first CXL message may include a non-allocating read or an immediate write. For example, the non-allocating read may be implemented as a message in the form of M2S Req MemRd [MS0, I, SnpCur], where values in brackets respectively represent MetaField, MetaValue and SnpType fields of the CXL message. In addition, the immediate write is a write request ensuring that data is directly stored in memory without passing through a cache and may be implemented as, for example, a message in the form of M2S RwD MemWr [MS0, I, SnpInv].
[0080] In one embodiment, when the converted first CXL message is transmitted using the CXL.cache channel, the type of the converted first CXL message may include RdCur or WrCur.
[0081] In one embodiment, since the hybrid system uses only non-cache-coherent CXL message types that do not ensure cache coherency, an ordering rule does not applied, and therefore no ordering rule violation occurs. For example, in the CXL.mem channel, a message type requiring compliance with an ordering rule is limited to a Non-Data Response (NDR) message in an S2M (Subordinate-to-Master) direction, and in particular, there is an ordering rule applied when a Type 2 or Type 3 device operates as an HDM-DB (Host-managed Device Memory –Device Coherent using Back-Invalidate Snoop). According to the ordering rule, among S2M NDR messages, a BIConflictAck message is prescribed not to be able to pass a Cmp* message that is an S2M NDR message previously transmitted for the same memory address. However, the hybrid switch according to an embodiment of the present disclosure is limited to using only non-cache-coherent CXL message types that do not ensure cache coherency and uses only non-coherent messages such as a non-allocating read and an immediate write even when using the CXL.mem channel. In such a configuration, a BISnp message is not generated, and accordingly, a BIConflictAck message is also not generated. Therefore, a situation in which the ordering rule required in the CXL.mem channel is applied does not occur, and thus a possibility of an ordering rule violation is eliminated.
[0082] In addition, message types requiring ordering in the CXL.cache channel are a request message and a response message in a Host-to-Device (H2D) direction, and in particular, among H2D Req messages, a Snp* (snoop) message has an ordering constraint of appropriately pushing a corresponding GO* message in order. However, in the hybrid system according to the present disclosure, even when the CXL.cache channel is used, use is limited to a non-cache-coherent CXL message type that does not ensure cache coherency, for example, a message such as RdCur or WrCur. Since such a message does not involve a snoop operation, a Snp* message does not occur, and accordingly, transmission of a GO* message is also not required. Therefore, a situation in which the ordering rule required in the CXL.cache channel is applied does not occur, and thus a possibility of an ordering rule violation is eliminated.
[0083] Referring to FIG. 2B, a method of delivering a CXL message to an NVLink device according to an embodiment of the present disclosure may include determining whether the CXL message is to be delivered to the NVLink device (S210), determining whether the CXL message ensures cache coherency (S230), converting the CXL message into an NVLink message (S250), and transmitting the converted NVLink message through a port connected to the NVLink device (S270).
[0084] In step S210, the hybrid switch of the hybrid system according to an embodiment of the present disclosure may determine whether the CXL message is to be delivered to the NVLink device. In one embodiment, the hybrid switch may determine whether a destination of a second CXL message received through a second port connected to the CXL device is the NVLink device and may determine whether the second CXL message is to be transmitted through the first port of the hybrid switch connected to the NVLink device.
[0085] In step S230, the hybrid switch of the hybrid system may determine whether the second CXL message is a non-cache-coherent CXL message type that does not ensure cache coherency. When the second CXL message is a cache-coherent CXL message type that ensures cache coherency, the hybrid switch may drop the second CXL message without transmitting the second CXL message through the first port (S240). When the second CXL message is a non-cache-coherent CXL message type that does not ensure cache coherency, the hybrid switch may convert the second CXL message into a second NVLink message (S250) and transmit the converted second NVLink message through the first port connected to the NVLink device (S270).
[0086] In one embodiment, when the second CXL message that may be used in the hybrid system is limited in advance to a non-cache-coherent CXL message type that does not ensure cache coherency, step S230 may be omitted. For example, when a destination of the second CXL message is the NVLink device, the CXL device of the hybrid system may generate the second CXL message as a non-cache-coherent CXL message type that does not ensure cache coherency.
[0087] In one embodiment, step S250 may include one or more of, when the second CXL message is a request message, generating a tag for identifying an inter-protocol transaction with respect to the second CXL message and storing the tag in a mapping table, and when the second CXL message is a response message, associating the response message with a corresponding request message by referring to mapping information stored in the mapping table.
[0088] In step S270, the hybrid system may transmit the converted second NVLink message through the first port connected to the NVLink device.
[0089] FIGS. 3A and 3B are diagrams for illustrating a manner of generating an NVLink system view in a hybrid system according to an embodiment of the present disclosure.
[0090] In the hybrid system according to the present disclosure, in order for an NVLink device 30 belonging to the NVLink domain 10 to transmit a message to a CXL device 40 belonging to the CXL domain 20, the NVLink device 30 belonging to the NVLink domain 10 should recognize the CXL device 40 belonging to the CXL domain 20 as a device defined in the NVLink protocol connected through the hybrid switch 100. Conversely, in order for the CXL device 40 belonging to the CXL domain 20 to transmit a message to the NVLink device 30 belonging to the NVLink domain 10 through the hybrid switch 100, the CXL device 40 belonging to the CXL domain 20 should recognize the NVLink device 30 belonging to the NVLink domain 10 as a device defined in the CXL protocol connected through the hybrid switch 100. To this end, in discovery and initialization processes of the NVLink protocol and the CXL protocol, a system view from each protocol perspective may be generated so that devices respectively belonging to the NVLink domain 10 and the CXL domain 20 recognize devices belonging to another domain as devices defined in their own protocols connected through the hybrid switch 100.
[0091] In one embodiment, the system view from each protocol perspective may reflect a domain according to the corresponding protocol as it is, and may reflect a domain according to another protocol by conversion and replacement according to a predetermined rule. For example, in a system view from an NVLink protocol perspective (or an NVLink system view), the NVLink domain 10 may be reflected as it is, and devices and connections included in the CXL domain 20 may be converted and replaced according to a predetermined rule, thereby defining the system view from the NVLink perspective for the entire domain. In addition, in a system view from a CXL perspective (or a CXL system view), the CXL domain 20 may be reflected as it is, and devices and connections included in the NVLink domain 10 may be converted and replaced according to a predetermined rule, thereby defining the system view from the CXL protocol perspective for the entire domain.
[0092] Referring to FIGS. 3A and 3B, the hybrid system may form the NVLink system view so that devices belonging to the NVLink domain 10 can recognize the CXL device 40 connected to the hybrid switch 100 as a virtual NVLink device 450 connected to a virtual NVLink switch 350. For example, the virtual NVLink device 450 may include a virtual NVLink accelerator.
[0093] In one embodiment, the hybrid system may include the NVLink domain 10 as it is, convert and replace the hybrid switch 100 with an NVLink switch, convert and replace the CXL device of the CXL domain 20 with an NVLink device according to a predetermined rule, and configure connectivity therebetween to form the NVLink system view. For example, a single or multiple CXL hosts 45 and CXL EPs 47 may be converted and replaced with a single or multiple NVLink accelerators according to a predetermined rule, and the replaced NVLink accelerators may be configured as being connected to the replaced NVLink switch corresponding to the hybrid switch 100 by a single or multiple links according to a predetermined rule. As a result, a system view according to the NVLink protocol may be formed for the entire domain of the hybrid system.
[0094] Referring to FIG. 3B, each CXL device 40 may be recognized as a virtual NVLink device 450, and a system view may be generated such that the virtual NVLink device 450 is connected to a hybrid switch to which each CXL device 40 had been connected and that is recognized as the virtual NVLink switch 350. However, this is only one embodiment, and one CXL device 40 may be recognized as a plurality of virtual NVLink devices 450, or a plurality of CXL devices 40 may be recognized as one virtual NVLink device 450. In addition, a connection method between the virtual NVLink device 450 and the virtual NVLink switch 350 may also be recognized in various forms.
[0095] FIGS. 4A and 4B are diagrams for illustrating a manner of generating a CXL system view in a hybrid system according to an embodiment of the present disclosure.
[0096] Referring to FIGS. 4A and 4B, the hybrid system may generate a system view from a CXL protocol perspective so that devices belonging to the CXL domain 20 can recognize the NVLink device 30 connected to the hybrid switch 100 as a virtual CXL device 470 connected to a virtual CXL switch 370.
[0097] In one embodiment, the hybrid system may form a system view from the CXL perspective such that a CXL device can recognize at least one NVLink device 30 as at least one virtual CXL device 470. In one embodiment, the virtual CXL device 470 may include at least one of a virtual CXL host, a virtual CXL Type 1 device, a virtual CXL Type 2 device, or a virtual CXL Type 3 device.
[0098] In one embodiment, the hybrid system may include the CXL domain 20 as it is, convert and replace the hybrid switch with a CXL switch, convert and replace the NVLink device of the NVLink domain 10 with a CXL device according to a predetermined rule, and configure connectivity therebetween to form the CXL system view. For example, a single or multiple NVLink accelerators 35 may be changed and replaced with a single or multiple CXL hosts or CXL EPs according to a predetermined rule, and the replaced CXL hosts or CXL EPs may be configured as being connected to the replaced CXL switch corresponding to the hybrid switch 100 by a single or multiple links according to a predetermined rule. As a result, a system view according to the CXL protocol may be formed for the entire domain of the hybrid system.
[0099] Referring to FIG. 4B, at least one NVLink device 30 connected through the same NVLink fabric may be recognized as one virtual CXL device 470, and a system view may be generated such that the virtual CXL device 470 is connected to all hybrid switches 100 recognized as the virtual CXL switch 370 and configuring the same NVLink fabric. However, this is only one embodiment, and one NVLink device 30 may be recognized as a plurality of virtual CXL devices 470, or one NVLink device 30 may be recognized as one virtual CXL device 470. In addition, a connection method between the virtual CXL device 470 and the CXL switch 370 may also be recognized in various forms.
[0100] In one embodiment, when the NVLink device 30 is recognized as a virtual CXL host, communication may be performed between NVLink devices 30 using a Direct P2P UIO scheme, and when a message is transmitted from the NVLink device 30 to the CXL device 40, communication may be performed using a CXL.mem channel. For example, the NVLink device 30 may access a CXL EP (for example, a CXL Type 1 device, a CXL Type 2 device, a CXL Type 3 device or a PCIe EP) as a virtual CXL host.
[0101] In one embodiment, when the NVLink device 30 is recognized as a virtual CXL Type 1 device or a virtual CXL Type 2 device, when a message is transmitted from the NVLink device 30 to the CXL device 40, communication may be performed using a CXL.cache channel. For example, the NVLink device 30 may operate in a manner in which the NVLink device 30 transmits a message that does not ensure cache coherency to a CXL host as a virtual CXL device and receives an Rsp / Data message as a response to the corresponding request.
[0102] In one embodiment, when the NVLink device 30 is recognized as a virtual CXL Type 2 device or a virtual CXL Type 3 device, communication may be performed between NVLink devices 30 using a Direct P2P CXL.mem scheme, and when a message is transmitted from the NVLink device 30 to the CXL device 40, communication may be performed using a CXL.mem channel. Also when a message is transmitted from the CXL device 40 to the NVLink device 30, communication may be performed using a CXL.mem channel.
[0103] In one embodiment, when data sharing between a plurality of CXL devices for the NVLink device 30 recognized as a virtual CXL Type 3 device on the CXL device 40 side is intended to be supported, in response to a request message delivered to the NVLink device 30 through the first port, a tag for identifying the request message and memory address information accessed by the corresponding request message may be stored in a mapping table. Thereafter, when an additional access request occurs from another CXL device 40 for the same memory address, a request subject that previously accessed the corresponding address may be identified by referring to the mapping table, and data consistency for the memory address may be limitedly maintained by generating or delivering a Bisnp (Back-Invalidate Snoop) message to the corresponding request subject as necessary.
[0104] In one embodiment, since the hybrid system operates in a method that does not ensure cache coherency, the NVLink device 30 recognized as a virtual CXL Type 3 device may not include a Device Coherency (DCOH) function.
[0105] In one embodiment, when the NVLink device 30 is recognized as a virtual CXL Type 3 device, the NVLink device 30 may be configured to operate as a subordinate in the CXL.mem channel and operate as a master in a Direct P2P CXL.mem channel. When the NVLink device 30 operates as a subordinate, when the NVLink device 30 receives a Non-allocating Read or Immediate Write request among M2S Req / RwD messages, the NVLink device 30 may transmit an S2M NDR / DRS message as a response to the corresponding request. When the NVLink device 30 operates as a master, when the NVLink device 30 sends a Non-allocating Read or Immediate Write request, the NVLink device 30 may receive a DRS (Data Response) or NDR (Non-Data Response) message as a response to the corresponding request.
[0106] FIG. 5 is a flowchart for illustrating a method of configuring an address space in a hybrid system according to an embodiment of the present disclosure.
[0107] In the hybrid system according to an embodiment of the present disclosure, in order to exchange messages between an NVLink device and a CXL device, the NVLink device and the CXL device should be configured to be able to see a common address space.
[0108] Referring to FIG. 5, a method of configuring an address space accessible by both an NVLink device and a CXL device based on a system view configured in a hybrid system according to an embodiment of the present disclosure may include comparing a size of a CXL address space and a size of an NVLink address space (S310), configuring an address region to be exposed according to a result of the comparison (S330), configuring an address space of a virtual device corresponding to an address space of a physical device (S350), and mapping the address space of the physical device and the address space of the virtual device (S370).
[0109] In step S310, the hybrid system may compare a size of an NVLink address space used in the NVLink protocol and a size of a CXL address space used in the CXL protocol. Since the size of an address space is determined according to the number of bits representing an address, the size of the address space may mean the number of bits of an address used in each protocol. For example, since the CXL protocol uses a 52-bit address, the CXL protocol may have an address space of 2^52=4PB, and the NVLink protocol may also have an address space of 2^k according to predetermined address bits k.
[0110] In step S330, the hybrid system may configure an address region to be exposed according to a result of comparing address space sizes used in the two protocols. Since a protocol having a smaller address space size can view only a part of an address space of a protocol having a larger address space size, operational problems may be removed as much as possible by configuring the protocol having the smaller address space size to preferentially view addresses of regions to be mutually exposed between different devices. A protocol having a larger address space size is not problematic because the protocol can view the entire address space of a protocol having a smaller address space size.
[0111] In one embodiment, step S330 may include one or more of, when the size of the NVLink address space is larger than the size of the CXL protocol address space, configuring the CXL device to preferentially view a partial region of the address space of the NVLink device, and when the size of the CXL address space is larger than the size of the NVLink address space, configuring the NVLink device to preferentially view a partial region of the address space of the CXL device. For example, when the size of the NVLink address space is larger than the size of the CXL address space, the CXL device may be configured to preferentially view a memory space included in an NVLink accelerator, and when the size of the CXL address space is larger than the size of the NVLink address space, the NVLink device may be configured to preferentially view a memory space of a CXL Memory Expander accessible by the NVLink device among CXL EPs.
[0112] In step S350, the hybrid system may configure an address space of a virtual device corresponding to a physical device address space. For example, the hybrid system may identify physical devices (for example, CXL devices or NVLink devices) connected to the hybrid switch and may create logical virtual devices (for example, virtual CXL devices or NVLink devices) in an address space spanned by the physical devices.
[0113] In one embodiment, based on the system view from the CXL perspective, the hybrid system may configure a first CXL address space corresponding to the virtual CXL device in a first NVLink address space corresponding to an NVLink device connected to the hybrid switch.
[0114] In one embodiment, based on the system view from the NVLink perspective, the hybrid system may configure a second NVLink address space corresponding to the virtual NVLink device in a second CXL address space corresponding to a CXL device connected to the hybrid switch.
[0115] In step S370, the hybrid system may map the address space of the physical device and the address space of the virtual device. In one embodiment, the hybrid system may map the first NVLink address space and the first CXL address space and may map the second CXL address space and the second NVLink address space.
[0116] In one embodiment, the hybrid system may include an HDM Decoder (for CXL), a GPU MMU / Link TLB (for NVLink), or a device performing a function equivalent thereto for address conversion / mapping between a logical virtual device and a physical device. For example, the corresponding function may be performed by the hybrid switch.
[0117] In one embodiment, for efficient address space management, one memory address may be configured to be mapped only to one logical device (enforced such that the same memory region has only a single memory address).
[0118] In one embodiment, when the NVLink device is recognized as a virtual CXL host, the hybrid system generates a unique host physical address (HPA) for the virtual CXL host and may form an independent Virtual Hierarchy (VH) based on the HPA. One or more CXL EPs that share and use the HPA address space may be connected to each Virtual Hierarchy, and this connection relationship may be configured in a system view generation process. The HPA may be configured to include address spaces occupied by physical devices connected to the hybrid switch. In addition, access to remaining address regions of the HPA that do not correspond to actual physical devices may be configured to be limited. For example, a request or response for the remaining address regions may be implemented by being dropped in the hybrid switch, by notifying the CXL EP in advance that the corresponding region is an inaccessible region, or by not exposing the corresponding region itself in the system view.
[0119] In one embodiment, when a plurality of hybrid switches are connected to one virtual CXL host, HPA address regions handled by the respective hybrid switches may be configured to be divided and managed. Accordingly, management overhead for the entire HPA space may be reduced, and each hybrid switch may be configured to independently process an address region assigned thereto.
[0120] The foregoing description of the present disclosure is for illustration purposes only, and those of ordinary skill in the art to which the present disclosure pertains will understand that the present disclosure may be easily modified into other specific forms without changing the technical spirit or essential features of the present disclosure. Therefore, the embodiments described above should be understood as illustrative in all respects and not restrictive. For example, each component described as a single type may be implemented in a distributed manner, and similarly, components described as distributed may be implemented in a combined form.
[0121] The scope of the present disclosure is indicated by the claims below rather than the detailed description above, and all changes or modified forms derived from the meaning and scope of the claims and their equivalent concepts should be construed as being included in the scope of the present disclosure.REFERENCE SIGNS LIST10: NVLink Domain
[0123] 15: NVLink fabric
[0124] 17: NVLink Switch
[0125] 20: CXL Domain
[0126] 25: CXL fabric
[0127] 27: CXL Switch
[0128] 30: NVLink Device
[0129] 35: NVLink accelerator
[0130] 40: CXL Device
[0131] 45: CXL Host
[0132] 47: CXL EP
[0133] 100: Hybrid Switch
[0134] 300: Virtual Switch
[0135] 350: Virtual NVLink Switch
[0136] 370: Virtual CXL Switch
[0137] 400: Virtual Device
[0138] 450: Virtual NVLink Device
[0139] 470: Virtual CXL Device
Claims
1. A method of operating a hybrid system comprising at least one hybrid switch, at least one NVLink device and at least one CXL device, and capable of protocol conversion between CXL and NVLink, the method comprising:determining whether a first NVLink message received through a first port of the hybrid switch connected to the NVLink device is to be transmitted through a second port of the hybrid switch connected to the CXL device;when the first NVLink message is to be transmitted through the second port, converting the first NVLink message into a first CXL message; andtransmitting the converted first CXL message through the second port,wherein the first CXL message is generated as a non-cache-coherent CXL message type that does not ensure cache coherency.
2. The method of claim 1, further comprising:determining whether a second CXL message received through the second port is to be transmitted through the first port;when the second CXL message is to be transmitted through the first port, converting the second CXL message into a second NVLink message; andtransmitting the converted second NVLink message through the first port.
3. The method of claim 2, wherein, when a destination of the second CXL message is the NVLink device, the CXL device generates the second CXL message as a non-cache-coherent CXL message type.
4. The method of claim 2, further comprising, when the second CXL message is a cache-coherent CXL message type requiring cache coherency, dropping the second CXL message without transmitting the second CXL message through the first port.
5. The method of claim 1, wherein converting the first NVLink message into the first CXL message comprises one or more of:when the first NVLink message is a request message, generating a tag for identifying an inter-protocol transaction with respect to the first NVLink message and storing the tag in a mapping table; andwhen the first NVLink message is a response message, associating the response message with a corresponding request message by referring to mapping information stored in the mapping table.
6. The method of claim 2, wherein converting the second CXL message into the second NVLink message comprises one or more of:when the second CXL message is a request message, generating a tag for identifying an inter-protocol transaction with respect to the second CXL message and storing the tag in a mapping table; andwhen the second CXL message is a response message, associating the response message with a corresponding request message by referring to mapping information stored in the mapping table.
7. The method of claim 1, wherein, when the converted first CXL message is transmitted using a CXL.mem channel, the converted first CXL message comprises a non-allocating read request that does not perform caching or an immediate write request that directly writes to memory.
8. The method of claim 1, wherein, when the converted first CXL message is transmitted using a CXL.cache channel, the converted first CXL message comprises a RdCur request that does not cause tracking of a cacheline or a WrCur request that overwrites an entire cacheline without preserving existing data.
9. The method of claim 1, further comprising:configuring a system view from a CXL perspective such that the CXL device can recognize the at least one NVLink device as at least one virtual CXL device; andconfiguring a system view from an NVLink perspective such that the NVLink device can recognize the at least one CXL device as at least one virtual NVLink device.
10. The method of claim 9, wherein the virtual CXL device comprises at least one of a virtual CXL host, a virtual CXL Type 1 device, a virtual CXL Type 2 device, or a virtual CXL Type 3 device.
11. The method of claim 9, further comprising configuring an address space accessible by both the NVLink device and the CXL device based on the system view from the CXL perspective or the system view from the NVLink perspective.
12. The method of claim 11, wherein configuring the address space accessible by both the NVLink device and the CXL device based on the system view from the CXL perspective or the system view from the NVLink perspective comprises:comparing a size of an NVLink address space and a size of an CXL address space; andconfiguring an address region to be mutually exposed to the NVLink device and the CXL device based on a result of the comparison.
13. The method of claim 12, wherein configuring the address region to be mutually exposed to the NVLink device and the CXL device based on the result of the comparison comprises one or more of:when the size of the NVLink address space is larger than the size of the CXL address space, configuring the CXL device to preferentially view a partial region of an address space of the NVLink device; andwhen the size of the CXL address space is larger than the size of the NVLink address space, configuring the NVLink device to preferentially view a partial region of an address space of the CXL device.
14. The method of claim 11, wherein configuring the address space accessible by both the NVLink device and the CXL device based on the system view from the CXL perspective comprises:configuring a first CXL address space corresponding to the virtual CXL device in a first NVLink address space corresponding to the NVLink device connected to the hybrid switch; andmapping the first NVLink address space and the first CXL address space.
15. The method of claim 11, wherein configuring the address space accessible by both the NVLink device and the CXL device based on the system view from the NVLink perspective comprises:configuring a second NVLink address space corresponding to the virtual NVLink device in a second CXL address space corresponding to the CXL device connected to the hybrid switch; andmapping the second CXL address space and the second NVLink address space.
16. The method of claim 1, wherein, when the NVLink device is recognized as a virtual CXL host, a unique host physical address (HPA) for the virtual CXL host is generated and an independent virtual hierarchy is formed based on the unique HPA.
17. The method of claim 16, wherein the virtual CXL host connected through the hybrid switch and the CXL device are configured to share an HPA space.
18. A hybrid system capable of protocol conversion between CXL and NVLink, the hybrid system comprising:at least one hybrid switch;at least one NVLink device; andat least one CXL device,wherein the hybrid switch comprises:at least one first port configured to be connected to the NVLink device; andat least one second port configured to be connected to the CXL device,wherein the hybrid switch is configured to:determine whether a first NVLink message received through the at least one first port is to be transmitted through the second port and when the first NVLink message is to be transmitted through the at least one second port, convert the first NVLink message into a first CXL message and transmit the first CXL message through the at least one second port; anddetermine whether a second CXL message received through the at least one second port is to be transmitted through the at least one first port and when the second CXL message is to be transmitted through the at least one first port, convert the second CXL message into a second NVLink message and transmit the second NVLink message through the at least one first port,wherein the first CXL message is generated as a non-cache-coherent CXL message type that does not ensure cache coherency.
19. The hybrid system of claim 18, wherein, when a destination of the second CXL message is the NVLink device, the CXL device is configured to generate the second CXL message as a non-cache-coherent CXL message type.
20. The hybrid system of claim 18, wherein, when the second CXL message is a cache-coherent CXL message type requiring cache coherency, the hybrid switch is configured to drop the second CXL message without transmitting the second CXL message through the at least one first port.
21. The hybrid system of claim 18, further comprising tag generation logic,wherein the tag generation logic is configured to:when the first NVLink message or the second CXL message is a request message, generate a tag for identifying an inter-protocol transaction with respect to the first NVLink message or the second CXL message and store the tag in a mapping table; andwhen the first NVLink message or the second CXL message is a response message, associate the response message with a corresponding request message by referring to mapping information stored in the mapping table.
22. The hybrid system of claim 18, wherein, when the converted first CXL message is transmitted using a CXL.mem channel, the converted first CXL message comprises a non-allocating read request that does not perform caching or an immediate write request that directly writes to memory.
23. The hybrid system of claim 18, wherein, when the converted first CXL message is transmitted using a CXL.cache channel, the converted first CXL message comprises a RdCur request that does not cause tracking of a cacheline or a WrCur request that overwrites an entire cacheline without preserving existing data.
24. The hybrid system of claim 18, wherein the hybrid system is configured to:configure a system view from a CXL perspective such that the CXL device can recognize the at least one NVLink device as at least one virtual CXL device; andconfigure a system view from an NVLink perspective such that the NVLink device can recognize the at least one CXL device as at least one virtual NVLink device,wherein the virtual CXL device comprises at least one of a virtual CXL host, a virtual CXL Type 1 device, a virtual CXL Type 2 device, or a virtual CXL Type 3 device.
25. The hybrid system of claim 24, further comprising an address space accessible by both the NVLink device and the CXL device,wherein the address space accessible by both the NVLink device and the CXL device is configured based on the system view from the CXL perspective or the system view from the NVLink perspective, and an address region to be mutually exposed to the NVLink device and the CXL device is configured according to a size of an NVLink address space and a size of a CXL address space.
26. The hybrid system of claim 18, wherein when the NVLink device is recognized as a virtual CXL host, a unique host physical address (HPA) for the virtual CXL host is generated and an independent virtual hierarchy is formed based on the unique HPA.
27. A non-transitory computer-readable recording medium storing a program for causing a computer to execute the method of claim 1.
