SYSTEM AND METHOD FOR AGGREGATING SERVER MEMORY

A system and method for managing memory resources. In some embodiments, the system includes a stored-program processing circuit, a network interface circuit, a cache-coherent switch, and a first memory module. In some embodiments, the first memory module is connected to the cache-coherent switch, the cache-coherent switch is connected to the network interface circuit, and the stored-program processing circuit is connected to the cache-coherent switch.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
CROSS-REFERENCE TO RELATED APPLICATION(S)

The present application claims priority to and the benefit of U.S. Provisional Application No. 63/031,508, filed May 28, 2020, entitled “EXTENDING MEMORY ACCESSES WITH NOVEL CACHE COHERENCE CONNECTS”, and priority to and the benefit of U.S. Provisional Application No. 63/031,509, filed May 28, 2020, entitled “POOLING SERVER MEMORY RESOURCES FOR COMPUTE EFFICIENCY”, and priority to and the benefit of U.S. Provisional Application No. 63/068,054, filed Aug. 20, 2020, entitled “SYSTEM WITH CACHE-COHERENT MEMORY AND SERVER-LINKING SWITCH FIELD”, and priority to and the benefit of U.S. Provisional Application No. 63/057,746, filed Jul. 28, 2020, entitled “DISAGGREGATED MEMORY ARCHITECTURE WITH NOVEL INTERCONNECTS”, the entire contents of all which is incorporated herein by reference.

FIELD

One or more aspects of embodiments according to the present disclosure relate to computing systems, and more particularly to a system and method for managing memory resources in a system including one or more servers.

BACKGROUND

The present background section is intended to provide context only, and the disclosure of any embodiment or concept in this section does not constitute an admission that said embodiment or concept is prior art.

Some server systems may include collections of servers connected by a network protocol. Each of the servers in such a system may include processing resources (e.g., processors) and memory resources (e.g., system memory). It may be advantageous, in some circumstances, for a processing resource of one server to access a memory resource of another server, and it may be advantageous for this access to occur while minimizing the processing resources of either server.

Thus, there is a need for an improved system and method for managing memory resources in a system including one or more servers.

SUMMARY

In some embodiments, a server includes one or more processing circuits, system memory, and one or more memory modules connected to the processing circuits through a cache-coherent switch. The cache coherent switch may also be connected to one or more network interface circuits, and it may include a controller (e.g., a field-programmable gate array FPGA or an application specific integrated circuit ASIC) providing it with enhanced capabilities. These capabilities may include virtualizing the memory modules, enabling the switch to store data in memory modules using an underlying technology well suited to the storage requirements (e.g., latency, bandwidth, persistence) of the data being stored. The cache-coherent switch may receive the storage requirements as a result of these requirements having been transmitted to it by the processing circuits, or as a result of monitoring access patterns. The enhanced capabilities may further include enabling the server to interact with memory of another server without having to access a processor such as a central processing unit (CPU) (e.g., by performing remote direct memory access (RDMA)).

According to an embodiment of the present invention, there is provided a system, including: a first server, including: a stored-program processing circuit, a network interface circuit, a cache-coherent switch, and a first memory module, wherein: the first memory module is connected to the cache-coherent switch, the cache-coherent switch is connected to the network interface circuit, and the stored-program processing circuit is connected to the cache-coherent switch.

In some embodiments, the system further includes a second memory module connected to the cache-coherent switch, wherein the first memory module includes volatile memory and the second memory module includes persistent memory.

In some embodiments, the cache-coherent switch is configured to virtualize the first memory module and the second memory module.

In some embodiments, the first memory module includes flash memory, and the cache-coherent switch is configured to provide a flash translation layer for the flash memory.

In some embodiments, the cache-coherent switch is configured to: monitor an access frequency of a first memory location in the first memory module; determine that the access frequency exceeds a first threshold; and copy the contents of the first memory location into a second memory location, the second memory location being in the second memory module.

In some embodiments, the second memory module includes high bandwidth memory (HBM).

In some embodiments, the cache-coherent switch is configured to maintain a table for mapping processor-side addresses to memory-side addresses.

In some embodiments, the system further includes: a second server, and a network switch connected to first server and the second server.

In some embodiments, the network switch includes a top of rack (ToR) Ethernet switch.

In some embodiments, the cache-coherent switch is configured to receive remote direct memory access (RDMA) requests, and to send RDMA responses.

In some embodiments, the cache-coherent switch is configured to receive the remote direct memory access (RDMA) requests through the ToR Ethernet switch and through the network interface circuit, and to send RDMA responses through the ToR Ethernet switch and through the network interface circuit.

In some embodiments, the cache-coherent switch is configured to support a Compute Express Link (CXL) protocol.

In some embodiments, the first server includes an expansion socket adapter, connected to an expansion socket of the first server, the expansion socket adapter including: the cache-coherent switch; and a memory module socket, the first memory module being connected to the cache-coherent switch through the memory module socket.

In some embodiments, the memory module socket includes an M.2 socket.

In some embodiments, the network interface circuit is on the expansion socket adapter.

According to an embodiment of the present invention, there is provided a method for performing remote direct memory access in a computing system, the computing system including: a first server and a second server, the first server including: a stored-program processing circuit, a network interface circuit, a cache-coherent switch, and a first memory module, the method including: receiving, by the cache-coherent switch, a remote direct memory access (RDMA) request, and sending, by the cache-coherent switch, a RDMA response.

In some embodiments: the computing system further includes an Ethernet switch, and the receiving of the RDMA request includes receiving the RDMA request through the Ethernet switch.

In some embodiments, the method further includes: receiving, by the cache-coherent switch, a read command, from the stored-program processing circuit, for a first memory address, translating, by the cache-coherent switch, the first memory address to a second memory address, and retrieving, by the cache-coherent switch, data from the first memory module at the second memory address.

In some embodiments, the method further includes: receiving data, by the cache-coherent switch, storing, by the cache-coherent switch, the data in the first memory module, and sending, by the cache-coherent switch, to the stored-program processing circuit, a command for invalidating a cache line.

According to an embodiment of the present invention, there is provided a system, including: a first server, including: a stored-program processing circuit, a network interface circuit, cache-coherent switching means, and a first memory module, wherein: the first memory module is connected to the cache-coherent switching means, the cache-coherent switching means is connected to the network interface circuit, and the stored-program processing circuit is connected to the cache-coherent switching means.

BRIEF DESCRIPTION OF THE DRAWINGS

The drawings provided herein are for purpose of illustrating certain embodiments only; other embodiments, which may not be explicitly illustrated, are not excluded from the scope of this disclosure.

These and other features and advantages of the present disclosure will be appreciated and understood with reference to the specification, claims, and appended drawings wherein:

FIG. 1A is a block diagram of a system for attaching memory resources to computing resources using a cache-coherent connection, according to an embodiment of the present disclosure;

FIG. 1B is a block diagram of a system, employing expansion socket adapters, for attaching memory resources to computing resources using a cache-coherent connection, according to an embodiment of the present disclosure;

FIG. 1C is a block diagram of a system for aggregating memory employing an Ethernet ToR switch, according to an embodiment of the present disclosure;

FIG. 1D is a block diagram of a system for aggregating memory employing an Ethernet ToR switch and an expansion socket adapter, according to an embodiment of the present disclosure;

FIG. 1E is a block diagram of a system for aggregating memory, according to an embodiment of the present disclosure;

FIG. 1F is a block diagram of a system for aggregating memory, employing an expansion socket adapter, according to an embodiment of the present disclosure;

FIG. 1G is a block diagram of a system for disaggregating servers, according to an embodiment of the present disclosure;

FIG. 2A is a flow chart for an example method of performing a remote direct memory access (RDMA) transfer, bypassing processing circuits, for embodiments illustrated in FIGS. 1A-1G, according to an embodiment of the present disclosure;

FIG. 2B is a flow chart for an example method of performing an RDMA transfer, with the participation of processing circuits, for embodiments illustrated in FIGS. 1A-1D, according to an embodiment of the present disclosure;

FIG. 2C is a flow chart for an example method of performing an RDMA transfer, through a Compute Express Link (CXL) switch, for embodiments illustrated in FIGS. 1E and 1F, according to an embodiment of the present disclosure; and

FIG. 2D is a flow chart for an example method of performing an RDMA transfer, through a CXL switch for the embodiment illustrated in FIG. 1G, according to an embodiment of the present disclosure.

DETAILED DESCRIPTION

The detailed description set forth below in connection with the appended drawings is intended as a description of exemplary embodiments of a system and method for managing memory resources provided in accordance with the present disclosure and is not intended to represent the only forms in which the present disclosure may be constructed or utilized. The description sets forth the features of the present disclosure in connection with the illustrated embodiments. It is to be understood, however, that the same or equivalent functions and structures may be accomplished by different embodiments that are also intended to be encompassed within the scope of the disclosure. As denoted elsewhere herein, like element numbers are intended to indicate like elements or features.

Peripheral Component Interconnect Express (PCIe) can refer to a computer interface which may have a relatively high and variable latency that can limit its usefulness in making connections to memory. CXL is an open industry standard for communications over PCIe 5.0, which can provide fixed, relatively short packet sizes, and, as a result, may be able to provide relatively high bandwidth and relatively low, fixed latency. As such, CXL may be capable of supporting cache coherence and CXL may be well suited for making connections to memory. CXL may further be used to provide connectivity between a host and accelerators, memory devices, and network interface circuits (or “network interface controllers” or network interface cards” (NICs)) in a server.

Cache coherent protocols such as CXL may also be employed for heterogeneous processing, e.g., in scalar, vector, and buffered memory systems. CXL may be used to leverage the channel, the retimers, the PHY layer of a system, the logical aspects of the interface, and the protocols from PCIe 5.0 to provide a cache-coherent interface. The CXL transaction layer may include three multiplexed sub-protocols that run simultaneously on a single link and can be referred to as CXL.io, CXL.cache, and CXL.memory. CXL.io may include I/O semantics, which may be similar to PCIe. CXL.cache may include caching semantics, and CXL.memory may include memory semantics; both the caching semantics and the memory semantics may be optional. Like PCIe, CXL may support (i) native widths of x16, x8, and x4, which may be partitionable, (ii) a data rate of 32 GT/s, degradable to 8 GT/s and 16 GT/s, 128 b/130 b, (iii) 300 W (75 W in a x16 connector), and (iv) plug and play. To support plug and play, either a PCIe or a CXL device link may start training in PCIe in Gen 1, negotiate CXL, complete Gen 1-5 training and then start CXL transactions.

In some embodiments, the use of CXL connections to an aggregation, or “pool”, of memory (e.g., a quantity of memory, including a plurality of memory cells connected together) may provide various advantages, in a system that includes a plurality of servers connected together by a network, as discussed in further detail below. For example, a CXL switch having further capabilities in addition to providing packet-switching functionality for CXL packets (referred to herein as an “enhanced capability CXL switch”) may be used to connect the aggregation of memory to one or more central processing units (CPUs) (or “central processing circuits”) and to one or more network interface circuits (which may have enhanced capability). Such a configuration may make it possible (i) for the aggregation of memory to include various types of memory, having different characteristics, (ii) for the enhanced capability CXL switch to virtualize the aggregation of memory, and to store data of different characteristics (e.g., frequency of access) in appropriate types of memory, (iii) for the enhanced capability CXL switch to support remote direct memory access (RDMA) so that RDMA may be performed with little or no involvement from the server's processing circuits. As used herein, to “virtualize” memory means to perform memory address translation between the processing circuit and the memory.

A CXL switch may (i) support memory and accelerator dis-aggregation through single level switching, (ii) enable resources to be off-lined and on-lined between domains, which may enable time-multiplexing across domains, based on demand, and (iii) support virtualization of downstream ports. CXL may be employed to implement aggregated memory, which may enable one-to-many and many-to-one switching (e.g., it may be capable of (i) connecting multiple root ports to one end point, (ii) connecting one root port to multiple end points, or (iii) connecting multiple root ports to multiple end points), with aggregated devices being, in some embodiments, partitioned into multiple logical devices each with a respective LD-ID (logical device identifier). In such an embodiment a physical device may be partitioned into a plurality of logical devices, each visible to a respective initiator. A device may have one physical function (PF) and a plurality (e.g., 16) isolated logical devices. In some embodiments the number of logical devices (e.g., the number of partitions) may be limited (e.g. to 16), and one control partition (which may be a physical function used for controlling the device) may also be present.

In some embodiments, a fabric manager may be employed to (i) perform device discovery and virtual CXL software creation, and to (ii) bind virtual ports to physical ports. Such a fabric manager may operate through connections over an SMBus sideband. The fabric manager may be implemented in hardware, or software, or firmware, or in a combination thereof, and it may reside, for example, in the host, in one of the memory modules 135, or in the enhanced capability CXL switch 130, or elsewhere in the network. The fabric manager may issue commands including commands issued through a sideband bus or through the PCIe tree.

Referring to FIG. 1A, in some embodiments, a server system includes a plurality of servers 105, connected together by a top of rack (ToR) Ethernet switch 110. While this switch is described as using Ethernet protocol, any other suitable network protocol may be used. Each server includes one or more processing circuits 115, each connected to (i) system memory 120 (e.g., Double Data Rate (version 4) (DDR4) memory or any other suitable memory), (ii) one or more network interface circuits 125, and (iii) one or more CXL memory modules 135. Each of the processing circuits 115 may be a stored-program processing circuit, e.g., a central processing unit (CPU (e.g., an x86 CPU), a graphics processing unit (GPU), or an ARM processor. In some embodiments a network interface circuit 125 may be embedded in (e.g., on the same semiconductor chip as, or in the same module as) one of the memory modules 135, or a network interface circuit 125 may be separately packaged from the memory modules 135.

As used herein, a “memory module” is a package (e.g., a package including a printed circuit board and components connected to it, or an enclosure including a printed circuit board) including one or more memory dies, each memory die including a plurality of memory cells. Each memory die, or each of a set of groups of memory dies, may be in a package (e.g., an epoxy mold compound (EMC) package) soldered to the printed circuit board of the memory module (or connected to the printed circuit board of the memory module through a connector). Each of the memory modules 135 may have a CXL interface and may include a controller 137 (e.g., an FPGA, an ASIC, a processor, and/or the like) for translating between CXL packets and the memory interface of the memory dies, e.g., the signals suitable for the memory technology of the memory in the memory module 135. As used herein, the “memory interface” of the memory dies is the interface that is native to the technology of the memory dies, e.g., in the case of DRAM e.g., the memory interface may be word lines and bit lines. A memory module may also include a controller 137 which may provide enhanced capabilities, as described in further detail below. The controller 137 of each memory modules 135 may be connected to a processing circuit 115 through a cache-coherent interface, e.g., through the CXL interface. The controller 137 may also facilitate data transmissions (e.g., RDMA requests) between different servers 105, bypassing the processing circuits 115. The ToR Ethernet switch 110 and the network interface circuits 125 may include an RDMA interface to facilitate RDMA requests between CXL memory devices on different servers (e.g., the ToR Ethernet switch 110 and the network interface circuits 125 may provide hardware offload or hardware acceleration of RDMA over Converged Ethernet (RoCE), Infiniband, and iWARP packets).

The CXL interconnects in the system may comply with a cache coherent protocol such as the CXL 1.1 standard, or, in some embodiments, with the CXL 2.0 standard, with a future version of CXL, or any other suitable protocol (e.g., cache coherent protocol). The memory modules 135 may be directly attached to the processing circuits 115 as shown, and the top of rack Ethernet switch 110 may be used for scaling the system to larger sizes (e.g., with larger numbers of servers 105).

In some embodiments, each server can be populated with multiple direct-attached CXL attached memory modules 135, as shown in FIG. 1A. Each memory module 135 may expose a set of base address registers (BARs) to the host's Basic Input/Output System (BIOS) as a memory range. One or more of the memory modules 135 may include firmware to transparently manage its memory space behind the host OS map. Each of the memory modules 135 may include one of, or a combination of, memory technologies including, for example (but not limited to) Dynamic Random Access Memory (DRAM), not-AND (NAND) flash, High Bandwidth Memory (HBM), and Low-Power Double Data Rate Synchronous Dynamic Random Access Memory (LPDDR SDRAM) technologies, and may also include a cache controller or separate respective split controllers for different technology memory devices (for memory modules 135 that combine several memory devices of different technologies). Each memory module 135 may include different interface widths (x4-x16), and may be constructed according to any of various pertinent form factors, e.g., U.2, M.2, half height, half length (HHHL), full height, half length (FHHL), E1.S, E1.L, E3.S, and E3.H.

In some embodiments, as mentioned above, the enhanced capability CXL switch 130 includes an FPGA (or ASIC) controller 137 and provides additional features beyond switching of CXL packets. The controller 137 of the enhanced capability CXL switch 130 may also act as a management device for the memory modules 135 and help with host control plane processing, and it may enable rich control semantics and statistics. The controller 137 may include an additional “backdoor” (e.g., 100 gigabit Ethernet (GbE)) network interface circuit 125. In some embodiments, the controller 137 presents as a CXL Type 2 device to the processing circuits 115, which enables the issuing of cache invalidate instructions to the processing circuits 115 upon receiving remote write requests. In some embodiments, DDIO technology is enabled, and remote data is first pulled to last level cache (LLC) of the processing circuit and later written to the memory modules 135 (from cache). As used herein, a “Type 2” CXL Device is one that can initiate transactions and that implements an optional coherent cache and host-managed device memory and for which applicable transaction types include all CXL.cache and all CXL.mem transactions.

As mentioned above, one or more of the memory modules 135 may include persistent memory, or “persistent storage” (i.e., storage within which data is not lost when external power is disconnected). If a memory module 135 is presented as a persistent device, the controller 137 of the memory module 135 may manage the persistent domain, e.g., it may store, in the persistent storage data identified (e.g., as a result of an application making a call to a corresponding operating system function) by a processing circuit 115 as requiring persistent storage. In such an embodiment, a software API may flush caches and data to the persistent storage.

In some embodiments, direct memory transfer to the memory modules 135 from the network interface circuits 125 is enabled. Such transfers may be a one-way transfers to remote memory for fast communication in a distributed system. In such an embodiment, the memory modules 135 may expose hardware details to the network interface circuits 125 in the system to enable faster RDMA transfers. In such a system, two scenarios may occur, depending on whether the Data Direct I/O (DDIO) of the processing circuit 115 is enabled or disabled. DDIO may enable direct communication between an Ethernet controller or an Ethernet adapter and a cache of a processing circuit 115. If the DDIO of the processing circuit 115 is enabled, the transfer's target may be the last level cache of the processing circuit, from which the data may subsequently be automatically flushed to the memory modules 135. If the DDIO of the processing circuit 115 is disabled, the memory modules 135 may operate in device-bias mode to force accesses to be directly received by the destination memory module 135 (without DDIO). An RDMA-capable network interface circuit 125 with host channel adapter (HCA), buffers, and other processing, may be employed to enable such an RDMA transfer, which may bypass the target memory buffer transfer that may be present in other modes of RDMA transfer. For example, in such an embodiment, the use of a bounce buffer (e.g., a buffer in the remote server, when the eventual destination in memory is in an address range not supported by the RDMA protocol) may be avoided. In some embodiments, RDMA uses another physical medium option, other than Ethernet (e.g., for use with a switch that is configured to handle other network protocols). Examples of inter-server connections that may enable RDMA include (but are not limited to) Infiniband, RDMA over Converged Ethernet (RoCE) (which uses Ethernet User Datagram Protocol (UDP)), and iWARP (which uses transmission control protocol/Internet protocol (TCP/IP)).

FIG. 1B shows a system similar to that of FIG. 1A, in which the processing circuits 115 are connected to the network interface circuits 125 through the memory modules 135. The memory modules 135 and the network interface circuits 125 are on expansion socket adapters 140. Each expansion socket adapter 140 may plug into an expansion socket 145, e.g., a M.2 connector, on the motherboard of the server 105. As such, the server may be any suitable (e.g., industry standard) server, modified by the installation of the expansion socket adapters 140 in expansion sockets 145. In such an embodiment, (i) each network interface circuit 125 may be integrated into a respective one of the memory modules 135, or (ii) each network interface circuit 125 may have a PCIe interface (the network interface circuit 125 may be a PCIe endpoint (i.e., a PCIe slave device)), so that the processing circuit 115 to which it is connected (which may operate as the PCIe master device, or “root port”) may communicate with it through a root port to endpoint PCIe connection, and the controller 137 of the memory module 135 may communicate with it through a peer-to-peer PCIe connection.

According to an embodiment of the present invention, there is provided a system, including: a first server, including: a stored-program processing circuit, a first network interface circuit, and a first memory module, wherein: the first memory module includes: a first memory die, and a controller, the controller being connected: to the first memory die through a memory interface, to the stored-program processing circuit through a cache-coherent interface, and to the first network interface circuit. In some embodiments: the first memory module further includes a second memory die, the first memory die includes volatile memory, and the second memory die includes persistent memory. In some embodiments, the persistent memory includes NAND flash. In some embodiments, the controller is configured to provide a flash translation layer for the persistent memory. In some embodiments, the cache-coherent interface includes a Compute Express Link (CXL) interface. In some embodiments, the first server includes an expansion socket adapter, connected to an expansion socket of the first server, the expansion socket adapter including: the first memory module; and the first network interface circuit. In some embodiments, the controller of the first memory module is connected to the stored-program processing circuit through the expansion socket. In some embodiments, the expansion socket includes an M.2 socket. In some embodiments, the controller of the first memory module is connected to the first network interface circuit by a peer to peer Peripheral Component Interconnect Express (PCIe) connection. In some embodiments, the system further includes: a second server, and a network switch connected to the first server and to the second server. In some embodiments, the network switch includes a top of rack (ToR) Ethernet switch. In some embodiments, the controller of the first memory module is configured to receive straight remote direct memory access (RDMA) requests, and to send straight RDMA responses. In some embodiments, the controller of the first memory module is configured to receive straight remote direct memory access (RDMA) requests through the network switch and through the first network interface circuit, and to send straight RDMA responses through the network switch and through the first network interface circuit. In some embodiments, the controller of the first memory module is configured to: receive data, from the second server; store the data in the first memory module; and send, to the stored-program processing circuit, a command for invalidating a cache line. In some embodiments, the controller of the first memory module includes a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC). According to an embodiment of the present invention, there is provided a method for performing remote direct memory access in a computing system, the computing system including: a first server and a second server, the first server including: a stored-program processing circuit, a network interface circuit, and a first memory module including a controller, the method including: receiving, by the controller of the first memory module, a straight remote direct memory access (RDMA) request; and sending, by the controller of the first memory module, a straight RDMA response. In some embodiments: the computing system further includes an Ethernet switch connected to the first server and to the second server, and the receiving of the straight RDMA request includes receiving the straight RDMA request through the Ethernet switch. In some embodiments, the method further includes: receiving, by the controller of the first memory module, a read command, from the stored-program processing circuit, for a first memory address, translating, by the controller of the first memory module, the first memory address to a second memory address, and retrieving, by the controller of the first memory module, data from the first memory module at the second memory address. In some embodiments, the method further includes: receiving data, by the controller of the first memory module, storing, by the controller of the first memory module, the data in the first memory module, and sending, by the controller of the first memory module, to the stored-program processing circuit, a command for invalidating a cache line. According to an embodiment of the present invention, there is provided a system, including: a first server, including: a stored-program processing circuit, a first network interface circuit, and a first memory module, wherein: the first memory module includes: a first memory die, and controller means, the controller means being connected: to the first memory die through a memory interface, to the stored-program processing circuit through a cache-coherent interface, and to the first network interface circuit.

Referring to FIG. 1C, in some embodiments, a server system includes a plurality of servers 105, connected together by a top of rack (ToR) Ethernet switch 110. Each server includes one or more processing circuits 115, each connected to (i) system memory 120 (e.g., DDR4 memory), (ii) one or more network interface circuits 125, and (iii) an enhanced capability CXL switch 130. The enhanced capability CXL switch 130 may be connected to a plurality of memory modules 135. That is, the system of FIG. 1C includes a first server 105, including a stored-program processing circuit 115, a network interface circuit 125, a cache-coherent switch 130, and a first memory module 135. In the system of FIG. 1C, the first memory module 135 is connected to the cache-coherent switch 130, the cache-coherent switch 130 is connected to the network interface circuit 125, and the stored-program processing circuit 115 is connected to the cache-coherent switch 130.

The memory modules 135 may be grouped by type, form factor, or technology type (e.g., DDR4, DRAM, LDPPR, high bandwidth memory (HBM), or NAND flash, or other persistent storage (e.g., solid state drives incorporating NAND flash)). Each memory module may have a CXL interface and include an interface circuit for translating between CXL packets and signals suitable for the memory in the memory module 135. In some embodiments, these interface circuits are instead in the enhanced capability CXL switch 130, and each of the memory modules 135 has an interface that is the native interface of the memory in the memory module 135. In some embodiments, the enhanced capability CXL switch 130 is integrated into (e.g., in an M.2 form factor package with, or integrated into a single integrated circuit with other components of) a memory module 135.

The ToR Ethernet switch 110 may include interface hardware to facilitate RDMA requests between aggregated memory devices on different servers. The enhanced capability CXL switch 130 may include one or more circuits (e.g., it may include an FPGA or an ASIC) to (i) route data to different memory types based on workload (ii) virtualize host addresses to device addresses and/or (iii) facilitate RDMA requests between different servers, bypassing the processing circuits 115.

The memory modules 135 may be in an expansion box (e.g., in the same rack as the enclosure housing the motherboard of the enclosure), which may include a predetermined number (e.g., more than 20 or more than 100) memory modules 135, each plugged into a suitable connector. The modules may be in an M.2 form factor, and the connectors may be M.2 connectors. In some embodiments, the connections between servers are over a different network, other than Ethernet, e.g., they may be wireless connections such as WiFi or 5G connections. Each processing circuit may be an x86 processor or another processor, e.g., an ARM processor or a GPU. The PCIe links on which the CXL links are instantiated may be PCIe 5.0 or another version (e.g., an earlier version or a later (e.g., future) version (e.g., PCIe 6.0). In some embodiments, a different cache-coherent protocol is used in the system instead of, or in addition to, CXL, and a different cache coherent switch may be used instead of, or in addition to, the enhanced capability CXL switch 130. Such a cache coherent protocol may be another standard protocol or a cache coherent variant of the standard protocol (in a manner analogous to the manner in which CXL is a variant of PCIe 5.0). Examples of standard protocols include, but are not limited to, non-volatile dual in-line memory module (version P)(NVDIMM-P), Cache Coherent Interconnect for Accelerators (CCIX), and Open Coherent Accelerator Processor Interface (OpenCAPI).

The system memory 120 may include, e.g., DDR4 memory, DRAM, HBM, or LDPPR memory. The memory modules 135 may be partitioned or contain cache controllers to handle multiple memory types. The memory modules 135 may be in different form factors, examples of which include but are not limited to HHHL, FHHL, M.2, U.2, mezzanine card, daughter card, E1.S, E1.L, E3.L, and E3.S.

In some embodiments, the system implements a aggregated architecture, including multiple servers, with each server aggregated with multiple CXL-attached memory modules 135. Each of the memory modules 135 may contain multiple partitions that can separately be exposed as memory devices to multiple processing circuits 115. Each input port of the enhanced capability CXL switch 130 may independently access multiple output ports of the enhanced capability CXL switch 130 and the memory modules 135 connected thereto. As used herein, an “input port” or “upstream port” of the enhanced capability CXL switch 130 is a port connected to (or suitable for connecting to) a PCIe root port, and an “output port” or “downstream port” of the enhanced capability CXL switch 130 is a port connected to (or suitable for connecting to) a PCIe endpoint. As in the case of the embodiment of FIG. 1A, each memory module 135 may expose a set of base address registers (BARs) to host BIOS as a memory range. One or more of the memory modules 135 may include firmware to transparently manage its memory space behind the host OS map.

In some embodiments, as mentioned above, the enhanced capability CXL switch 130 includes an FPGA (or ASIC) controller 137 and provides additional features beyond switching of CXL packets. For example, it may (as mentioned above) virtualize the memory modules 135, i.e., operate as a translation layer, translating between processing circuit-side addresses (or “processor-side” addresses, i.e., addresses that are included in memory read and write commands issued by the processing circuits 115) and memory-side addresses (i.e., addresses employed by the enhanced capability CXL switch 130 to address storage locations in the memory modules 135), thereby masking the physical addresses of the memory modules 135 and presenting a virtual aggregation of memory. The controller 137 of the enhanced capability CXL switch 130 may also act as a management device for the memory modules 135 and facilitate with host control plane processing. The controller 137 may transparently move data without the participation of the processing circuits 115 and accordingly update the memory map (or “address translation table”) so that subsequent accesses function as expected. The controller 137 may contain a switch management device that (i) can bind and unbind the upstream and downstream connections during runtime as appropriate, and (iii) can enable rich control semantics and statistics associated with data transfers into and out of the memory modules 135. The controller 137 may include an additional “backdoor” 100 GbE or other network interface circuit 125 (in addition to the network interface used to connect to the host) for connecting to other servers 105 or to other networked equipment. In some embodiments, the controller 137 presents as a Type 2 device to the processing circuits 115, which enables the issuing of cache invalidate instructions to the processing circuits 115 upon receiving remote write requests. In some embodiments, DDIO technology is enabled, and remote data is first pulled to last level cache (LLC) of the processing circuit 115 and later written to the memory modules 135 (from cache).

As mentioned above, one or more of the memory modules 135 may include persistent storage. If a memory module 135 is presented as a persistent device, the controller 137 of the enhanced capability CXL switch 130 may manage the persistent domain (e.g., it may store, in the persistent storage, data identified (e.g., by the use of a corresponding operating system function) by a processing circuit 115 as requiring persistent storage. In such an embodiment, a software API may flush caches and data to the persistent storage.

In some embodiments, direct memory transfer to the memory modules 135 may be performed in a manner analogous to that described above for the embodiment of FIGS. 1A and 1B, with operations performed by the controllers of the memory modules 135 being, performed by the controller 137 of the enhanced capability CXL switch 130.

As mentioned above, in some embodiments, the memory modules 135 are organized into groups, e.g., into one group which is memory intensive, another group which is HBM heavy, another group which has limited density and performance, and another group that has a dense capacity. Such groups may have different form factors or be based on different technologies. The controller 137 of the enhanced capability CXL switch 130 may route data and commands intelligently based on, for example, a workload, a tagging, or a quality of service (QoS). For read requests, there may be no routing based on such factors.

The controller 137 of the enhanced capability CXL switch 130 may also (as mentioned above) virtualize the processing-circuit-side addresses and memory-side addresses, making it possible for the controller 137 of the enhanced capability CXL switch 130 to determine where data is to be stored. The controller 137 of the enhanced capability CXL switch 130 may make such a determination based on information or instructions it may receive from a processing circuit 115. For example, the operating system may provide a memory allocation feature making it possible for an application to specify that low-latency storage, or high bandwidth storage, or persistent storage is to be allocated, and such a request, initiated by the application, may then be taken into account by the controller 137 of the enhanced capability CXL switch 130 in determining where (e.g. in which of the memory modules 135) to allocate the memory. For example, storage for which high bandwidth is requested by the application may be allocated in memory modules 135 containing HBM, storage for which data persistence is requested by the application may be allocated in memory modules 135 containing NAND flash, and other storage (for which the application has made no requests) may be stored on memory modules 135 containing relatively inexpensive DRAM. In some embodiments, the controller 137 of the enhanced capability CXL switch 130 may make determinations about where to store certain data based on network usage patterns. For example, the controller 137 of the enhanced capability CXL switch 130 may determine, by monitoring usage patterns, that data in a certain range of physical addresses are being accessed more frequently than other data, and the controller 137 of the enhanced capability CXL switch 130 may then copy these data into a memory module 135 containing HBM, and modify its address translation table so that the data, in the new location, are stored in the same range of virtual addresses. In some embodiments one or more of the memory modules 135 includes flash memory (e.g., NAND flash), and the controller 137 of the enhanced capability CXL switch 130 implements a flash translation layer for this flash memory. The flash translation layer may support overwriting of processor-side memory locations (by moving the data to a different location and marking the previous location of the data as invalid) and it may perform garbage collection (e.g., erasing a block, after moving, to another block, any valid data in the block, when the fraction of data in the block marked invalid exceeds a threshold).

In some embodiments, the controller 137 of the enhanced capability CXL switch 130 may facilitate a physical function (PF) to PF transfer. For example, if one of the processing circuits 115 needs to move data from one physical address to another (which may have the same virtual addresses; this fact need not affect the operation of the processing circuit 115), or if the processing circuit 115 needs to move data between two virtual addresses (which the processing circuit 115 would need to have) the controller 137 of the enhanced capability CXL switch 130 may supervise the transfer, without the involvement of the processing circuit 115. For example, the processing circuit 115 may send a CXL request, and data may be transmitted from one memory module 135 to another memory module 135 (e.g., the data may be copied from one memory module 135 to another memory module 135) behind the enhanced capability CXL switch 130 without going to the processing circuit 115. In this situation, because the processing circuit 115 initiated the CXL request, the processing circuit 115 may need to flush its cache to ensure consistency. If instead a Type 2 memory device (e.g., one of the memory modules 135, or an accelerator that may also be connected to the CXL switch) initiates the CXL request and the switch is not virtualized, then the Type 2 memory device may send a message to the processing circuit 115 to invalidate the cache.

In some embodiments, the controller 137 of the enhanced capability CXL switch 130 may facilitate RDMA requests between servers. A remote server 105 may initiate such an RDMA request, and the request may be sent through the ToR Ethernet switch 110, and arrive at the enhanced capability CXL switch 130 in the server 105 responding to the RDMA request (the “local server”). The enhanced capability CXL switch 130 may be configured to receive such an RDMA request and it may treat a group of memory modules 135 in the receiving server 105 (i.e., the server receiving the RDMA request) as its own memory space. In the local server, the enhanced capability CXL switch 130 may receive the RDMA request as a direct RDMA request (i.e., an RDMA request that is not routed through a processing circuit 115 in the local server) and it may send a direct response to the RDMA request (i.e., it may send the response without it being routed through a processing circuit 115 in the local server). In the remote server, the response (e.g., data sent by the local server) may be received by the enhanced capability CXL switch 130 of the remote server, and stored in the memory modules 135 of the remote server, without being routed through a processing circuit 115 in the remote server.

FIG. 1D shows a system similar to that of FIG. 1C, in which the processing circuits 115 are connected to the network interface circuits 125 through the enhanced capability CXL switch 130. The enhanced capability CXL switch 130, the memory modules 135, and the network interface circuits 125 are on an expansion socket adapter 140. The expansion socket adapter 140 may be a circuit board or module that plugs into an expansion socket, e.g., a PCIe connector 145, on the motherboard of the server 105. As such, the server may be any suitable server, modified only by the installation of the expansion socket adapter 140 in the PCIe connector 145. The memory modules 135 may be installed in connectors (e.g., M.2 connectors) on the expansion socket adapter 140. In such an embodiment, (i) the network interface circuits 125 may be integrated into the enhanced capability CXL switch 130, or (ii) each network interface circuit 125 may have a PCIe interface (the network interface circuit 125 may be a PCIe endpoint), so that the processing circuit 115 to which it is connected may communicate with the network interface circuit 125 through a root port to endpoint PCIe connection. The controller 137 of the enhanced capability CXL switch 130 (which may have a PCIe input port connected to the processing circuit 115 and to the network interface circuits 125) may communicate with the network interface circuit 125 through a peer-to-peer PCIe connection.

According to an embodiment of the present invention, there is provided a system, including: a first server, including: a stored-program processing circuit, a network interface circuit, a cache-coherent switch, and a first memory module, wherein: the first memory module is connected to the cache-coherent switch, the cache-coherent switch is connected to the network interface circuit, and the stored-program processing circuit is connected to the cache-coherent switch. In some embodiments, the system further includes a second memory module connected to the cache-coherent switch, wherein the first memory module includes volatile memory and the second memory module includes persistent memory. In some embodiments, the cache-coherent switch is configured to virtualize the first memory module and the second memory module. In some embodiments, the first memory module includes flash memory, and the cache-coherent switch is configured to provide a flash translation layer for the flash memory. In some embodiments, the cache-coherent switch is configured to: monitor an access frequency of a first memory location in the first memory module; determine that the access frequency exceeds a first threshold; and copy the contents of the first memory location into a second memory location, the second memory location being in the second memory module. In some embodiments, the second memory module includes high bandwidth memory (HBM). In some embodiments, the cache-coherent switch is configured to maintain a table for mapping processor-side addresses to memory-side addresses. In some embodiments, the system further includes: a second server, and a network switch connected to first server and the the second server. In some embodiments, the network switch includes a top of rack (ToR) Ethernet switch. In some embodiments, the cache-coherent switch is configured to receive straight remote direct memory access (RDMA) requests, and to send straight RDMA responses. In some embodiments, the cache-coherent switch is configured to receive the remote direct memory access (RDMA) requests through the ToR Ethernet switch and through the network interface circuit, and to send straight RDMA responses through the ToR Ethernet switch and through the network interface circuit. In some embodiments, the cache-coherent switch is configured to support a Compute Express Link (CXL) protocol. In some embodiments, the first server includes an expansion socket adapter, connected to an expansion socket of the first server, the expansion socket adapter including: the cache-coherent switch; and a memory module socket, the first memory module being connected to the cache-coherent switch through the memory module socket. In some embodiments, the memory module socket includes an M.2 socket. In some embodiments, the network interface circuit is on the expansion socket adapter. According to an embodiment of the present invention, there is provided a method for performing remote direct memory access in a computing system, the computing system including: a first server and a second server, the first server including: a stored-program processing circuit, a network interface circuit, a cache-coherent switch, and a first memory module, the method including: receiving, by the cache-coherent switch, a straight remote direct memory access (RDMA) request, and sending, by the cache-coherent switch, a straight RDMA response. In some embodiments: the computing system further includes an Ethernet switch, and the receiving of the straight RDMA request includes receiving the straight RDMA request through the Ethernet switch. In some embodiments, the method further includes: receiving, by the cache-coherent switch, a read command, from the stored-program processing circuit, for a first memory address, translating, by the cache-coherent switch, the first memory address to a second memory address, and retrieving, by the cache-coherent switch, data from the first memory module at the second memory address. In some embodiments, the method further includes: receiving data, by the cache-coherent switch, storing, by the cache-coherent switch, the data in the first memory module, and sending, by the cache-coherent switch, to the stored-program processing circuit, a command for invalidating a cache line. According to an embodiment of the present invention, there is provided a system, including: a first server, including: a stored-program processing circuit, a network interface circuit, cache-coherent switching means, and a first memory module, wherein: the first memory module is connected to the cache-coherent switching means, the cache-coherent switching means is connected to the network interface circuit, and the stored-program processing circuit is connected to the cache-coherent switching means.

FIG. 1E shows an embodiment in which each of a plurality of servers 105 is connected to a ToR server-linking switch 112, which may be a PCIe 5.0 CXL switch, having PCIe capabilities, as illustrated. The server-linking switch 112 may include an FPGA or ASIC, and may provide performance (in terms of throughput and latency) superior to that of an Ethernet switch. Each of the servers 105 may include a plurality of memory modules 135 connected to the server-linking switch 112 through the enhanced capability CXL switch 130 and through a plurality of PCIe connectors. Each of the servers 105 may also include one or more processing circuits 115, and system memory 120, as shown. The server-linking switch 112 may operate as a master, and each of the enhanced capability CXL switches 130 may operate as a slave, as discussed in further detail below.

In the embodiment of FIG. 1E, the server-linking switch 112 may group or batch multiple cache requests received from different servers 105, and it may group packets, reducing control overhead. The enhanced capability CXL switch 130 may include a slave controller (e.g., a slave FPGA or a slave ASIC) to (i) route data to different memory types based on workload, (ii) virtualize processor-side addresses to memory-side addresses, and (iii) facilitate coherent requests between different servers 105, bypassing the processing circuits 115. The system illustrated in FIG. 1E may be CXL 2.0 based, it may include distributed shared memory within a rack, and it may use the ToR server-linking switch 112 to natively connect with remote nodes.

The ToR server-linking switch 112 may have an additional network connection (e.g., an Ethernet connection, as illustrated, or another kind of connection, e.g., a wireless connection such as a WiFi connection or a 5G connection) for making connections to other servers or to clients. The server-linking switch 112 and the enhanced capability CXL switch 130 may each include a controller, which may be or include a processing circuit such as an ARM processor. The PCIe interfaces may comply with the PCIe 5.0 standard or with an earlier version, or with a future version of the PCIe standard, or interfaces complying with a different standard (e.g., NVDIMM-P, CCIX, or OpenCAPI) may be employed instead of PCIe interfaces. The memory modules 135 may include various memory types including DDR4 DRAM, HBM, LDPPR, NAND flash, or solid state drives (SSDs). The memory modules 135 may be partitioned or contain cache controllers to handle multiple memory types, and they may be in different form factors, such as HHHL, FHHL, M.2, U.2, mezzanine card, daughter card, E1.S, E1.L, E3.L, or E3.S.

In the embodiment of FIG. 1E, the enhanced capability CXL switch 130 may enable one-to-many and many-to-one switching, and it may enable a fine grain load-store interface at the flit (64-byte) level. Each server may have aggregated memory devices, each device being partitioned into multiple logical devices each with a respective LD-ID. A ToR switch 112 (which may be referred to as a “server-linking switch” enables the one-to-many functionality, and the enhanced capability CXL switch 130 in the server 105 enables the many-to-one functionality. The server-linking switch 112 may be a PCIe switch, or a CXL switch, or both. In such a system, the requesters may be the processing circuits 115 of the multiple servers 105, the responders may be the many aggregated memory modules 135. The hierarchy of two switches (with the master switch being, as mentioned above, the server-linking switch 112, and the slave switch being the enhanced capability CXL switch 130) enables any-any communication. Each of the memory modules 135 may have one physical function (PF) and as many as 16 isolated logical devices. In some embodiments the number of logical devices (e.g., the number of partitions) may be limited (e.g. to 16), and one control partition (which may be a physical function used for controlling the device) may also be present. Each of the memory modules 135 may be a Type 2 device with cxl.cache, cxl.mem and cxl.io and address translation service (ATS) implementation to deal with cache line copies that the processing circuits 115 may hold. The enhanced capability CXL switch 130 and a fabric manager may control discovery of the memory modules 135 and (i) perform device discovery, and virtual CXL software creation, and (ii) bind virtual to physical ports. As in the embodiments of FIGS. 1A-1D, the fabric manager may operate through connections over an SMBus sideband. An interface to the memory modules 135, which may be Intelligent Platform Management Interface (IPMI) or an interface that complies with the Redfish standard (and that may also provide additional features not required by the standard), may enable configurability.

As mentioned above, some embodiments implement a hierarchical structure with a master controller (which may be implemented in an FPGA or in an ASIC) being part of the server-linking switch 112, and a slave controller being part of the enhanced capability CXL switch 130, to provide a load-store interface (i.e., an interface having cache-line (e.g., 64 byte) granularity and that operates within the coherence domain without software driver involvement). Such a load-store interface may extend the coherence domain beyond an individual server, or CPU or host, and may involve a physical medium that is either electrical or optical (e.g., an optical connection with electrical-to-optical transceivers at both ends). In operation, the master controller (in the server-linking switch 112) boots (or “reboots”) and configures all the servers 105 on the rack. The master controller may have visibility on all the hosts, and it may (i) discover each server and discover how many servers 105 and memory modules 135 exist in the server cluster, (ii) configure each of the servers 105 independently, (iii) enable or disable some blocks of memory (e.g., enable or disable any of the memory modules 135) on different servers, based on, e.g., the configuration of the racks, (iv) control access (e.g., which server can control which other server), (v) implement flow control (e.g. it may, since all host and device requests go through the master, transmit data from the one server to another server, and perform flow control on the data), (vi) group or batch requests or packets (e.g., multiple cache requests being received by the master from different servers 105), and (vii) receive remote software updates, broadcast communications, and the like. In batch mode, the server-linking switch 112 may receive a plurality of packets destined for the same server (e.g., destined for a first server) and send them together (i.e., without a pause between them) to the first server. For example, server-linking switch 112 may receive a first packet, from a second server, and a second packet, from a third server, and transmit the first packet and the second packet, together, to the first server. Each of the servers 105 may expose, to the master controller, (i) an IPMI network interface, (ii) a system event log (SEL), and (iii) a board management controller (BMC), enabling the master controller to measure performance, to measure reliability on the fly, and to reconfigure the servers 105.

In some embodiments, a software architecture that facilitates a high availability load-store interface is used. Such a software architecture may provide reliability, replication, consistency, system coherence, hashing, caching, and persistence. The software architecture may provide reliability (in a system with a large number of servers), by performing periodic hardware checks of the CXL device components via IPMI. For example, the server-linking switch 112 may query a status of a memory server 150, through an IPMI interface, of the memory server 150, querying, for example, the power status (whether the power supplies of the memory server 150 are operating properly), the network status (whether the interface to the server-linking switch 112 is operating properly) and an error check status (whether an error condition is present in any of the subsystems of the memory server 150). The software architecture may provide replication, in that the master controller may replicate data stored in the memory modules 135 and maintain data consistency across replicas.

The software architecture may provide consistency in that the master controller may be configured with different consistency levels, and the server-linking switch 112 may adjust the packet format according to the consistency level to be maintained. For example, if eventual consistency is being maintained, the server-linking switch 112 may reorder the requests, while to maintain strict consistency, the server-linking switch 112 may maintain a scoreboard of all requests with precise timestamps at the switches. The software architecture may provide system coherence in that multiple processing circuits 115 may be reading from or writing to the same memory address, and the master controller may, to maintain coherence, be responsible for reaching the home node of the address (using a directory lookup) or broadcasting the request on a common bus.

The software architecture may provide hashing in that the server-linking switch 112 and the enhanced capability CXL switch may maintain a virtual mapping of addresses which may use consistent hashing with multiple hash functions to evenly map data to all CXL devices across all nodes at boot-up (or to adjust when one server goes down or comes up). The software architecture may provide caching in that the master controller may designate certain memory partitions (e.g., in a memory module 135 that includes HBM or a technology with similar capabilities) to act as cache (employing write-through caching or write-back caching, for example). The software architecture may provide persistence in that the master controller and the slave controller may manage persistent domains and flushes.

In some embodiments, the capabilities of the CXL switch are integrated into the controller of a memory module 135. In such an embodiment, the server-linking switch 112 may nonetheless act as a master and have enhanced features as discussed elsewhere herein. The server-linking switch 112 may also manage other storage devices in the system, and it may have an Ethernet connection (e.g., a 100 GbE connection), for connecting, e.g., to client machines that are not part of the PCIe network formed by the server-linking switch 112.

In some embodiments, the server-linking switch 112 has enhanced capabilities and also includes an integrated CXL controller. In other embodiments, the server-linking switch 112 is only a physical routing device, and each server 105 includes a master CXL controller. In such an embodiment, masters across different servers may negotiate a master-slave architecture. The intelligence functions of (i) the enhanced capability CXL switch 130 and of (ii) the server-linking switch 112 may be implemented in one or more FPGAs, one or more ASICs, one or more ARM processors, or in one or more SSD devices with compute capabilities. The server-linking switch 112 may perform flow control, e.g., by reordering independent requests. In some embodiments, because the interface is load-store, RDMA is optional but there may be intervening RDMA requests that use the PCIe physical medium (instead of 100 GbE). In such an embodiment, a remote host may initiate an RDMA request, which may be transmitted to the enhanced capability CXL switch 130 through the server-linking switch 112. The server-linking switch 112 and the enhanced capability CXL switch 130 may prioritize RDMA 4 KB requests, or CXL's flit (64-byte) requests.

As in the embodiment of FIGS. 1C and 1D, the enhanced capability CXL switch 130 may be configured to receive such an RDMA request and it may treat a group of memory modules 135 in the receiving server 105 (i.e., the server receiving the RDMA request) as its own memory space. Further, the enhanced capability CXL switch 130 may virtualize across the processing circuits 115 and initiate RDMA request on remote enhanced capability CXL switches 130 to move data back and forth between servers 105, without the processing circuits 115 being involved.

FIG. 1F shows a system similar to that of FIG. 1E, in which the processing circuits 115 are connected to the network interface circuits 125 through the enhanced capability CXL switch 130. As in the embodiment of FIG. 1D, in FIG. 1F the enhanced capability CXL switch 130, the memory modules 135, and the network interface circuits 125 are on an expansion socket adapter 140. The expansion socket adapter 140 may be a circuit board or module that plugs into an expansion socket, e.g., a PCIe connector 145, on the motherboard of the server 105. As such, the server may be any suitable server, modified only by the installation of the expansion socket adapter 140 in the PCIe connector 145. The memory modules 135 may be installed in connectors (e.g., M.2 connectors) on the expansion socket adapter 140. In such an embodiment, (i) the network interface circuits 125 may be integrated into the enhanced capability CXL switch 130, or (ii) each network interface circuit 125 may have a PCIe interface (the network interface circuit 125 may be a PCIe endpoint), so that the processing circuit 115 to which it is connected may communicate with the network interface circuit 125 through a root port to endpoint PCIe connection, and the controller 137 of the enhanced capability CXL switch 130 (which may have a PCIe input port connected to the processing circuit 115 and to the network interface circuits 125) may communicate with the network interface circuit 125 through a peer-to-peer PCIe connection.

According to an embodiment of the present invention, there is provided a system, including: a first server, including: a stored-program processing circuit, a cache-coherent switch, and a first memory module; and a second server; and a server-linking switch connected to the first server and to the second server, wherein: the first memory module is connected to the cache-coherent switch, the cache-coherent switch is connected to the server-linking switch, and the stored-program processing circuit is connected to the cache-coherent switch. In some embodiments, the server-linking switch includes a Peripheral Component Interconnect Express (PCIe) switch. In some embodiments, the server-linking switch includes a Compute Express Link (CXL) switch. In some embodiments, the server-linking switch includes a top of rack (ToR) CXL switch. In some embodiments, the server-linking switch is configured to discover the first server. In some embodiments, the server-linking switch is configured to cause the first server to reboot. In some embodiments, the server-linking switch is configured to cause the cache-coherent switch to disable the first memory module. In some embodiments, the server-linking switch is configured to transmit data from the second server to the first server, and to perform flow control on the data. In some embodiments, the system further includes a third server connected to the server-linking switch, wherein: the server-linking switch is configured to: receive a first packet, from the second server, receive a second packet, from the third server, and transmit the first packet and the second packet to the first server. In some embodiments, the system further includes a second memory module connected to the cache-coherent switch, wherein the first memory module includes volatile memory and the second memory module includes persistent memory. In some embodiments, the cache-coherent switch is configured to virtualize the first memory module and the second memory module. In some embodiments, the first memory module includes flash memory, and the cache-coherent switch is configured to provide a flash translation layer for the flash memory. In some embodiments, the first server includes an expansion socket adapter, connected to an expansion socket of the first server, the expansion socket adapter including: the cache-coherent switch; and a memory module socket, the first memory module being connected to the cache-coherent switch through the memory module socket. In some embodiments, the memory module socket includes an M.2 socket. In some embodiments: the cache-coherent switch is connected to the server-linking switch through a connector, and the connector is on the expansion socket adapter. According to an embodiment of the present invention, there is provided a method for performing remote direct memory access in a computing system, the computing system including: a first server, a second server, a third server, and a server-linking switch connected to the first server, to the second server, and to the third server, the first server including: a stored-program processing circuit, a cache-coherent switch, and a first memory module, the method including: receiving, by the server-linking switch, a first packet, from the second server, receiving, by the server-linking switch, a second packet, from the third server, and transmitting the first packet and the second packet to the first server. In some embodiments, the method further includes: receiving, by the cache-coherent switch, a straight remote direct memory access (RDMA) request, and sending, by the cache-coherent switch, a straight RDMA response. In some embodiments, the receiving of the straight RDMA request includes receiving the straight RDMA request through the server-linking switch. In some embodiments, the method further includes: receiving, by the cache-coherent switch, a read command, from the stored-program processing circuit, for a first memory address, translating, by the cache-coherent switch, the first memory address to a second memory address, and retrieving, by the cache-coherent switch, data from the first memory module at the second memory address. According to an embodiment of the present invention, there is provided a system, including: a first server, including: a stored-program processing circuit, cache-coherent switching means, a first memory module; and a second server; and a server-linking switch connected to the first server and to the second server, wherein: the first memory module is connected to the cache-coherent switching means, the cache-coherent switching means is connected to the server-linking switch, and the stored-program processing circuit is connected to the cache-coherent switching means.

FIG. 1G shows an embodiment in which each of a plurality of memory servers 150 is connected to a ToR server-linking switch 112, which may be a PCIe 5.0 CXL switch, as illustrated. As in the embodiment of FIGS. 1E and 1F, the server-linking switch 112 may include an FPGA or ASIC, and may provide performance (in terms of throughput and latency) superior to that of an Ethernet switch. As in the embodiment of FIGS. 1E and 1F, the memory server 150 may include a plurality of memory modules 135 connected to the server-linking switch 112 through a plurality of PCIe connectors. In the embodiment of FIG. 1G, the processing circuits 115 and system memory 120 may be absent, and the primary purpose of the memory server 150 may be to provide memory, for use by other servers 105 having computing resources.

In the embodiment of FIG. 1G, the server-linking switch 112 may group or batch multiple cache requests received from different memory servers 150, and it may group packets, reducing control overhead. The enhanced capability CXL switch 130 may include composable hardware building blocks to (i) route data to different memory types based on workload, and (ii) virtualize processor-side addresses (translating such addresses to memory-side addresses). The system illustrated in FIG. 1G may be CXL 2.0 based, it may include composable and disaggregated shared memory within a rack, and it may use the ToR server-linking switch 112 to provide pooled (i.e., aggregated) memory to remote devices.

The ToR server-linking switch 112 may have an additional network connection (e.g., an Ethernet connection, as illustrated, or another kind of connection, e.g., a wireless connection such as a WiFi connection or a 5G connection) for making connections to other servers or to clients. The server-linking switch 112 and the enhanced capability CXL switch 130 may each include a controller, which may be or include a processing circuit such as an ARM processor. The PCIe interfaces may comply with the PCIe 5.0 standard or with an earlier version, or with a future version of the PCIe standard, or a different standard (e.g., NVDIMM-P, CCIX, or OpenCAPI) may be employed instead of PCIe. The memory modules 135 may include various memory types including DDR4 DRAM, HBM, LDPPR, NAND flash, and solid state drives (SSDs). The memory modules 135 may be partitioned or contain cache controllers to handle multiple memory types, and they may be in different form factors, such as HHHL, FHHL, M.2, U.2, mezzanine card, daughter card, E1.S, E1.L, E3.L, or E3.S.

In the embodiment of FIG. 1G, the enhanced capability CXL switch 130 may enable one-to-many and many-to-one switching, and it may enable a fine grain load-store interface at the flit (64-byte) level. Each memory server 150 may have aggregated memory devices, each device being partitioned into multiple logical devices each with a respective LD-ID. The enhanced capability CXL switch 130 may include a controller 137 (e.g., an ASIC or an FPGA), and a circuit (which may be separate from, or part of, such an ASIC or FPGA) for device discovery, enumeration, partitioning, and presenting physical address ranges. Each of the memory modules 135 may have one physical function (PF) and as many as 16 isolated logical devices. In some embodiments the number of logical devices (e.g., the number of partitions) may be limited (e.g. to 16), and one control partition (which may be a physical function used for controlling the device) may also be present. Each of the memory modules 135 may be a Type 2 device with cxl.cache, cxl.mem and cxl.io and address translation service (ATS) implementation to deal with cache line copies that the processing circuits 115 may hold.

The enhanced capability CXL switch 130 and a fabric manager may control discovery of the memory modules 135 and (i) perform device discovery, and virtual CXL software creation, and (ii) bind virtual to physical ports. As in the embodiments of FIGS. 1A-1D, the fabric manager may operate through connections over an SMBus sideband. An interface to the memory modules 135, which may be Intelligent Platform Management Interface (IPMI) or an interface that complies with the Redfish standard (and that may also provide additional features not required by the standard), may enable configurability.

Building blocks, for the embodiment of FIG. 1G, may include (as mentioned above) a CXL controller 137 implemented on an FPGA or on an ASIC, switching to enable aggregating of memory devices (e.g., of the memory modules 135), SSDs, accelerators (GPUs, NICs), CXL and PCIe5 connectors, and firmware to expose device details to the advanced configuration and power interface (ACPI) tables of the operating system, such as the heterogeneous memory attribute table (HMAT) or the static resource affinity table SRAT.

In some embodiments, the system provides composability. The system may provide an ability to online and offline CXL devices and other accelerators based on the software configuration, and it may be capable of grouping accelerator, memory, storage device resources and rationing them to each memory server 150 in the rack. The system may hide the physical address space and provide transparent cache using faster devices like HBM and SRAM.

In the embodiment of FIG. 1G, the controller 137 of the enhanced capability CXL switch 130 may (i) manage the memory modules 135, (ii) integrate and control heterogeneous devices such as NICs, SSDs, GPUs, DRAM, and (iii) effect dynamic reconfiguration of storage to memory devices by power-gating. For example, the ToR server-linking switch 112 may disable power (i.e., shut off power, or reduce power) to one of the memory modules 135 (by instructing the enhanced capability CXL switch 130 to disable power to the memory module 135). The enhanced capability CXL switch 130 may then disable power to the memory module 135, upon being instructed, by the server-linking switch 112, to disable power to the memory module. Such disabling may conserve power, and it may improve the performance (e.g., the throughput and latency) of other memory modules 135 in the memory server 150. Each remote server 105 may see a different logical view of memory modules 135 and their connections based on negotiation. The controller 137 of the enhanced capability CXL switch 130 may maintain state so that each remote server maintains allotted resources and connections, and it may perform compression or deduplication of memory to save memory capacity (using a configurable chunk size). The disaggregated rack of FIG. 1G may have its own BMC. It also may expose an IPMI network interface and a system event log (SEL) to remote devices, enabling the master (e.g., a remote server using storage provided by the memory servers 150) to measure performance and reliability on the fly, and to reconfigure the disaggregated rack. The disaggregated rack of FIG. 1G may provide reliability, replication, consistency, system coherence, hashing, caching, and persistence, in a manner analogous to that described herein for the embodiment of FIG. 1E, with, e.g., coherence being provided with multiple remote servers reading from or writing to the same memory address, and with each remote server being configured with different consistency levels. In some embodiments, the server-linking switch maintains eventual consistency between data stored on a first memory server, and data stored on a second memory server. The server-linking switch 112 may maintain different consistency levels for different pairs of servers; for example, the server-linking switch may also maintain, between data stored on the first memory server, and data stored on a third memory server, a consistency level that is strict consistency, sequential consistency, causal consistency, or processor consistency. The system may employ communications in “local-band” (the server-linking switch 112) and “global-band” (disaggregated server) domains. Writes may be flushed to the “global band” to be visible to new reads from other servers. The controller 137 of the enhanced capability CXL switch 130 may manage persistent domains and flushes separately for each remote server. For example, the cache-coherent switch may monitor a fullness of a first region of memory (volatile memory, operating as a cache), and, when the fullness level exceeds a threshold, the cache-coherent switch may move data from the first region of memory to a second region of memory, the second region of memory being in persistent memory. Flow control may be handled in that priorities may be established, by the controller 137 of the enhanced capability CXL switch 130, among remote servers, to present different perceived latencies and bandwidths.

According to an embodiment of the present invention, there is provided a system, including: a first memory server, including: a cache-coherent switch, and a first memory module; and a second memory server; and a server-linking switch connected to the first memory server and to the second memory server, wherein: the first memory module is connected to the cache-coherent switch, and the cache-coherent switch is connected to the server-linking switch. In some embodiments, the server-linking switch is configured to disable power to the first memory module. In some embodiments: the server-linking switch is configured to disable power to the first memory module by instructing the cache-coherent switch to disable power to the first memory module, and the cache-coherent switch is configured to disable power to the first memory module, upon being instructed, by the server-linking switch, to disable power to the first memory module. In some embodiments, the cache-coherent switch is configured to perform deduplication within the first memory module. In some embodiments, the cache-coherent switch is configured to compress data and to store compressed data in the first memory module. In some embodiments, the server-linking switch is configured to query a status of the first memory server. In some embodiments, the server-linking switch is configured to query a status of the first memory server through an Intelligent Platform Management Interface (IPMI). In some embodiments, the querying of a status includes querying a status selected from the group consisting of a power status, a network status, and an error check status. In some embodiments, the server-linking switch is configured to batch cache requests directed to the first memory server. In some embodiments, the system further includes a third memory server connected to the server-linking switch, wherein the server-linking switch is configured to maintain, between data stored on the first memory server and data stored on the third memory server, a consistency level selected from the group consisting of strict consistency, sequential consistency, causal consistency, and processor consistency. In some embodiments, the cache-coherent switch is configured to: monitor a fullness of a first region of memory, and move data from the first region of memory to a second region of memory, wherein: the first region of memory is in volatile memory, and the second region of memory is in persistent memory. In some embodiments, the server-linking switch includes a Peripheral Component Interconnect Express (PCIe) switch. In some embodiments, the server-linking switch includes a Compute Express Link (CXL) switch. In some embodiments, the server-linking switch includes a top of rack (ToR) CXL switch. In some embodiments, the server-linking switch is configured to transmit data from the second memory server to the first memory server, and to perform flow control on the data. In some embodiments, the system further includes a third memory server connected to the server-linking switch, wherein: the server-linking switch is configured to: receive a first packet, from the second memory server, receive a second packet, from the third memory server, and transmit the first packet and the second packet to the first memory server. According to an embodiment of the present invention, there is provided a method for performing remote direct memory access in a computing system, the computing system including: a first memory server; a first server; a second server; and a server-linking switch connected to the first memory server, to the first server, and to the second server, the first memory server including: a cache-coherent switch, and a first memory module; the first server including: a stored-program processing circuit; the second server including: a stored-program processing circuit; the method including: receiving, by the server-linking switch, a first packet, from the first server; receiving, by the server-linking switch, a second packet, from the second server; and transmitting the first packet and the second packet to the first memory server. In some embodiments, the method further includes: compressing data, by the cache-coherent switch, and storing the data in the first memory module. In some embodiments, the method further includes: querying, by the server-linking switch, a status of the first memory server. According to an embodiment of the present invention, there is provided a system, including: a first memory server, including: a cache-coherent switch, and a first memory module; and a second memory server; and server-linking switching means connected to the first memory server and to the second memory server, wherein: the first memory module is connected to the cache-coherent switch, and the cache-coherent switch is connected to the server-linking switching means.

FIGS. 2A-2D are flow charts for various embodiments. In the embodiments of these flow charts, the processing circuits 115 are CPUs; in other embodiments they may be other processing circuits (e.g., GPUs). Referring to FIG. 2A, the controller 137 of a memory module 135 of the embodiment of FIGS. 1A and 1B, or the enhanced capability CXL switch 130 of any of the embodiments of FIGS. 1C-1G may virtualize across the processing circuit 115 and initiate an RDMA request on an enhanced capability CXL switch 130 in another server 105, to move data back and forth between servers 105, without involving a processing circuit 115 in either server (with the virtualization being handled by the controller 137 of the enhanced capability CXL switches 130). For example, at 205, the controller 137 of the memory module 135, or the enhanced capability CXL switch 130, generates an RDMA request for additional remote memory (e.g., CXL memory or aggregated memory); at 210, the network interface circuits 125 transmit the request to the ToR Ethernet switch 110 (which may have an RDMA interface), bypassing processing circuits; at 215, the ToR Ethernet switch 110 routes the RDMA request to the remote the server 105 for processing by the controller 137 of a memory module 135, or by a remote enhanced capability CXL switch 130, via RDMA access to remote aggregated memory, bypassing the remote processing circuit 115; at 220, the ToR Ethernet switch 110 receives the processed data and routes the data to the local memory module 135, or to the local enhanced capability CXL switch 130, bypassing the local processing circuits 115 via RDMA; and, at 222, the controller 137 of a memory module 135 of the embodiment of FIGS. 1A and 1B, or the enhanced capability CXL switch 130 receives the RDMA response straightly (e.g., without it being forwarded by the processing circuits 115).

In such an embodiment, the controller 137 of the remote memory module 135, or the enhanced capability CXL switch 130 of the remote the server 105, is configured to receive straight remote direct memory access (RDMA) requests and to send straight RDMA responses. As used herein, the controller 137 of the remote memory module 135 receiving, or the enhanced capability CXL switch 130 receiving, “straight RDMA requests” (or receiving such requests “straightly”) means receiving, by the controller 137 of the remote memory module 135, or by the enhanced capability CXL switch 130, such requests without their being forwarded or otherwise processed by a processing circuit 115 of the remote server, and sending, by the controller 137 of the remote memory module 135, or by the enhanced capability CXL switch 130, “straight RDMA responses” (or sending such requests “straightly”) means sending such responses without their being forwarded or otherwise processed by a processing circuit 115 of the remote server.

Referring to FIG. 2B, in another embodiment, RDMA may be performed with the processing circuit of the remote server being involved in the handling of the data. For example, at 225, a processing circuit 115 may transmit data or a workload request over Ethernet; at 230, the ToR Ethernet switch 110 may receive the request and route it to the corresponding server 105 of the plurality of servers 105; at 235, the request may be received, within the server, over port(s) of the network interface circuits 125 (e.g., 100 GbE-enabled NIC); at 240, the processing circuits 115 (e.g., x86 processing circuits) may receive the request from the network interface circuits 125; and, at 245, the processing circuits 115 may process the request (e.g., together), using DDR and additional memory resources via the CXL 2.0 protocol to share the memory (which, in the embodiment of FIGS. 1A and 1B, may be aggregated memory).

Referring to FIG. 2C, in the embodiment of FIG. 1E, RDMA may be performed with the processing circuit of the remote server being involved in the handling of the data. For example, at 225, a processing circuit 115 may transmit data or a workload request over Ethernet or PCie at 230, the ToR Ethernet switch 110 may receive the request and route it to the corresponding server 105 of the plurality of servers 105; at 235, the request may be received, within the server, over port(s) of the PCIe connector; at 240, the processing circuits 115 (e.g., x86 processing circuits) may receive the request from the network interface circuits 125; and, at 245, the processing circuits 115 may process the request (e.g., together), using DDR and additional memory resources via the CXL 2.0 protocol to share the memory (which, in the embodiment of FIGS. 1A and 1B, may be aggregated memory). At 250, the processing circuit 115 may identify a requirement to access memory contents (e.g., DDR or aggregated memory contents) from a different server; at 252 the processing circuit 115 may send the request for said memory contents (e.g., DDR or aggregated memory contents) from a different server, via a CXL protocol (e.g., CXL 1.1 or CXL 2.0); at 254, the request propagates through the local PCIe connector to the server-linking switch 112, which then transmits the request to a second PCIe connector of a second server on the rack; at 256, the second processing circuits 115 (e.g., x86 processing circuits) receive the request from the second PCIe connector; at 258, the second processing circuits 115 may process the request (e.g., retrieval of memory contents) together, using second DDR and second additional memory resources via the CXL 2.0 protocol to share the aggregated memory; and, at 260, the second processing circuits (e.g., x86 processing circuits) transmit the result of the request back to the original processing circuits via respective PCIe connectors and through the server-linking switch 112.

Referring to FIG. 2D, in the embodiment of FIG. 1G, RDMA may be performed with the processing circuit of the remote server being involved in the handling of the data. For example; at 225, a processing circuit 115 may transmit data or a workload request over Ethernet; at 230, the ToR Ethernet switch 110 may receive the request and route it to the corresponding server 105 of the plurality of servers 105; at 235, the request may be received, within the server, over port(s) of the network interface circuits 125 (e.g., 100 GbE-enabled NICs). At 262, a memory module 135 receives the request from the PCIe connector; at 264, the controller of the memory module 135 processes the request, using local memory; at 250, the controller of the memory module 135 identifies a requirement to access memory contents (e.g., aggregated memory contents) from a different server; at 252, the controller of the memory module 135 sends request for said memory contents (e.g., aggregated memory contents) from a different server via the CXL protocol; at 254 the request propagates through the local PCIe connector to the server-linking switch 112, which then transmits the request to a second PCIe connector of a second server on the rack; and at 266, the second PCIe connector provides access via the CXL protocol to share the aggregated memory to allow the controller of the memory module 135 to retrieve memory contents.

As used herein, a “server” is a computing system including at least one stored-program processing circuit (e.g., a processing circuit 115), at least one memory resource (e.g., a system memory 120), and at least one circuit for providing network connectivity (e.g., a network interface circuit 125). As used herein, “a portion of” something means “at least some of” the thing, and as such may mean less than all of, or all of, the thing. As such, “a portion of” a thing includes the entire thing as a special case, i.e., the entire thing is an example of a portion of the thing.

The background provided in the Background section of the present disclosure section is included only to set context, and the content of this section is not admitted to be prior art. Any of the components or any combination of the components described (e.g., in any system diagrams included herein) may be used to perform one or more of the operations of any flow chart included herein. Further, (i) the operations are example operations, and may involve various additional steps not explicitly covered, and (ii) the temporal order of the operations may be varied.

The term “processing circuit” or “controller means” is used herein to mean any combination of hardware, firmware, and software, employed to process data or digital signals. Processing circuit hardware may include, for example, application specific integrated circuits (ASICs), general purpose or special purpose central processing units (CPUs), digital signal processors (DSPs), graphics processing units (GPUs), and programmable logic devices such as field programmable gate arrays (FPGAs). In a processing circuit, as used herein, each function is performed either by hardware configured, i.e., hard-wired, to perform that function, or by more general purpose hardware, such as a CPU, configured to execute instructions stored in a non-transitory storage medium. A processing circuit may be fabricated on a single printed circuit board (PCB) or distributed over several interconnected PCBs. A processing circuit may contain other processing circuits; for example a processing circuit may include two processing circuits, an FPGA and a CPU, interconnected on a PCB.

As used herein, a “controller” includes a circuit, and a controller may also be referred to as a “control circuit” or a “controller circuit”. Similarly, a “memory module” may also be referred to as a “memory module circuit” or as a “memory circuit”. As used herein, the term “array” refers to an ordered set of numbers regardless of how stored (e.g., whether stored in consecutive memory locations, or in a linked list). As used herein, when a second number is “within Y%” of a first number, it means that the second number is at least (1−Y/100) times the first number and the second number is at most (1+Y/100) times the first number. As used herein, the term “or” should be interpreted as “and/or”, such that, for example, “A or B” means any one of “A” or “B” or “A and B”.

As used herein, when a method (e.g., an adjustment) or a first quantity (e.g., a first variable) is referred to as being “based on” a second quantity (e.g., a second variable) it means that the second quantity is an input to the method or influences the first quantity, e.g., the second quantity may be an input (e.g., the only input, or one of several inputs) to a function that calculates the first quantity, or the first quantity may be equal to the second quantity, or the first quantity may be the same as (e.g., stored at the same location or locations in memory) as the second quantity.

It will be understood that, although the terms “first”, “second”, “third”, etc., may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or section from another element, component, region, layer or section. Thus, a first element, component, region, layer or section discussed herein could be termed a second element, component, region, layer or section, without departing from the spirit and scope of the inventive concept.

Spatially relative terms, such as “beneath”, “below”, “lower”, “under”, “above”, “upper” and the like, may be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. It will be understood that such spatially relative terms are intended to encompass different orientations of the device in use or in operation, in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as “below” or “beneath” or “under” other elements or features would then be oriented “above” the other elements or features. Thus, the example terms “below” and “under” can encompass both an orientation of above and below. The device may be otherwise oriented (e.g., rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein should be interpreted accordingly. In addition, it will also be understood that when a layer is referred to as being “between” two layers, it can be the only layer between the two layers, or one or more intervening layers may also be present.

The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the inventive concept. As used herein, the terms “substantially,” “about,” and similar terms are used as terms of approximation and not as terms of degree, and are intended to account for the inherent deviations in measured or calculated values that would be recognized by those of ordinary skill in the art. As used herein, the singular forms “a” and “an” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising”, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items. Expressions such as “at least one of,” when preceding a list of elements, modify the entire list of elements and do not modify the individual elements of the list. Further, the use of “may” when describing embodiments of the inventive concept refers to “one or more embodiments of the present disclosure”. Also, the term “exemplary” is intended to refer to an example or illustration. As used herein, the terms “use,” “using,” and “used” may be considered synonymous with the terms “utilize,” “utilizing,” and “utilized,” respectively.

It will be understood that when an element or layer is referred to as being “on”, “connected to”, “coupled to”, or “adjacent to” another element or layer, it may be directly on, connected to, coupled to, or adjacent to the other element or layer, or one or more intervening elements or layers may be present. In contrast, when an element or layer is referred to as being “directly on”, “directly connected to”, “directly coupled to”, or “immediately adjacent to” another element or layer, there are no intervening elements or layers present.

Any numerical range recited herein is intended to include all sub-ranges of the same numerical precision subsumed within the recited range. For example, a range of “1.0 to 10.0” or “between 1.0 and 10.0” is intended to include all subranges between (and including) the recited minimum value of 1.0 and the recited maximum value of 10.0, that is, having a minimum value equal to or greater than 1.0 and a maximum value equal to or less than 10.0, such as, for example, 2.4 to 7.6. Any maximum numerical limitation recited herein is intended to include all lower numerical limitations subsumed therein and any minimum numerical limitation recited in this specification is intended to include all higher numerical limitations subsumed therein.

Although exemplary embodiments of system and method for managing memory resources have been specifically described and illustrated herein, many modifications and variations will be apparent to those skilled in the art. Accordingly, it is to be understood that system and method for managing memory resources constructed according to principles of this disclosure may be embodied other than as specifically described herein. The invention is also defined in the following claims, and equivalents thereof.

Claims

1. A system, comprising:

a first server, comprising: a stored-program processing circuit, a network interface circuit, a cache-coherent switch, and a first memory module,
wherein: the first memory module is connected to the cache-coherent switch, the cache-coherent switch is connected to the network interface circuit, and the stored-program processing circuit is connected to the cache-coherent switch.

2. The system of claim 1, further comprising a second memory module connected to the cache-coherent switch, wherein the first memory module comprises volatile memory and the second memory module comprises persistent memory.

3. The system of claim 2, wherein the cache-coherent switch is configured to virtualize the first memory module and the second memory module.

4. The system of claim 3, wherein the first memory module comprises flash memory, and the cache-coherent switch is configured to provide a flash translation layer for the flash memory.

5. The system of claim 2, wherein the cache-coherent switch is configured to:

monitor an access frequency of a first memory location in the first memory module;
determine that the access frequency exceeds a first threshold; and
copy the contents of the first memory location into a second memory location, the second memory location being in the second memory module.

6. The system of claim 5, wherein the second memory module comprises high bandwidth memory (HBM).

7. The system of claim 6, wherein the cache-coherent switch is configured to maintain a table for mapping processor-side addresses to memory-side addresses.

8. The system of claim 1, further comprising:

a second server, and
a network switch connected to first server and the second server.

9. The system of claim 8, wherein the network switch comprises a top of rack (ToR) Ethernet switch.

10. The system of claim 8, wherein the cache-coherent switch is configured to receive remote direct memory access (RDMA) requests, and to send RDMA responses.

11. The system of claim 10, wherein the cache-coherent switch is configured to receive the remote direct memory access (RDMA) requests through the ToR Ethernet switch and through the network interface circuit, and to send RDMA responses through the ToR Ethernet switch and through the network interface circuit.

12. The system of claim 1, wherein the cache-coherent switch is configured to support a Compute Express Link (CXL) protocol.

13. The system of claim 1, wherein the first server comprises an expansion socket adapter, connected to an expansion socket of the first server, the expansion socket adapter comprising:

the cache-coherent switch; and
a memory module socket,
the first memory module being connected to the cache-coherent switch through the memory module socket.

14. The system of claim 13, wherein the memory module socket comprises an M.2 socket.

15. The system of claim 13, wherein the network interface circuit is on the expansion socket adapter.

16. A method for performing remote direct memory access in a computing system, the computing system comprising:

a first server and a second server,
the first server comprising: a stored-program processing circuit, a network interface circuit, a cache-coherent switch, and a first memory module,
the method comprising: receiving, by the cache-coherent switch, a remote direct memory access (RDMA) request, and sending, by the cache-coherent switch, a RDMA response.

17. The method of claim 16, wherein:

the computing system further comprises an Ethernet switch, and
the receiving of the RDMA request comprises receiving the RDMA request through the Ethernet switch.

18. The method of claim 16, further comprising:

receiving, by the cache-coherent switch, a read command, from the stored-program processing circuit, for a first memory address,
translating, by the cache-coherent switch, the first memory address to a second memory address, and
retrieving, by the cache-coherent switch, data from the first memory module at the second memory address.

19. The method of claim 16, further comprising:

receiving data, by the cache-coherent switch,
storing, by the cache-coherent switch, the data in the first memory module, and
sending, by the cache-coherent switch, to the stored-program processing circuit, a command for invalidating a cache line.

20. A system, comprising:

a first server, comprising: a stored-program processing circuit, a network interface circuit, cache-coherent switching means, and a first memory module,
wherein: the first memory module is connected to the cache-coherent switching means, the cache-coherent switching means is connected to the network interface circuit, and the stored-program processing circuit is connected to the cache-coherent switching means.
Patent History
Publication number: 20210311871
Type: Application
Filed: Sep 18, 2020
Publication Date: Oct 7, 2021
Inventors: Krishna Teja Malladi (San Jose, CA), Andrew Chang (Los Altos, CA), Byung Hee Choi (Fremont, CA), Ehsan M. Najafabadi (San Jose, CA)
Application Number: 17/026,082
Classifications
International Classification: G06F 12/0802 (20060101); G06F 13/28 (20060101); H04L 12/931 (20060101);