Disaggregated Memory Pooling Across Commodity-DRAM Compute Sleds
The system dynamically allocates and aggregates memory across multiple sleds with RPUs and processors, addressing memory limitations in datacenters and HPC systems by enabling flexible, efficient, and cost-effective memory management with hot-swapping capabilities.
Patent Information
- Application Number
- US19/763635
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2026-06-18
- Filing Date
- 2026-08-03
- Publication Date
- 2026-11-26
AI Technical Summary
Datacenter and high-performance-computing systems face challenges in efficiently managing memory resources, as memory installed in individual servers is limited by processor slots, leading to stranded memory and inefficiencies in allocating and scaling memory capacity to meet varying demand.
A system comprising memory-compute sleds with RPUs, a switch, and a processor that dynamically allocates memory across multiple sleds, exposing a capacity exceeding any individual sled's limit, supports hot-swapping, and manages resource utilization and QoS policies to adapt to changing demands.
Enables flexible memory allocation, supports hot-swapping, and optimizes resource utilization, ensuring continuous memory availability and cost-effectiveness by aggregating memory capacity from multiple sleds, even with heterogeneous configurations.
Smart Images

Figure US20260377224A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This Application claims the benefit of: U.S. Provisional Patent Application No. 64 / 114,908, filed Jul. 19, 2026, which is incorporated herein by reference in its entirety; U.S. Provisional Patent Application No. 64 / 094,326, filed Jun. 18, 2026; U.S. Provisional Patent Application No. 64 / 090,660, filed Jun. 15, 2026; U.S. Provisional Patent Application No. 64 / 038,992, filed Apr. 14, 2026; U.S. Provisional Patent Application No. 64 / 031,378, filed Apr. 6, 2026; U.S. Provisional Patent Application No. 64 / 030,256, filed Apr. 5, 2026; U.S. Provisional Patent Application No. 64 / 013,582, filed Mar. 22, 2026; U.S. Provisional Patent Application No. 63 / 991,122, filed Feb. 25, 2026; U.S. Provisional Patent Application No. 63 / 931,124, filed Dec. 4, 2025; U.S. Provisional Patent Application No. 63 / 906,709, filed Oct. 28, 2025; U.S. Provisional Patent Application No. 63 / 895,053, filed Oct. 7, 2025; U.S. Provisional Patent Application No. 63 / 874,393, filed Sep. 2, 2025; And U.S. Provisional Patent Application No. 63 / 856,653, filed Aug. 3, 2025. This Application is also a Continuation-In-Part of U.S. Patent Application No. 19 / 713,725, filed Jun. 18, 2026, which is incorporated herein by reference in its entirety. U.S. Patent Application No. 19 / 713,725 is a Continuation-In-Part of U.S. Patent Application No. 19 / 371,952, filed Oct. 28, 2025, a Continuation-In-Part of U.S. Patent Application No. 19 / 315,596, filed Aug. 31, 2025, and claims the benefit of U.S. Provisional Patent Application No. 63 / 826,342, filed Jun. 18, 2025. U.S. Patent Application No. 19 / 315,596 is a Continuation-In-Part of U.S. Patent Application No. 19 / 017,420, filed Jan. 11, 2025, now U.S. Patent No. 12,613,826. U.S. Patent Application No. 19 / 371,952 is a Continuation-In-Part of U.S. Patent Application No. 19 / 017,420, and claims the benefit of: U.S. Provisional Patent Application No. 63 / 895,053, filed Oct. 7, 2025; U.S. Provisional Patent Application No. 63 / 874,393, filed Sep. 2, 2025; U.S. Provisional Patent Application No. 63 / 856,653, filed Aug. 3, 2025; U.S. Provisional Patent Application No. 63 / 826,342, filed Jun. 18, 2025; U.S. Provisional Patent Application No. 63 / 811,859, filed May 25, 2025; U.S. Provisional Patent Application No. 63 / 784,089, filed Apr. 5, 2025; U.S. Provisional Patent Application No. 63 / 752,940, filed Feb. 3, 2025; U.S. Provisional Patent Application No. 63 / 743,658, filed Jan. 10, 2025; and U.S. Provisional Patent Application No. 63 / 734,031, filed Dec. 13, 2024. U.S. Patent Application No. 19 / 017,420 is a Continuation-In-Part of U.S. Patent Application No. 18 / 981,443, filed Dec. 13, 2024, and claims the benefit of: U.S. Provisional Patent Application No. 63 / 719,640, filed 12 Nove. 2024; U.S. Provisional Patent Application No. 63 / 701,554, filed 30 Sep. 2024; U.S. Provisional Patent Application No. 63 / 695,957, filed 18 Sep. 2024; U.S. Provisional Patent Application No. 63 / 678,045, filed 31 Jul. 2024; U.S. Provisional Patent Application No. 63 / 652,165, filed 27 May 2024; and U.S. Provisional Patent Application No. 63 / 641,404, filed 1 May 2024. U.S. Patent Application No. 18 / 981,443 claims the benefit of U.S. Provisional Patent Application No. 63 / 609,833, filed 13 Dec. 2023.BACKGROUND
[0002] Datacenters and high-performance-computing (HPC) systems deploy servers that include CPUs and locally-attached DRAM. Server memory modules are assembled from DRAM components packaged in various forms, including single-die package components, dual-die package components, and three-dimensional stacked components, and are installed in physical memory slots associated with a processor. DRAM modules are produced in a range of capacities and at a range of costs per unit of capacity. Datacenter hardware is deployed in modular form factors, including blades and sleds installed in a chassis, to support serviceability and incremental deployment. Such systems include management software for deploying and maintaining the modular hardware.
[0003] Compute Express Link (CXL) is an interconnect technology that provides coherent communication between a host and a device. CXL defines separate sub-protocols, including a sub-protocol for input / output transactions, a sub-protocol by which a device accesses host memory coherently, and a sub-protocol by which a host accesses memory of a device. Devices that attach over CXL are categorized at a high level into types that, respectively, include a coherent cache, include a coherent cache together with device-attached memory, and present memory to a host. Later versions of CXL define switching among multiple hosts and devices. Peripheral Component Interconnect Express (PCIe) is a serial interconnect that provides communication between a processor and peripheral devices over point-to-point links and through switches.SUMMARY
[0004] Datacenter and HPC workloads consume large and varying amounts of memory, while memory installed in an individual server is bounded by the processors and the memory slots of the server and is often stranded within the server in which it resides. Some implementations pool memory contributed by multiple memory-compute sleds and make a memory capacity available to consumers over a switch, with a unit on each memory-compute sled that performs translations and a processor that allocates memory to consumers as demand changes.
[0005] In various implementations, a system comprises memory-compute sleds, each comprising no more than four CPUs, at least 32 GB of DRAM components accessible within an address space utilized by the CPUs, and at least one RPU configured to perform translations; a switch coupled to the RPUs of the memory-compute sleds and to entities; and a processor configured to monitor resource utilization across the memory-compute sleds and to dynamically allocate memory from the memory-compute sleds to the entities, wherein the RPU is capable of exposing, to at least one of the entities, a memory capacity that exceeds a memory capacity of any individual memory-compute sled.
[0006] In other implementations, a system comprises memory-compute sleds, each comprising no more than four CPUs, at least 32 GB of DRAM components accessible within an address space utilized by the CPUs, and at least one RPU configured to perform translations; a switch coupled to the RPUs of the memory-compute sleds and to entities; and a processor configured to monitor resource utilization across the memory-compute sleds and to dynamically allocate memory from the memory-compute sleds to the entities, wherein the RPU is capable of exposing, to at least one of the entities, a memory capacity that exceeds a memory capacity of any individual memory-compute sled, and wherein less than 15% of an aggregate DRAM capacity of the memory-compute sleds is based on 3D stack DRAM components.
[0007] In yet other implementations, a method comprises operating memory-compute sleds, each comprising no more than four CPUs, each operatively associated with at least 32 GB of DRAM components, and at least one RPU performing translations; communicating, by a switch, with the RPUs of the memory-compute sleds and with entities; monitoring, by a processor, resource utilization across the memory-compute sleds; allocating dynamically, by the processor, memory from the memory-compute sleds to the entities; exposing, by the RPU to at least one of the entities, a memory capacity exceeding a memory capacity of any individual memory-compute sled; and supporting hot-swapping of the memory-compute sleds.BRIEF DESCRIPTION OF THE DRAWINGS
[0008] FIG. 1 illustrates an example of a system comprising a memory pool with memory-compute sleds coupled to entities via a switch;
[0009] FIGS. 2 and 3 illustrate two examples of systems supporting hot-swapping of memory-compute sleds with different switch implementations;
[0010] FIG. 4A is an example of an initialization phase of a hot-removal process for a memory-compute sled;
[0011] FIG. 4B is an example of a replacement memory allocation phase of a hot-removal process for a memory-compute sled;
[0012] FIG. 5A is an example of a data migration phase of a hot-removal process for a memory-compute sled;
[0013] FIG. 5B is an example of a physical disconnection phase of a hot-removal process for a memory-compute sled;
[0014] FIGS. 6A and 6B illustrate an initialization flow for a Memory-Compute Sled;
[0015] FIG. 7 illustrates an example of a modular sled-based chassis that incorporates a CXL fabric alongside Ethernet and Storage fabrics;
[0016] FIG. 8 illustrates an example of communication flows and operational modes of Memory-Compute Sleds within a modular chassis;
[0017] FIG. 9 illustrates a sled reset flow;
[0018] FIG. 10 illustrates an alternative example of a modular chassis utilizing an RPU functioning as a switch;
[0019] FIG. 11 illustrates an example of a system supporting hot-swapping of memory-compute sleds containing dual xPUs;
[0020] FIG. 12 illustrates an example of a system supporting hot-swapping of memory-compute sleds;
[0021] FIG. 13A illustrates an example of a method for adjusting a ratio between processing cores;
[0022] FIG. 13B illustrates an example of a method for rendering a first subset of processing cores inaccessible to software executing on a second subset of the processing cores;
[0023] FIG. 14 illustrates an example of a system comprising a memory pool of CPUs coupled to DRAM components, and an RPU that exposes pooled memory capacity to an entity;
[0024] FIG. 15 illustrates an example of a system comprising a memory pool of CPUs coupled to DRAM components, and an RPU that exposes pooled memory capacity to entities over a UALink-based network;
[0025] FIG. 16A illustrates an example of a system that translates between first and second CXL.mem;
[0026] FIG. 16B illustrates an example of a transaction flow diagram (TFD) demonstrating translations between CXL.mem M2S MemRdData request and CXL.mem M2S MemRd request, with optional speculative memory reads;
[0027] FIG. 17A illustrates an example of a system comprising a processor, having a buffer / cache, which translates between first and second CXL.mem;
[0028] FIG. 17B illustrates an example of a TFD demonstrating translations between a first CXL.mem M2S MemSpecRd and a second CXL.mem M2S MemSpecRd, with an optional initiation of a third CXL.mem M2S MemSpecRd;
[0029] FIG. 17C illustrates an example of a TFD demonstrating translations between CXL.mem M2S MemSpecRd and CXL.mem M2S MemRd*;
[0030] FIG. 18A illustrates an example of a system that translates between three CXL.mem interfaces;
[0031] FIG. 18B illustrates an example of a TFD demonstrating translations between four CXL.mem M2S requests;
[0032] FIG. 19A illustrates an example of a system comprising a processor / switch with a CXL device configured to enable external entities to access resources coupled to the processor;
[0033] FIG. 19B illustrates an example of a TFD demonstrating translations between first and second CXL.mem transactions comprising MemRd*;
[0034] FIG. 20A illustrates an example of a system comprising a processor configured to communicate with multiple hosts according to CXL.mem; and
[0035] FIG. 20B illustrates an example of a TFD demonstrating two CXL.mem transactions directed to different memories coupled to a processor.DETAILED DESCRIPTION
[0036] Some implementations relate to disaggregated memory systems in which DRAM distributed across multiple physical units is pooled and made available to consumers over a switched interconnect. In datacenter and high-performance-computing deployments, allocating memory to consumers may involve technical considerations including aggregating memory capacity distributed across multiple physical units, exposing that capacity within an address space utilized by a consumer, and matching available memory to changing demand of the consumers. Some implementations may address one or more such technical considerations, among others. In some implementations, a modest number of processing units, DRAM, and a translation element may be carried by a physical unit, and capacity contributed by multiple such units may be aggregated and made available to a consumer.
[0037] In various implementations, a system comprising: memory-compute sleds, each comprising: no more than four central processing units (CPUs), at least 32 GB of dynamic random-access memory (DRAM) components accessible within an address space utilized by the CPUs, and at least one Resource Provisioning Unit (RPU) configured to perform translations; a switch coupled to the RPUs of the memory-compute sleds and to entities; a processor configured to: monitor resource utilization across the memory-compute sleds, and dynamically allocate memory from the memory-compute sleds to the entities; and wherein the RPU is capable of exposing, to at least one of the entities, a memory capacity that exceeds a memory capacity of any individual memory-compute sled. The RPU may be implemented as an ASIC, as an FPGA, as one or more chiplets, or as a controller, and the processor may be implemented as instructions executed by a host, as a controller, or as circuitry within the switch. The translations performed by the RPU may include translating an address carried by an access of an entity, within an address space utilized by the entity, to an address within an address space utilized by a CPU of a memory-compute sled, for example by: (1) receiving the access from the entity through the switch; (2) selecting, based on the address, a memory-compute sled and an address within the address space utilized by a CPU of the selected memory-compute sled; and (3) directing the access to the selected memory-compute sled using the translated address. The monitoring and dynamic allocation performed by the processor may include: (1) collecting utilization data of the memory-compute sleds; (2) determining, based on the utilization data and demand of an entity, an amount of memory to assign to the entity; and (3) assigning memory of one or more memory-compute sleds to the entity and updating allocation data. Exposing a memory capacity that exceeds a memory capacity of any individual memory-compute sled may include presenting, to an entity, an address region of a size selected independently of an amount of DRAM installed in a single memory-compute sled, and the presented capacity may be advertised without being backed in its entirety by installed DRAM at a time of presentation. The translation, monitoring, allocation, and exposure may operate on a per-sled and per-entity basis independently of a total number of memory-compute sleds, of a number of CPUs in a memory-compute sled within the recited limit, and of a DRAM capacity of a memory-compute sled at or above the recited minimum, so that the same operations may apply across a system having a single memory-compute sled and a system having many memory-compute sleds. At a low end, a memory-compute sled may include a single CPU and the recited minimum DRAM capacity; at a high end, a memory-compute sled may include four or more CPUs and a larger DRAM capacity, and the system may include many memory-compute sleds. Potential advantages of some implementations may include, without limitation, one or more of aggregating memory capacity contributed by multiple memory-compute sleds, presenting to an entity a memory capacity larger than that of a single memory-compute sled, and adjusting memory assigned to an entity as demand changes. A given implementation need not provide any particular advantage.
[0038] In some implementations of the system, the system is configured to support hot-swapping of memory-compute sleds, and the processor is further configured to redistribute memory allocations to support the hot-swapping. Hot-swapping may include removing or inserting a memory-compute sled while the system continues operating. Redistributing memory allocations may include moving an allocation assigned to a memory-compute sled being removed to another memory-compute sled before removal completes, or moving an allocation onto an inserted memory-compute sled. A potential technical effect may be continuity of memory availability to an entity across a change in the memory-compute sleds.
[0039] In some implementations of the system, the processor is further configured to: detect insertion of an additional memory-compute sled, initialize the additional memory-compute sled to register its memory capacity, and integrate the newly available memory into the system's available memory capacity. The processor may detect when a new memory-compute sled is inserted into the system and initialize the newly inserted sled, which may include registering its available memory capacity, CPU configuration, and RPU capabilities. The processor may then integrate the newly available memory with the system's existing memory capacity, making it available for allocation to entities, optionally based on workload demands.
[0040] In some implementations of the system, at least some of the RPUs are configured to: communicate with the entities based on CXL.mem, communicate with their respective CPUs based on CXL.cache, and translate between physical addresses within Host Physical Address (HPA) spaces utilized by the entities and physical addresses within HPA spaces utilized by the no more than four CPUs of the memory-compute sleds; wherein CXL denotes Compute Express Link. The RPUs may present, to an entity through the switch, a memory device accessed according to CXL.mem, while accessing a CPU of a memory-compute sled according to CXL.cache. An RPU may, for example: (1) receive, according to CXL.mem, an access carrying an address within an HPA space utilized by the entity; (2) translate the address to an address within an HPA space utilized by a CPU of the memory-compute sled; and (3) access DRAM of the CPU according to CXL.cache using the translated address. The translation may use a mapping maintained by the RPU between the HPA space utilized by the entity and the HPA space utilized by the CPU. In some implementations, an RPU may translate among more than two HPA spaces, presenting a memory device to multiple entities that utilize respective HPA spaces. A potential technical effect may be access by an entity to DRAM attached to a CPU of a memory-compute sled across a difference between the HPA space utilized by the entity and the HPA space utilized by the CPU.
[0041] In some implementations of the system, the switch comprises a CXL switch configured to communicate with the RPUs and the entities utilizing messages based on CXL. The switch may include a CXL switch that routes messages based on CXL between the RPUs and the entities. The CXL switch may be a discrete switch device, or switching circuitry integrated with the processor.
[0042] In some implementations of the system, the processor is further configured to implement Quality-of-Service (QoS) policies to promote fair resource allocation among entities with varying priority levels, and to dynamically allocate the memory from the memory-compute sleds to the entities based on at least one of workload demands, orchestrator demands, or hypervisor demands. The processor may implement QoS policies to manage resource allocation among multiple entities. These policies may consider various priority levels assigned to different entities and their workloads. The QoS implementation may include weighted resource allocation, minimum resource guarantees, and dynamic priority adjustments based on workload characteristics. The processor may monitor compliance with the QoS policies and adjust resource allocation to maintain resource distribution according to the QoS policies.
[0043] In some implementations of the system, the system is configured to support multiple memory-compute sleds with heterogeneous CPU and DRAM configurations, enabling incremental upgrades and optimizing cost-effectiveness; and wherein the processor is further configured to allocate the memory from the memory-compute sleds to the entities based on the heterogeneous CPU and DRAM configurations of the memory-compute sleds. The system may support concurrent operation of memory-compute sleds with different specifications, which may include variations in CPU types, CPU counts, DRAM capacities, and DRAM types, while maintaining compatibility within the system architecture. This heterogeneous support enables system operators to perform incremental upgrades by replacing individual sleds with newer technology while keeping existing sleds operational. The processor may select a memory-compute sled for an allocation to an entity based on the CPU and DRAM configuration of the memory-compute sled, for example assigning an allocation to a memory-compute sled having a DRAM capacity that accommodates the allocation, which may help match sled capabilities to workload requirements and may improve the cost-effectiveness of the system.
[0044] In some implementations, the system further comprises a telemetry module configured to collect performance metrics from the memory-compute sleds, and wherein the processor is further configured to utilize the performance metrics to improve resource allocation decisions, and to dynamically allocate the memory from the memory-compute sleds to the entities based on at least one of workload demands, orchestrator demands, or hypervisor demands. The telemetry module may be implemented as instructions executed by the processor, as instructions executed by a memory-compute sled, or as circuitry. The telemetry module may collect various performance metrics from the memory-compute sleds, which may include resource usage statistics of each entity and workload, CPU utilization, memory bandwidth usage, latency measurements, power consumption, temperature readings, and error rates. The processor may analyze the metrics to inform its resource allocation decisions and help identify performance bottlenecks, predict resource needs, and improve workload placement across the available memory-compute sleds.
[0045] In some implementations of the system, the processor is further configured to selectively power down or place in a low-power state underutilized memory-compute sleds to reduce energy consumption of the system. The processor may implement power management to reduce system energy consumption. When it identifies underutilized memory-compute sleds, it may initiate power-saving actions such as placing them in low-power states or powering them down completely. The processor may consider factors such as current workload distribution, predicted resource needs, and power consumption patterns when making these decisions. The power management may help reduce operational costs while maintaining active resources to meet workload demands.
[0046] In some implementations of the system, at least one RPU of the memory-compute sleds is further configured to: implement a mirroring protocol between at least two of the memory-compute sleds, duplicate write operations to their respective DRAM components, and distribute read operations among the DRAM components. The RPU may implement a mirroring protocol that maintains data redundancy across two or more memory-compute sleds by duplicating write operations to maintain identical copies of data in the DRAM components of different sleds. For read operations, the RPU may distribute the reads among the mirrored DRAM components to balance the workload and may improve read performance based on parallel access.
[0047] In some implementations of the system, at least one RPU of the memory-compute sleds is further configured to: implement an erasure coding scheme across at least two of the memory-compute sleds, distribute data and parity information among their respective DRAM components during write operations, and reconstruct data during read operations when at least one of the memory-compute sleds is unavailable. The RPU may implement an erasure coding scheme across memory-compute sleds to provide data protection at a lower capacity overhead than full mirroring. During write operations, the RPU may distribute both data and parity information across the DRAM components of different sleds according to the erasure coding scheme. When reading data, if one or more sleds become unavailable, the RPU may use the distributed parity information to reconstruct the missing data.
[0048] In some implementations of the system, at least one of the entities comprises a software agent configured to collect telemetry data regarding memory utilization of the entity and report the telemetry data to the processor. The entities may include software agents that monitor memory utilization. These agents may be realized using different methods, such as agents compiled into the kernel, drivers, dynamic kernel modules, user space code, background processes, or integrated components within the entities. The agents may collect various types of telemetry data about memory usage and report this data to the processor, at intervals or in response to a change in memory utilization, for use in memory allocation decisions.
[0049] In some implementations of the system, the telemetry data comprises at least one of: bandwidth utilization of local memory, capacity utilization of local memory, page fault statistics, or swap file usage. The software agents may collect various types of memory-related telemetry data, which may include measurements of how much bandwidth is being used in accessing local memory, how much of the local memory capacity is being utilized, statistics about page faults occurring in the system, and information about usage of swap files. These metrics may provide insight into the memory demands of the entities and help identify memory bottlenecks.
[0050] In some implementations of the system, the processor is further configured to adjust allocation of memory from the memory-compute sleds to the entities based on the reported telemetry data. The processor may use the telemetry data reported by the software agents to make informed decisions about memory allocation. The processor may analyze trends in the telemetry data to predict future memory needs, identify applications that could benefit from additional memory resources, and detect applications that have excess memory allocated. These analyses may inform both immediate and longer-term memory allocation decisions, which may improve overall system performance and resource utilization.
[0051] Some implementations relate to a memory pool assembled from commodity DRAM. In some implementations, an aggregate DRAM capacity of the memory-compute sleds may be composed predominantly of commodity DRAM components, and a fraction of that aggregate DRAM capacity that is based on 3D stack DRAM components may be kept low. Such composition may relate to a cost per unit capacity of the pooled memory capacity, among other technical considerations.
[0052] In various implementations, a system comprising: memory-compute sleds, each comprising: no more than four central processing units (CPUs), at least 32 GB of dynamic random-access memory (DRAM) components accessible within an address space utilized by the CPUs, and at least one Resource Provisioning Unit (RPU) configured to perform translations; a switch coupled to the RPUs of the memory-compute sleds and to entities; a processor configured to: monitor resource utilization across the memory-compute sleds, and dynamically allocate memory from the memory-compute sleds to the entities; wherein the RPU is capable of exposing, to at least one of the entities, a memory capacity that exceeds a memory capacity of any individual memory-compute sled; and wherein less than 15% of an aggregate DRAM capacity of the memory-compute sleds is based on three-dimensional (3D) stack DRAM components. The aggregate DRAM capacity of the memory-compute sleds may be composed predominantly of commodity DRAM components, which may include, without limitation, single-die package DRAM components, dual-die package DRAM components, or other DRAM components produced in volume for servers. The commodity DRAM components are not limited to single-die package or dual-die package DRAM components, and may include further DRAM component types produced in volume at a comparable cost per unit capacity, including DRAM component types that may emerge over time. A fraction of the aggregate DRAM capacity that is based on 3D stack DRAM components may be less than 15%, and may be zero; where it is zero, the aggregate DRAM capacity may include DRAM components other than 3D stack DRAM components. Composing the aggregate DRAM capacity predominantly of commodity DRAM components may relate to a cost per unit capacity of the pooled memory capacity. Commodity DRAM components may have a simpler structure and may be subject to reduced thermal stress, which may relate to reliability of the pooled memory capacity. Potential advantages of some implementations may include, without limitation, one or more of a reduced cost per unit capacity of a pooled memory capacity and a simpler DRAM component structure. A given implementation need not provide any particular advantage.
[0053] In some implementations of the system, at least 70% of the aggregate DRAM capacity is based on single-die package (SDP) DRAM components, and wherein the memory-compute sleds collectively comprise at least 2 TB of the SDP DRAM components. The SDP DRAM components may include DDR5 SDP components. SDP DRAM components have a single die per package and no inter-die connections, which may relate to a simpler structure and reduced thermal stress, and in turn to reliability of the pooled memory capacity. The at least 2 TB of SDP DRAM components may be distributed across the memory-compute sleds, for example with a portion contributed by each of multiple memory-compute sleds.
[0054] In some implementations of the system, at least 70% of the aggregate DRAM capacity is based on dual-die package (DDP) DRAM components, and wherein the memory-compute sleds collectively comprise at least 4 TB of the DDP DRAM components. The DDP DRAM components may include DDR5 DDP components, having two dies per package and a single inter-die boundary. The at least 4 TB of DDP DRAM components may be distributed across the memory-compute sleds.
[0055] In some implementations of the system, the DRAM components are organized into DRAM modules, each CPU is coupled to at least 4 physical memory slots configured to receive the DRAM modules, an average capacity of a DRAM module does not exceed 128 GB, and the memory capacity exposed by the RPU to the at least one of the entities exceeds 512 GB. The DRAM modules may include server DRAM modules received in the physical memory slots. Coupling each CPU to at least 4 physical memory slots may relate to a per-CPU installed DRAM capacity, and an average DRAM module capacity at or below 128 GB with such slot counts may support a memory capacity exposed by the RPU exceeding 512 GB across the memory-compute sleds. A potential technical effect may be a memory capacity exceeding 512 GB assembled from DRAM modules of moderate capacity.
[0056] In some implementations of the system, the DRAM components are organized into DRAM modules, each CPU is coupled to at least 4 physical memory slots configured to receive the DRAM modules, an average capacity of a DRAM module does not exceed 256 GB, and the memory capacity exposed by the RPU to the at least one of the entities exceeds 1 TB. An average DRAM module capacity at or below 256 GB with at least 4 physical memory slots per CPU may support a memory capacity exposed by the RPU exceeding 1 TB across the memory-compute sleds.
[0057] In some implementations of the system, the aggregate DRAM capacity exceeds 800 GB, and the DRAM components exhibit an average unit price per gigabyte that does not exceed three times an average unit price per gigabyte of a lowest-cost DRAM component technology in volume production for servers in data centers. The average unit price per gigabyte may be determined over the DRAM components installed across the memory-compute sleds. The lowest-cost DRAM component technology in volume production for servers in data centers may refer to a DRAM component technology then in volume production for servers at the lowest cost per gigabyte, i.e., a then-current commodity DRAM technology. Selecting DRAM components within the recited price relationship may relate to a cost per unit capacity of a pooled memory capacity exceeding 800 GB.
[0058] In some implementations of the system, the memory capacity exposed by the RPU to the at least one of the entities is exposed as byte-addressable memory accessible by load operations and store operations of the at least one of the entities; wherein the memory capacity is backed by DRAM components of two or more of the memory-compute sleds; and wherein the RPU is further configured to map an access, directed by the at least one of the entities to the byte-addressable memory, onto DRAM components of a memory-compute sled, of the two or more of the memory-compute sleds, other than a memory-compute sled comprising the RPU. The memory capacity may be exposed as byte-addressable memory that an entity accesses by load operations and store operations, for example processor load and store instructions directed at addresses within an address region presented to the entity, rather than by message-passing or remote-procedure operations. The memory capacity may be backed by DRAM components of two or more of the memory-compute sleds, and the RPU may map an access directed by an entity onto DRAM components of a memory-compute sled other than the memory-compute sled that comprises the RPU, for example by: (1) determining, from the address of the access, a target memory-compute sled among the two or more memory-compute sleds; and (2) forwarding the access toward the target memory-compute sled through the switch. The mapping may use a mapping maintained by the RPU between addresses of the byte-addressable memory and the memory-compute sleds. A potential technical effect may be presentation to an entity of a byte-addressable memory capacity larger than the DRAM capacity of the memory-compute sled that comprises the RPU.
[0059] Some implementations relate to a method of operating a disaggregated memory system. The operations of the method may be performed by a hardware substrate, such as the RPUs, the switch, and the processor, where the processor may include a processor coupled to a memory storing instructions that, when executed, cause one or more of the operations to be performed.
[0060] In various implementations, a method comprising: operating memory-compute sleds, each comprising no more than four central processing units (CPUs), each operatively associated with at least 32 GB of dynamic random-access memory (DRAM) components, and at least one Resource Provisioning Unit (RPU) performing translations; communicating, by a switch, with the RPUs of the memory-compute sleds and with entities; monitoring, by a processor, resource utilization across the memory-compute sleds; allocating dynamically, by the processor, memory from the memory-compute sleds to the entities; exposing, by the RPU to at least one of the entities, a memory capacity exceeding a memory capacity of any individual memory-compute sled; and supporting hot-swapping of the memory-compute sleds. The operations of the method may be performed by the RPUs, the switch, and the processor of a system. The processor may include a processor coupled to a memory storing instructions that, when executed, cause the monitoring and the allocating to be performed. Operating the memory-compute sleds may include each CPU of a memory-compute sled accessing DRAM components operatively associated with the CPU, for example DRAM components attached to the CPU.
[0061] In some implementations, the method further comprises detecting insertion of an additional memory-compute sled, initializing the additional memory-compute sled to register its memory capacity, and integrating the newly available memory into an available memory capacity of the memory-compute sleds. The detecting, initializing, and integrating may be performed by the processor, and integrating may include adding the registered memory capacity to an available memory capacity from which allocations are made.
[0062] In some implementations, the method further comprises communicating, by at least some of the RPUs, with the entities based on CXL.mem, communicating with their respective CPUs based on CXL.cache, and translating between physical addresses within Host Physical Address (HPA) spaces utilized by the entities and physical addresses within HPA spaces utilized by the no more than four CPUs of the memory-compute sleds; wherein CXL denotes Compute Express Link. The communicating and translating may be performed by circuitry of the RPUs, by instructions executed by the RPUs, or by a combination of circuitry and instructions.
[0063] In some implementations, the method further comprises allocating dynamically the memory from the memory-compute sleds to the entities based on at least one of workload demands, orchestrator demands, or hypervisor demands; redistributing memory allocations to support the hot-swapping; implementing Quality-of-Service (QoS) policies to promote fair resource allocation among entities with varying priority levels; collecting, by a telemetry module, performance metrics from the memory-compute sleds; and utilizing the performance metrics to improve resource allocation decisions. The allocating, redistributing, implementing of the QoS policies, and utilizing may be performed by the processor, and the collecting may be performed by the telemetry module.
[0064] In some implementations, the method further comprises allocating dynamically the memory from the memory-compute sleds to the entities based on at least one of workload demands, orchestrator demands, or hypervisor demands; redistributing memory allocations to support the hot-swapping; and selectively powering down or placing in a low-power state underutilized memory-compute sleds to reduce energy consumption. The allocating, redistributing, and selectively powering down or placing in a low-power state may be performed by the processor.
[0065] In some implementations, the method further comprises implementing, by at least one RPU of the memory-compute sleds, a mirroring protocol between at least two of the memory-compute sleds, duplicating write operations to their respective DRAM components, and distributing read operations among the DRAM components. The implementing, duplicating, and distributing may be performed by an RPU of the memory-compute sleds.
[0066] In some implementations, the method further comprises implementing, by at least one RPU of the memory-compute sleds, an erasure coding scheme across at least two of the memory-compute sleds, distributing data and parity information among their respective DRAM components during write operations, and reconstructing data during read operations when at least one of the memory-compute sleds is unavailable. The implementing, distributing, and reconstructing may be performed by an RPU of the memory-compute sleds.
[0067] In some implementations, the method further comprises collecting, by a software agent of at least one of the entities, telemetry data regarding memory utilization of the entity, and reporting the telemetry data to the processor; wherein the telemetry data comprises at least one of: bandwidth utilization of local memory, capacity utilization of local memory, page fault statistics, or swap file usage. The collecting and reporting may be performed by the software agent, and the telemetry data may be reported to the processor at intervals or in response to a change in memory utilization of the entity.
[0068] In some implementations, the method further comprises adjusting allocation of memory from the memory-compute sleds to the entities based on the reported telemetry data, including: increasing an allocation of memory to an entity, of the entities, in response to the reported telemetry data of the entity indicating at least one of page fault statistics or swap file usage exceeding a level; and reducing an allocation of memory to an entity, of the entities, in response to the reported telemetry data of the entity indicating capacity utilization of local memory below a level. The level against which the reported telemetry data is compared may be a configurable threshold, a policy-defined value, or a value derived from historical telemetry data of the entity. The adjusting may be performed at intervals or in response to a reported change in the telemetry data. A potential technical effect may be matching memory assigned to an entity to memory demand indicated by telemetry data reported by the entity.
[0069] Each memory-compute sled may include one or more RPUs, and the switch is coupled to the RPUs. When a memory-compute sled includes multiple RPUs, the switch may be coupled to a non-empty subset of these RPUs. FIG. 1 illustrates an example of a system comprising a memory pool with memory-compute sleds coupled to entities via a switch, such as a CXL switch or another type of switch. The memory pool contains memory-compute sleds (shown as Memory-Compute Sled.1 through Memory-Compute Sled.m) wherein each sled integrates no more than four CPUs, mainstream DRAM components, and at least one RPU. Memory-Compute Sled.1 showcases a detailed configuration with up to four CPUs interconnected in a mesh topology, allowing communication between the CPUs. Each CPU is coupled to its own set of mainstream DRAM components with a minimum total capacity of 32GB for the set. An RPU is coupled to the CPUs and interfaces with the switch, enabling translations for memory access. The system may be coupled to various types of entities through the switch, such as accelerators (e.g., GPUs) as shown in Entity.1, and hosts (e.g., CPUs, Compute Servers) as shown in Entity.k. The RPUs in the memory-compute sleds expose to one or more of these entities memory capacities exceeding the memory capacity of any individual memory-compute sled. Memory-Compute Sled.m illustrates an alternative configuration wherein each RPU serves a CPU, with each CPU having its own set of mainstream DRAM components. This configuration maintains similar basic functionality while potentially offering different performance characteristics or resource management capabilities. The system may include processor-based monitoring and management capabilities that track resource utilization across the memory-compute sleds and dynamically allocate memory from the sleds to the entities, optionally based on workload demands, which allows for efficient use of the memory pool resources and adaptability to changing application requirements.
[0070] The following system describes hot-swappable memory-compute units that can be serviced or replaced without disrupting overall system operation. Coordinating memory resources across hosts that run separate OSs and manage distinct address spaces introduces complexity in resource management and fault isolation, and maintaining data integrity and continuous memory access during removal or replacement of a component while a system continues operating is a technical problem in disaggregated memory architectures. RPUs may serve as protocol translation and address management components that enable entities to access memory resources across memory-compute sleds while maintaining isolation between different operating system domains.
[0071] In various implementations, a system comprising: first and second memory-compute sleds comprising: first and second Resource Provisioning Units (RPUs), respectively, coupled over first and second interfaces configured to communicate according to CXL.cache to first and second CPUs, respectively, operatively associated with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32GB each, respectively; wherein CXL denotes Compute Express Link; a switch coupled to the first and second RPUs via third and fourth interfaces configured to communicate according to CXL.mem, respectively; the switch is further coupled, over fifth and sixth interfaces configured to communicate according to CXL.mem, to first and second entities, respectively; wherein the first and second entities are populated with third and fourth DRAMs having a capacity of at least 16GB each, respectively, and are configured to utilize memory of at least one of the first or second memory-compute sleds; and wherein the first and second CPUs are configured to run first and second operating systems, respectively; and wherein the system is configured to support hot-swapping of at least one of the first or second memory-compute sleds.
[0072] The system architecture may enable flexible memory disaggregation wherein entities such as accelerators, GPUs, or other compute devices access memory resources provided by the memory-compute sleds through the switch. The RPUs may perform protocol translation between CXL.mem (used for memory access from entities through the switch) and CXL.cache (used for cache-coherent communication with the CPUs), as well as address translation between different HPA spaces. The separation of OSs on the first and second CPUs may provide fault isolation and independent resource management, which may facilitate hot-swapping by allowing one memory-compute sled to be removed while another memory-compute sled continues operation. The capacity values recited for the DRAMs represent example minimum configurations, and deployments may include larger memory capacities depending on workload requirements. A CPU being operatively associated with a DRAM may include a range of arrangements: the DRAM may be included within the memory-compute sled that includes the CPU; the DRAM may be directly attached to the CPU, such as over one or more memory channels; the DRAM may be packaged together with the CPU; or the DRAM may be coupled to the CPU while residing external to the memory-compute sled. Accordingly, a memory-compute sled may include the DRAM, or may be coupled to a DRAM that resides external to the memory-compute sled.
[0073] A memory-compute sled may be a modular hardware unit that includes at least one CPU, DRAM, and at least one RPU, and that may be gracefully disconnected or removed as a complete unit without causing data corruption or software errors to a remainder of the system.
[0074] In some implementations of the system, the first and second RPUs are configured to translate physical addresses within host physical address (HPA) spaces utilized by the first and second entities to physical addresses within HPA spaces utilized by the first and second CPUs, respectively; wherein the first and second RPUs are further configured to expose mappings that associate address ranges within the HPA spaces utilized by the first and second entities with address ranges within the HPA spaces utilized by the first and second CPUs; and wherein the first and second RPUs are further configured to update the mappings during removal or replacement of at least one of the first or second memory-compute sleds while the system continues to operate. The translations may enable entities operating with their own HPA spaces to access memory managed by CPUs operating with different HPA spaces. The translations may be implemented utilizing lookup tables, page tables, hash functions, base-and-offset calculations, or programmable translation circuitry. The mappings may associate address ranges in the HPA space utilized by an entity with corresponding address ranges in the HPA space utilized by a CPU, and the mappings may be configured during system initialization and updated during operation. Updating the mappings during removal or replacement of a memory-compute sled may redirect affected address ranges to a remaining or replacement memory-compute sled, which may allow administrators or automated management to remove a memory-compute sled for maintenance, upgrade, or replacement while the system continues to operate.
[0075] In some examples, the system implements a modular memory pool architecture that supports hot-swapping of memory-compute sleds, which may allow for flexible and dynamic resource management in datacenter environments. The memory pool may include multiple memory-compute sleds, each containing at least an RPU, a CPU, and DRAM. The RPUs may be coupled from a first side to a switch (such as a CXL switch via interfaces configured to communicate according to CXL.mem) and from a second side to CPUs (such as via interfaces configured to communicate according to CXL.cache). The system's design with separate OSs on the first and second CPUs, and optionally without direct memory access between the memory-compute sleds, provides isolation and flexibility allowing for separate management of each memory-compute sled.
[0076] Moreover, the separate OSs on the first and second CPUs facilitate hot-swapping by providing isolation and separation between the memory-compute sleds. Each CPU runs its own OS, which allows the operations and memory management of one host to continue operating while the other host is removed. Thus, this isolation supports the removal or replacement of one memory-compute sled without disrupting the functioning of the other memory-compute sled(s) or its associated host system. Additionally, running separate OSs on the CPUs helps in containing faults or issues within that memory-compute sled and its host system, allowing the other OS and its memory-compute sled to continue functioning, thereby contributing to the overall stability of the system during hot-swapping operations.
[0077] The system is designed to support hot-swapping, allowing for the dynamic removal and replacement of memory-compute sleds while the system is running. The OSs, along with the isolated memory channels and optionally the lack of direct memory access over CXL between the memory-compute sleds, support this smooth transition. The system can maintain its operations with minimal disruption, as each OS manages its own memory resources. The interfaces configured to communicate according to CXL.mem, and the isolated memory access, contribute to maintaining clear boundaries and memory utilization across the system, facilitating the dynamic reallocation of resources and continuous system operation during hot-swapping events.
[0078] In some implementations of the system, the switch comprises a CXL switch, and the first and second RPUs are configured to: receive CXL.mem messages from at least one of the entities via the switch, translate the CXL.mem messages to CXL.cache messages, and send the CXL.cache messages to the respective CPU. The first and second RPUs may translate between CXL.mem and CXL.cache. When an entity initiates a memory operation, the entity may send a CXL.mem message (that is part of a CXL.mem transaction) to the CXL switch, the switch may route the message to an RPU, optionally based on a set of criteria such as the physical address, or based on identifiers such as in a Port-Based Routing (PBR) switch, and upon receiving the CXL.mem message the RPU may: (1) interpret the CXL.mem message and extract information such as the operation type, physical address or identifier, and data for write operations; (2) map the physical address carried by the CXL.mem message to a corresponding address in the memory space of the CPU, optionally utilizing address translation tables exposed by the RPU; and (3) construct, based on the operation type and the mapped address, a corresponding CXL.cache message and send the CXL.cache message to the CPU over the interface configured to communicate according to CXL.cache.
[0079] In some implementations of the system, the first and second CPUs are configured to operate separately such that the first and second operating systems maintain separate memory management states for the first and second memory-compute sleds, respectively; and wherein the second memory-compute sled is configured to continue serving memory requests received from at least one of the entities via the switch during removal or replacement of the first memory-compute sled. The separate operations of the first and second CPUs allow for the isolation of processes and memory management between the memory-compute sleds, such that the first and second OSs may maintain separate memory management states, including separate page tables and separate memory protection domains. This separation means that when one memory-compute sled is removed for maintenance or replacement, the other memory-compute sled may continue to function without interruption, serving memory requests received from the entities via the switch. The separation of operations enables the removal process to happen without requiring the system to be powered down or the other memory-compute sled to cease its operations, which may support the system's availability and reliability during hot-swapping.
[0080] In some implementations of the system, the first and second RPUs are configured to expose distinct address translation tables for the first and second memory-compute sleds, respectively; and wherein the system is configured to reassign memory resources during removal or replacement of at least one of the first or second memory-compute sleds by redirecting, via the switch, memory requests of at least one of the entities from a memory-compute sled being removed to a remaining one of the memory-compute sleds. By isolating memory operations between the first and second memory-compute sleds, the system may dynamically reassign memory resources during the hot-swapping process. This reassignment capability may prevent memory access conflicts or resource shortages during the removal of a memory-compute sled. The system may redirect memory requests to available resources in the remaining memory-compute sled(s), maintaining memory access for the entities. The isolation may be achieved through separate address spaces managed by the different OSs, through the RPUs exposing distinct address translation tables for different memory-compute sleds, or through the switch routing transactions to destinations based on address ranges or identifiers.
[0081] In some implementations of the system, the third and fourth interfaces are configured to convey memory access traffic for the first and second memory-compute sleds, respectively, such that memory access traffic of the first memory-compute sled and memory access traffic of the second memory-compute sled are handled separately; and wherein the first and second operating systems are configured to reallocate memory resources of the first and second memory-compute sleds, respectively, during the hot-swapping process. The third and fourth interfaces configured to communicate according to CXL.mem may enable different memory access management processes, which handle memory operations within their respective domain, reducing interference between memory-compute sleds. During hot-swapping, the separate management may allow memory accesses to continue, as transactions may be rerouted or handled separately, enabling ongoing operation while removing or replacing a memory-compute sled. Moreover, each OS manages its respective memory resources, which facilitates dynamic reallocation during hot-swapping. These separate managements may enable the system to adjust memory allocations based on current usage and availability, improving resource utilization. During the removal, replacement, or insertion of a memory-compute sled, the OSs may reallocate memory dynamically to balance the load and maintain system performance.
[0082] In some implementations of the system, the system is further configured to redistribute workloads between the first and second memory-compute sleds during removal or replacement of a memory-compute sled by migrating at least one of processing tasks or memory-intensive operations from a memory-compute sled being removed to a remaining one of the memory-compute sleds; and wherein the first and second operating systems are configured to maintain separate address spaces for the first and second memory-compute sleds, respectively. The system's ability to dynamically redistribute workloads between the first and second memory-compute sleds during hot-swapping may enable continuous operation. This dynamic redistribution may involve reallocating processing tasks and memory usage based on the current system state and resource availability, such as migrating processing tasks or memory-intensive operations from a memory-compute sled being removed to a remaining memory-compute sled. By managing workloads across the memory-compute sleds, the system may maintain operation and performance when one memory-compute sled is being replaced or serviced. Moreover, the separate address space management handled by the first and second OSs may prevent memory conflicts, which may support system stability during hot-swapping. This design enables each memory-compute sled to operate within its own memory space, avoiding conflicts that could arise from shared memory management. By maintaining isolated memory domains, the system may support stable and reliable hot-swapping.
[0083] In some implementations, the system further comprises a management module configured to: initiate a hot-removal process for the first memory-compute sled, migrate data from the first memory-compute sled to the second memory-compute sled, and signal when the first memory-compute sled can be safely removed. The management module may coordinate removal of a memory-compute sled from an active memory pool. The hot-removal process may include several steps. The management module may receive a request to remove a memory-compute sled, either from an administrator or as part of an automated maintenance routine. The management module may mark the targeted memory-compute sled as preparing for removal, which may prevent new memory allocations on the targeted memory-compute sled. The management module may coordinate transfer of data from the memory-compute sled being removed to other memory-compute sleds, which may include identifying active memory regions, allocating equivalent space on a destination memory-compute sled, copying data from the source to the destination, and updating mapping tables exposed by the RPUs to reflect the new data locations. After data migration, the management module may verify that data has been transferred and that no active memory references to the memory-compute sled being removed remain. The management module may then signal that the memory-compute sled is safe to remove, such as a software notification to an administrator or a physical indicator on the memory-compute sled.
[0084] In some implementations of the system, the system is further configured to: detect insertion of a third memory-compute sled, initialize the third memory-compute sled, and integrate available memory of the third memory-compute sled to available memory of a memory pool comprising the first and second memory-compute sleds. Adding a memory-compute sled may include several steps. The system may include hardware and software mechanisms to detect insertion of a memory-compute sled, which may include monitoring physical connections such as power and data interfaces and receiving signals when a memory-compute sled is plugged in. Once a memory-compute sled is detected, the system may initialize it, which may include powering up the memory-compute sled, performing hardware checks, booting the CPU and loading its OS, initializing the RPU, and establishing communication between components of the memory-compute sled and a remainder of the system. The system may then integrate the resources of the memory-compute sled to the memory pool, such as identifying the amount and characteristics of available memory, updating a global memory map, configuring the switch to route memory transactions to the memory-compute sled, and updating the address translation tables exposed by the RPUs to incorporate the new memory ranges. The system may then redistribute memory loads across the memory-compute sleds, which may improve resource utilization.
[0085] In some implementations of the system, the first and second memory-compute sleds comprise different hardware specifications, the different hardware specifications comprising at least one of: different memory capacities, different memory technologies, different processing-core counts, or different hardware accelerators; and wherein the system is further configured to direct a workload to one of the first or second memory-compute sleds based on a correspondence between a requirement of the workload and a hardware specification of the one of the first or second memory-compute sleds. The system's support for heterogeneous memory-compute sleds may provide flexibility in resource allocation and system configuration. This heterogeneity may manifest in several ways. Memory-compute sleds may have different amounts of DRAM, for example one memory-compute sled may be populated with 1TB of DRAM while another may be populated with 2TB of DRAM or more. Memory-compute sleds may use different memory technologies, such as DDR4, DDR5, HBM, or persistent memory. The CPUs in different memory-compute sleds may vary in clock speed, number of cores, cache size, and instruction-set extensions (e.g., AVX, TSX). Some memory-compute sleds may include hardware accelerators or co-processors, such as FPGAs or AI acceleration units. Memory-compute sleds may have different I / O configurations, potentially including varying numbers or types of network interfaces or storage connections. This heterogeneity may allow the system to be tailored to specific workload requirements. For example, a memory-intensive workload may be directed to a memory-compute sled with higher memory capacity, a compute-intensive workload may be directed to a memory-compute sled with a higher processing-core count, and a specialized workload, such as AI inference, may be directed to a memory-compute sled with an applicable hardware accelerator. The RPUs and a management module may abstract the hardware differences while exposing a memory pool to the entities. Additionally or alternatively, the RPUs and the management module may expose native capabilities or properties via an application programming interface (API) to enable advanced users to leverage these native capabilities.
[0086] In some implementations of the system, the first and second RPUs are installed into the first and second memory-compute sleds, respectively, in a form factor conforming to one of: a Card Electromechanical (CEM) specification, an Open Compute Project (OCP) card specification, a mezzanine card specification, or a chip-on-motherboard configuration; and wherein at least one of the first or second memory-compute sleds comprises a slot configured to receive a corresponding one of the first or second RPUs in the form factor. The RPU may be implemented in various physical form factors to accommodate different system designs and requirements. A Card Electromechanical (CEM) specification may be a standardized form factor for CXL devices, wherein CEM cards may plug into CXL-compatible slots on a board of the memory-compute sled, providing a modular and upgradeable arrangement. An Open Compute Project (OCP) card may adhere to specifications developed by the Open Compute Project, offering standardized dimensions and connectors that may improve interoperability across platforms. A mezzanine card may be a smaller form factor that mounts parallel to a board of the memory-compute sled in a mezzanine slot, which may allow compact integration in a memory-compute sled. In a chip-on-motherboard configuration, the RPU may be a surface-mounted component on a board of the memory-compute sled, which may offer a compact arrangement and lower manufacturing cost for large-scale deployments. These form factors may have different trade-offs in modularity, serviceability, cost, and performance. The choice of form factor may depend on available space, thermal management requirements, serviceability options, manufacturing considerations, and signal integrity and latency. A slot configured to receive the RPU may allow the RPU to be replaced during removal or replacement of a corresponding memory-compute sled.
[0087] In some implementations of the system, the first and second memory-compute sleds are configured to be field-serviceable such that at least one of the first or second memory-compute sleds is removable from and insertable into the system during operation of the system; wherein the system comprises blind-mate connectors configured to establish power connections and data connections to a memory-compute sled upon insertion of the memory-compute sled; and wherein the system is configured to detect insertion or removal of a memory-compute sled and to trigger a corresponding initialization or shutdown procedure. The field-serviceability of memory-compute sleds may enable flexible system maintenance. Field-serviceability may involve several design considerations and mechanisms, such as one or more of: (i) each memory-compute sled may be designed as a self-contained unit that is inserted into or removed from the system chassis, which may include hot-swappable power connections, blind-mate data connectors that engage when the memory-compute sled is inserted, and toolless or minimal-tool handling; (ii) the memory-compute sled and the system chassis may be designed to maintain cooling when a memory-compute sled is removed, preventing thermal issues in remaining active components; (iii) the power distribution system may support hot-plugging, allowing memory-compute sleds to be coupled to or disconnected from power while a remainder of the system remains operational; (iv) the system may migrate data from a memory-compute sled before its removal, preventing data loss during servicing; (v) the system may isolate faults within a memory-compute sled, preventing issues in one memory-compute sled from affecting operation of others; (vi) each memory-compute sled may include visual indicators, such as LEDs, to show operational status and whether removal is safe; (vii) the system may detect when a memory-compute sled is removed or inserted, triggering a corresponding initialization or shutdown procedure; or (viii) the system may support updating firmware or software on individual memory-compute sleds without a full system shutdown. This field-serviceability may support maintenance scenarios such as replacing failed components within a memory-compute sled, upgrading individual memory-compute sleds to newer hardware, swapping memory-compute sleds between systems to reallocate resources, and adding or removing memory-compute sleds to scale system capacity. By enabling these operations without a full system shutdown, the field-serviceable design may contribute to system availability and flexible resource management in datacenter environments.
[0088] In some implementations of the system, the switch comprises a CXL switch, and the switch is integrated within a modular chassis comprising the first and second memory-compute sleds, wherein the modular chassis comprises a backplane providing power distribution and CXL connectivity between the switch and sled slots configured to receive the first and second memory-compute sleds. The backplane may include power rails that distribute power from one or more power supply units to the sled slots and to the switch, as well as signal traces or connectors that carry CXL signals between the switch and a sled slot. The sled slots may include blind-mate connectors that establish electrical connections when a memory-compute sled is inserted, supporting hot-swap operations. The backplane may also include management interfaces that allow a baseboard management controller (BMC) to monitor and control the memory-compute sleds and the switch. An integrated arrangement may reduce cabling, may improve signal integrity by shortening trace lengths, and may simplify deployment and maintenance relative to an arrangement wherein the switch is external to the chassis. The modular chassis may support various memory-compute sled configurations based on workload requirements.
[0089] In various implementations, a system comprising: first and second memory-compute sleds; the first and second memory-compute sleds comprise: first and second Resource Provisioning Units (RPUs), respectively, coupled to first and second CPUs over first and second interfaces configured to communicate according to CXL.cache, respectively, operatively associated with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32GB each, respectively; wherein CXL denotes Compute Express Link; the first and second RPUs are further coupled to a switch via third and fourth respective interfaces configured to communicate according to CXL.mem; the switch is coupled over fifth and sixth interfaces to first and second respective entities; wherein the first and second entities are populated with third and fourth respective DRAMs having a capacity of at least 16GB each, and are configured to utilize memory of at least one of the first or second memory-compute sleds; and wherein the first and second CPUs are configured to run first and second operating systems, the first memory-compute sled further comprises a third CPU, the first CPU is coupled to the third CPU over an inter-socket link (ISoL), and the first RPU is not directly connected to the third CPU utilizing CXL.cache; and wherein the system is configured to support hot-swapping of at least one of the first or second memory-compute sleds. This system describes a memory-compute sled configuration wherein the first memory-compute sled includes the first CPU and the third CPU coupled over the inter-socket link (ISoL). The asymmetric CXL connectivity, wherein the first RPU is coupled to the first CPU according to CXL.cache and is not directly connected to the third CPU according to CXL.cache, may create opportunities for load balancing and NUMA-aware allocation. The third CPU may access memory resources through the first CPU over the ISoL, or the system may route certain transactions through the first CPU to utilize its direct CXL.cache connection to the first RPU. This configuration may be applied wherein the first memory-compute sled handles higher memory traffic, as the third CPU provides additional compute capacity while the first RPU manages protocol translation and address mapping for external memory access requests.
[0090] In some implementations of the system, the system is further configured to: monitor transaction queue depths and processing latencies of the first and third CPUs, track cache hit rates and coherency traffic conveyed over the inter-socket link between the first and third CPUs, and dynamically adjust routing of CXL.cache transactions between the first and third CPUs based on the monitored transaction queue depths, processing latencies, cache hit rates, and coherency traffic; wherein the adjusting comprises applying a weighted distribution in which weights for the first and third CPUs are adjusted based on the monitored transaction queue depths, processing latencies, cache hit rates, and coherency traffic, and based on a transaction type comprising at least one of a read transaction, a write transaction, a cacheable transaction, or a non-cacheable transaction. The monitoring of transaction queue depths, processing latencies, cache hit rates, and coherency traffic may enable the system to make informed routing decisions in the asymmetric multi-CPU configuration. Transaction queue depths may indicate how many pending transactions a CPU is handling, with higher depths potentially indicating congestion. Processing latencies may reflect how quickly a CPU completes transactions, which may vary with workload and resource availability. Cache hit rates may indicate how effectively a CPU's cache hierarchy serves requests. Coherency traffic conveyed over the inter-socket link may indicate the overhead of maintaining cache coherency between the first and third CPUs. Routing of CXL.cache transactions between the first and third CPUs may be performed by a controller, which may be implemented as a finite state machine in the first memory-compute sled or as firmware executing on an embedded microcontroller. The controller may apply a weighted distribution by maintaining a weight for the first CPU and a weight for the third CPU, and may adjust the weights by: (1) sampling the transaction queue depths and processing latencies of the first and third CPUs; (2) sampling the cache hit rates and the coherency traffic conveyed over the inter-socket link; (3) increasing the weight for routing transactions to the third CPU when a queue depth or processing latency of the first CPU exceeds a value relative to the third CPU; and (4) selecting, for a given transaction, a target CPU according to the weights and a transaction type of the given transaction. The weighted distribution may instead be implemented as a weighted round-robin in which the weights are adjusted during operation. Considering the transaction type may route a non-cacheable transaction differently from a cacheable transaction, as different transaction types may have different performance characteristics on each CPU. Adjusting the routing based on the monitored metrics may distribute transaction load across the first and third CPUs and may reduce congestion at one of the first or third CPUs.
[0091] In some implementations of the system, the system is further configured to: route CXL.cache requests mainly to the first CPU over the first interface, and distribute cache invalidation messages to both the first and third CPUs over the inter-socket link to maintain cache coherency across a coherent memory domain shared by the first and third CPUs. Routing CXL.cache requests mainly to the first CPU over the first interface may utilize the direct CXL.cache connection between the first RPU and the first CPU, which may reduce latency for the requests. Because the first and third CPUs share a coherent memory domain over the inter-socket link, cache invalidation messages may be distributed to both the first and third CPUs to maintain coherency. When a cacheline is modified or invalidated due to a CXL.cache transaction, both the first and third CPUs may receive invalidation notifications, so that a cached copy in either CPU's cache hierarchy is updated or invalidated. This may balance the latency benefit of the direct CXL.cache connection with the coherency requirements of the multi-CPU configuration.
[0092] In some implementations of the system, the system is further configured to prioritize handling of CXL.cache H2D Data messages on the first CPU by allocating to the first CPU at least one of a queue resource or a higher scheduling priority for the CXL.cache H2D Data messages relative to the third CPU. CXL.cache H2D Data messages carry data from a host to a device. In the first memory-compute sled, the first CPU may operate as the host and the first RPU may operate as the device, so the first CPU may supply cacheline data to the first RPU via CXL.cache H2D Data messages in response to read requests issued by the first RPU on the CXL.cache D2H Request channel. Prioritizing handling of the CXL.cache H2D Data messages on the first CPU, which has the direct CXL.cache connection to the first RPU, may reduce latency of data transfers relative to handling such transfers through the third CPU and across the inter-socket link. The prioritization may be implemented by allocating a queue resource to the CXL.cache H2D Data messages or by assigning a higher scheduling priority to the CXL.cache H2D Data messages.
[0093] In some implementations of the system, the system is further configured to coalesce CXL.cache messages according to coalescing thresholds, the coalescing thresholds comprising different thresholds for the first and third CPUs based on connectivity of the first and third CPUs to the first RPU; wherein the coalescing comprises combining a CXL.cache H2D Response message carrying a global observation indication with a CXL.cache H2D Response message carrying a write-data-pull indication into a combined CXL.cache H2D Response message; and wherein a coalescing threshold is based on at least one of a measured load on a CXL interface or a measured load of a caching subsystem of a CPU. In CXL.cache transactions, messages may be generated for cache-state updates, cache invalidations, and data transfers. Coalescing CXL.cache messages may reduce the number of CXL.cache messages conveyed over a CXL interface. In a CXL.cache write transaction, a CXL.cache H2D Response message carrying a global observation indication may be combined with a CXL.cache H2D Response message carrying a write-data-pull indication into a combined CXL.cache H2D Response message, which conveys cache-state information and requests data in a single message. A coalescing threshold may be based on a measured load on the CXL interface or a measured load of the caching subsystem of a CPU, so that coalescing increases as load increases. Different coalescing thresholds may be applied to the first and third CPUs based on connectivity to the first RPU, such as a more aggressive threshold for the third CPU, which lacks the direct CXL.cache connection, to reduce inter-socket link traffic.
[0094] In some implementations of the system, the first memory-compute sled further comprises a fifth DRAM operatively associated with the third CPU; and wherein the system is further configured to: allocate memory on the first DRAM for CXL.cache transactions received via the first RPU when a utilization of the first DRAM is below a threshold, and maintain a balance of memory allocation between the first DRAM and the fifth DRAM based on CXL.cache transaction patterns and local processing requirements of the first and third CPUs. The NUMA-aware memory allocation may place memory for CXL.cache transactions on the DRAM with lower access latency via the first RPU. The first DRAM operatively associated with the first CPU may be accessed with lower latency via the first RPU than the fifth DRAM operatively associated with the third CPU, because access to the fifth DRAM may traverse the inter-socket link. When a utilization of the first DRAM is below a threshold, allocating memory for CXL.cache transactions on the first DRAM may provide lower-latency access than allocating on the fifth DRAM. Maintaining a balance of memory allocation between the first DRAM and the fifth DRAM may consider CXL.cache transaction patterns, such as the frequency, size, and locality of accesses, and local processing requirements, such as the memory demands of applications running on the first and third CPUs, which may avoid over-allocation on the first DRAM at the expense of local application performance.
[0095] In some implementations of the system, the first and third CPUs are integrated in a same integrated circuit package and are configured to present a shared coherency directory tracking coherency states of cachelines for the first and third CPUs; and wherein the system is further configured to: migrate pages accessed via CXL.cache transactions from the fifth DRAM to the first DRAM; and adjust a partitioning of the shared coherency directory between the first and third CPUs based on memory allocation and access patterns of the first and third CPUs. Migrating pages accessed via CXL.cache transactions from the fifth DRAM to the first DRAM may place frequently accessed data on the first DRAM, which is accessed via the first RPU with lower latency than the fifth DRAM. The page migration may track page access frequencies and migrate pages that exceed an access threshold to the first DRAM, which may reduce latency for CXL.cache transactions. The shared coherency directory may be a data structure that tracks the coherency state of cachelines for the first and third CPUs. Because the first and third CPUs are integrated in a same integrated circuit package, the shared coherency directory may be implemented as a structure that is partitionable between the first and third CPUs. Adjusting the partitioning of the shared coherency directory may allocate more coherency tracking resources to a CPU handling more CXL.cache transactions, which may support coherency management when CXL.cache transactions are unevenly distributed between the first and third CPUs. The partitioning may be adjusted by allocating directory entries of the shared coherency directory to the first CPU and to the third CPU in proportions based on the memory allocation and the access patterns of the first and third CPUs.
[0096] In some implementations of the system, the system is further configured to: expose access counters for memory pages; increment an access counter of the access counters upon access to a corresponding memory page via a CXL.cache transaction; compare the access counters to a threshold; and migrate, from the fifth DRAM to the first DRAM, a memory page of the memory pages having an access counter exceeding the threshold when capacity is available on the first DRAM. Exposing access counters for memory pages and incrementing an access counter upon access to a corresponding memory page via a CXL.cache transaction may identify which memory pages are frequently accessed through the first RPU. Comparing the access counters to a threshold may identify a memory page that is frequently accessed in terms of CXL.cache activity. By migrating a memory page that exceeds the threshold from the fifth DRAM, which is operatively associated with the third CPU that is not directly connected to the first RPU, to the first DRAM, the system may reduce latency for the frequently accessed memory page in CXL.cache transactions. The migration may be contingent on available capacity on the first DRAM, to avoid overflow or eviction of other relevant data from the first DRAM. The access counters may be exposed as a table indexed by page identifier, and the comparison may be performed at intervals.
[0097] In some implementations of the system, the system is further configured to: monitor a ratio of CXL.cache transactions handled by the first CPU to CXL.cache transactions handled by the third CPU, calculate partition sizes for the first and third CPUs within the shared coherency directory based on the ratio, and repartition the shared coherency directory by reducing a partition of one of the first or third CPUs and expanding a partition of the other of the first or third CPUs according to the calculated partition sizes. Monitoring a ratio of CXL.cache transactions handled by the first CPU to CXL.cache transactions handled by the third CPU may indicate how the CXL.cache transaction load is distributed between the first and third CPUs, and may allow the system to adapt to changing workload patterns. Calculating partition sizes based on the ratio may allocate more coherency tracking resources to the CPU handling more CXL.cache transactions. Repartitioning the shared coherency directory by reducing a partition of one of the first or third CPUs and expanding a partition of the other may align the coherency tracking resources with the CXL.cache transaction load, which may support coherency management and may reduce coherency traffic when the load is unevenly distributed between the CPUs of the memory-compute sled. Because the first and third CPUs are integrated in a same integrated circuit package and present the shared coherency directory, directory entries may be reassigned between the partition of the first CPU and the partition of the third CPU during operation.
[0098] In some implementations of the system, the system is further configured to: apply different cache coherency policies for CXL.cache transactions associated with the first and second entities, maintain a prefetching policy for the first CPU that prefetches data for CXL.cache transactions received via the first RPU, and reserve a portion of a cache of the first CPU for data of CXL.cache transactions while the third CPU is configured to use a cache of the third CPU for both CXL.cache transactions and local processing. Different cache coherency policies for CXL.cache transactions associated with different entities may include, for transactions associated with the first entity, a Modified, Exclusive, Shared, Invalid (MESI) protocol with a directory-based coherence protocol, and, for transactions associated with the second entity, a relaxed coherency model that allows reordering of memory operations with a snoop-based protocol for local coherence. The prefetching policy for the first CPU may prefetch data for CXL.cache transactions received via the first RPU by detecting sequential access patterns and prefetching subsequent cachelines, detecting non-unit stride patterns and prefetching accordingly, or predicting future requests from past access patterns. Reserving a portion of a cache of the first CPU for data of CXL.cache transactions, such as by way-partitioning a portion of a last-level cache, while the third CPU uses a cache of the third CPU for both CXL.cache transactions and local processing, may maintain available cache space for CXL.cache transaction data on the first CPU. The reserved portion may be adjusted during operation based on CXL.cache transaction intensity and local processing demands.
[0099] In various implementations, a method comprising: operating first and second memory-compute sleds comprising first and second Resource Provisioning Units (RPUs), respectively, communicating according to CXL.cache with first and second CPUs, respectively, wherein CXL denotes Compute Express Link; the first and second CPUs communicating with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32GB each, respectively; communicating, by the first and second RPUs, with a switch according to CXL.mem, respectively; communicating, by the switch, with first and second entities according to CXL.mem, respectively, wherein the first and second entities are populated with third and fourth DRAMs having a capacity of at least 16GB each, respectively; utilizing, by the first and second entities, memory of at least one of the first or second memory-compute sleds; running first and second operating systems on the first and second CPUs, respectively; and supporting hot-swapping of at least one of the first or second memory-compute sleds. The method describes operational steps for a disaggregated memory system that supports hot-swapping of memory-compute sleds. The communication according to CXL.cache between the RPUs and CPUs may enable cache-coherent memory access, while the communication according to CXL.mem between the RPUs and the switch, and between the switch and the entities, may enable memory pooling and sharing across multiple entities. Running separate OSs on the first and second CPUs may provide the isolation that enables hot-swapping, as each OS manages its own memory domain independently. The method may be performed during system operation, with the hot-swapping capability being exercised when maintenance, upgrades, or fault recovery requires removal or replacement of a memory-compute sled.
[0100] In some implementations, the method further comprises translating, by the first and second RPUs of the first and second memory-compute sleds, respectively, physical addresses within host physical address (HPA) spaces utilized by the first and second entities to physical addresses within HPA spaces utilized by the first and second CPUs, respectively; and performing hot-swapping by removing and replacing one of the first or second memory-compute sleds during system operation. The translation may enable entities with their own HPA spaces to access memory managed by CPUs with different HPA spaces. The translation may involve table lookups, algorithmic transformations, or other mapping techniques that convert addresses within the HPA space utilized by an entity to corresponding addresses within the HPA space utilized by a CPU. The hot-swapping may involve gracefully transitioning memory resources away from the memory-compute sled being removed, physically removing the memory-compute sled, inserting a replacement memory-compute sled, initializing the replacement memory-compute sled, and integrating its resources back into the memory pool.
[0101] In some implementations of the method, the switch comprises a CXL switch, and further comprising receiving, by the first and second RPUs, CXL.mem messages from at least one of the entities via the CXL switch; translating the CXL.mem messages to CXL.cache messages; and sending the CXL.cache messages to the respective CPU. The translation from CXL.mem messages to CXL.cache messages may involve converting between message formats, opcodes, and addressing schemes. The translation may also involve managing transaction identifiers, tracking pending transactions, and correlating responses with their originating requests.
[0102] In some implementations, the method further comprises managing memory access separately according to CXL.mem for the first and second memory-compute sleds, managing respective memory resources by the first and second operating systems, reallocating memory dynamically during the hot-swapping process, and redistributing workloads dynamically between the first and second memory-compute sleds during hot-swapping to maintain continuous operation. The separate memory access management for each memory-compute sled according to CXL.mem may enable independent operation of the memory-compute sleds, which supports hot-swapping by allowing one memory-compute sled to be removed while another continues to serve memory requests. The management of respective memory resources by the OSs may include allocation, deallocation, page table management, and memory protection. During hot-swapping, the dynamic reallocation of memory may involve migrating data from the memory-compute sled being removed to a remaining memory-compute sled, updating address translation tables exposed by the RPUs, and adjusting memory allocation policies to account for the changed resource availability. The dynamic workload redistribution may involve moving processing tasks or memory-intensive operations from the memory-compute sled being removed to a remaining memory-compute sled to maintain continuous system operation.
[0103] In some implementations, the method further comprises initiating, by a management module, a hot-removal process for the first memory-compute sled, migrating data from the first memory-compute sled to the second memory-compute sled, and signaling when the first memory-compute sled can be safely removed. The hot-removal process may involve a coordinated sequence of steps that transitions memory resources away from the memory-compute sled being removed without disrupting ongoing operations. The management module may quiesce new allocations on the targeted memory-compute sled, migrate existing data to other memory-compute sleds, update routing and translation tables, and verify that references to the memory-compute sled have been resolved before signaling that removal is safe. The signaling may be provided through software interfaces, such as management APIs or system logs, or hardware indicators, such as LEDs or physical latches, that inform operators when the memory-compute sled can be physically removed.
[0104] In some implementations, the method further comprises detecting insertion of a third memory-compute sled, initializing the third memory-compute sled, and integrating available memory of the third memory-compute sled to available memory of a memory pool comprising the first and second memory-compute sleds. The detection of an inserted memory-compute sled may occur through hardware mechanisms such as presence-detect pins, power-sequencing signals, or CXL link training events. The initialization process may include powering up the components of the memory-compute sled, performing self-tests, booting the CPU and OS, initializing the RPU, and establishing CXL connectivity with the switch and with one or more of the entities coupled to the switch. The integration of the memory of the memory-compute sled into the pool may involve discovering the memory capacity and characteristics of the memory-compute sled, allocating address ranges in the global memory map, configuring the switch to route transactions to the memory-compute sled, updating the address translation tables exposed by the RPUs, and rebalancing memory allocations across the memory-compute sleds in the pool.
[0105] In some implementations of the method, a non-transitory computer-readable medium comprising instructions which, when executed by a processor, cause the processor to perform the method.
[0106] FIGS. 2 and 3 illustrate two examples of systems supporting hot-swapping of memory-compute sleds, with different implementations and configurations of a switch, which may be a CXL switch. Both examples share core components including memory-compute sleds, each comprising an RPU coupled to a CPU and DRAM having a capacity of at least 32GB. The memory-compute sleds are coupled to entities with DRAMs having a capacity of at least 16GB each via a switch, which may be a CXL switch. In FIG. 2, the switch is implemented as a separate switch appliance distinct from the modular sled-based memory pool. The switch connects to entities, via interfaces configured to communicate according to CXL.mem, through Upstream Ports (USPs). The switch also connects to memory-compute sleds, via interfaces configured to communicate according to CXL.mem, through Downstream Ports (DSPs). Each RPU within a memory-compute sled connects to its respective CPU via an interface configured to communicate according to CXL.cache, enabling memory access. The RPUs are configured to translate CXL.mem messages received from entities via the switch into CXL.cache messages for their respective CPUs.
[0107] In FIG. 3, the switch is integrated within the modular chassis containing the memory-compute sleds. This integrated configuration may eliminate external cabling between the switch and the memory-compute sleds. The switch maintains CXL.mem connections to external entities through USPs, while connecting to the RPUs within the chassis through DSPs. Each memory-compute sled contains dual CPUs (shown as CPU.1 and CPU.2 in Sled.1, and CPU.(2m-1) and CPU.2m in Sled.m), with each CPU having access via an inter-socket link (ISoL) to DRAM resources managed by the other CPU in the sled. The integration of the switch within the chassis, as shown in FIG. 3, may provide several technical advantages, such as: reduced external cabling for improved system reliability during hot-swapping operations; a more compact system design that may enable higher memory density per rack unit; simplified scaling through addition or removal of memory-compute sleds; potentially reduced latency for CXL.mem transactions between entities and RPUs due to shorter communication paths; and potentially improved management of hot-swapping processes due to lower-latency connections and improved control over power and signal integrity within the chassis environment. In both configurations, different CPUs in different memory-compute sleds run separate OS instances, enabling separate operations and facilitating hot-swapping capabilities. The RPUs in both examples perform address translations from the entities' HPA to the CPUs' HPA. This translation capability, combined with the interfaces that may communicate according to CXL.mem and CXL.cache, supports the system's hot-swapping functionality while maintaining operational continuity.
[0108] Memory-compute sleds may be deployed as field-replaceable modules within a modular chassis of a datacenter, where each memory-compute sled contributes memory to a pool that entities reach over a switch. A memory-compute sled may need to be removed or replaced during operation, for maintenance, fault response, or capacity change, while the entities continue to access the pooled memory. A technical problem that may arise in such environments is that a memory-compute sled targeted for removal may hold memory that is actively allocated to one or more entities, and disconnecting the memory-compute sled then risks loss of access to that memory and disruption of the entities relying on it. Some implementations may help address this and / or other technical problems, among other things, by coordinating suspension of new allocations, verification of accessibility, allocation of replacement capacity, migration of data, and preparation for physical removal of the targeted memory-compute sled.
[0109] In various implementations, a system comprising: first and second memory-compute sleds comprising: first and second Resource Provisioning Units (RPUs), respectively, coupled to first and second CPUs over first and second interfaces configured to communicate according to CXL.cache, respectively, operatively associated with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32 GB each, respectively; wherein CXL denotes Compute Express Link; a switch coupled to the first and second RPUs via third and fourth interfaces configured to communicate according to CXL.mem, respectively; entities coupled to the switch and configured to utilize memory of at least one of the first or second memory-compute sleds; wherein the system is configured to: receive a hot-removal command for the first memory-compute sled; suspend new memory allocations on the first memory-compute sled; verify accessibility of the first memory-compute sled; allocate replacement memory capacity; migrate data from the first memory-compute sled to the replacement memory capacity; and prepare the first memory-compute sled for physical removal. The system may include a controller that coordinates the recited operations, the controller being implemented as a finite state machine in a switch ASIC, as firmware executing on an embedded controller of the chassis, as a baseboard management controller, or as instructions executed by a processor of an orchestrator coupled to the switch. Each RPU may be implemented as a controller or finite state machine that exposes memory of the associated dynamic random-access memory to the entities through the switch. The coordinated operation may proceed by: (1) receiving a hot-removal command identifying the first memory-compute sled; (2) suspending new memory allocations on the first memory-compute sled while permitting in-progress accesses to drain; (3) verifying that the memory of the first memory-compute sled is accessible for reading; (4) allocating replacement memory capacity sufficient to hold the data of the first memory-compute sled; (5) migrating the data from the first memory-compute sled to the replacement memory capacity; and (6) preparing the first memory-compute sled for physical removal. The controller may operate on the first memory-compute sled independently of the number of memory-compute sleds coupled to the switch, so that the same coordinated operation may apply whether two memory-compute sleds or a larger number of memory-compute sleds are present. In a corner case, two memory-compute sleds may be coupled to the switch and the first memory-compute sled may be targeted while the second memory-compute sled remains in operation; in another corner case, a larger number of memory-compute sleds may be coupled to the switch and one of them may be targeted while the remainder continue in operation. The replacement memory capacity may reside on the same chassis as the first memory-compute sled or on a different chassis reached through the switch. Potential advantages of some implementations may include, without limitation, one or more of continuity of entity access to pooled memory across removal of a memory-compute sled, reduced disruption during maintenance or fault response, and preservation of allocated data through migration. A given implementation need not provide any particular advantage.
[0110] In some implementations of the system, the system is further configured to: provide a visual indication of a work-in-process state for the first memory-compute sled, and change the visual indication to indicate a ready-for-removal state upon completion of the prepare of the first memory-compute sled for physical removal. The visual indication may be driven by the controller in response to the state of the coordinated operation, for example presenting a work-in-process indication while the migrate data proceeds and changing to a ready-for-removal indication when the prepare of the first memory-compute sled for physical removal completes. The change of indication may allow an operator to determine when the first memory-compute sled may be extracted, which may reduce the chance of extraction before the data has been migrated.
[0111] In some implementations of the system, the visual indication comprises at least one of: a blinking Light Emitting Diode (LED) in a front panel of the first memory-compute sled, a status update on a management console, or a color change indicator; and wherein at least one of a blink pattern or a color of the LED is configured to indicate the work-in-process state. The blinking Light Emitting Diode may be located on a front panel of the first memory-compute sled, and a blink rate or a color of the Light Emitting Diode may encode the work-in-process state, such as a slow blink during the coordinated operation and a distinct color when the state changes. The status update on a management console may convey the same state to a remote operator. Encoding the state in the blink pattern or color may allow the state to be read at the memory-compute sled itself without access to the management console.
[0112] In some implementations of the system, the prepare of the first memory-compute sled for physical removal comprises: invoke unbind of the first RPU on the first memory-compute sled, and signal when the first memory-compute sled is ready for removal. The unbind of the first RPU may include removing the first RPU from a binding that associates it with the switch, such as releasing a logical-device binding maintained by a fabric manager. The signal that the first memory-compute sled is ready for removal may be asserted to an operator or to the controller after the unbind completes. Unbinding before signaling readiness may detach the first memory-compute sled from the switch, after which the entities no longer reach it through the switch.
[0113] In some implementations of the system, the hot-removal command is triggered by at least one of: an operator directive via a management console, a physical button actuation, an automatic maintenance schedule, or an abnormal condition detection; and wherein the abnormal condition detection comprises detection, based on telemetry of the first memory-compute sled, of at least one of: an over-temperature condition, a memory error rate exceeding a threshold, or a component failure. The operator directive may be received through a management console; the physical button actuation may be received from an attention button or eject button on the memory-compute sled or the chassis; and the automatic maintenance schedule may be maintained by the controller. The abnormal condition detection may use telemetry collected from the first memory-compute sled, such as temperature sensor readings, counts of corrected or uncorrected memory errors, or status signals from components, and may generate the hot-removal command when a reading crosses a threshold. Triggering removal from telemetry may allow a failing memory-compute sled to be removed before a fault propagates.
[0114] In some implementations of the system, the verify accessibility of the first memory-compute sled comprises: determine whether the first CPU is responsive, and in response to determining that the first CPU is unresponsive, pass control to a chassis processor or Baseboard Management Controller (BMC). Determining whether the first CPU is responsive may include the controller issuing a status query to the first CPU and awaiting a response within a timeout. When the first CPU is unresponsive, control may pass to a chassis processor or Baseboard Management Controller, which may access the memory of the first memory-compute sled over a sideband path independent of the first CPU. Providing the sideband path may allow the memory to be reached for migration even when the first CPU has failed.
[0115] In some implementations of the system, the allocate replacement memory capacity comprises: perform a self-test of the first DRAM of the first memory-compute sled, and determine whether replacement memory capacity exists on a same chassis as the first memory-compute sled before requesting allocation from an orchestrator. The self-test of the first dynamic random-access memory may include a read or read-write pattern test that reports memory regions readable for migration. Determining whether replacement memory capacity exists on the same chassis may include the controller querying a capacity record of the chassis before sending an allocation request to an orchestrator over the switch. Selecting same-chassis capacity when available may shorten the path over which the data is migrated.
[0116] In some implementations of the system, the system is further configured to implement error handling when the self-test fails, wherein the error handling comprises at least one of: isolate faulty memory regions and proceed with partial migration, log error information, attempt retry operations, or fall back to reduced-capacity testing modes. Isolating faulty memory regions may include the controller marking address ranges that fail the self-test as unusable and migrating data from the remaining readable regions. Logging error information may record the failing address ranges and the error types. Falling back to reduced-capacity testing may retest a subset of the memory. Handling a self-test failure in these ways may allow recoverable data to be migrated even when part of the first dynamic random-access memory has failed.
[0117] In some implementations of the system, the migrate data comprises: perform live migration using Coherent Direct Memory Access (DMA) and remap memory allocations provisioned in the first DRAM to the replacement memory capacity in a manner transparent to workloads utilizing the memory. Performing live migration using Coherent Direct Memory Access may include copying the data while the entities continue to access it, with coherence maintained between the source and the replacement memory capacity during the copy. Remapping the memory allocations may include updating address mappings, after which subsequent accesses reach the replacement memory capacity rather than the first dynamic random-access memory. Migrating in a manner transparent to the workloads may allow the workloads to continue running across the migration without reissuing their accesses.
[0118] In some implementations of the system, the system is further configured to: verify no in-flight memory operations remain active before initiating the live migration, and establish a consistent memory state for migration. Verifying that no in-flight memory operations remain active may include the controller draining outstanding transactions to the first dynamic random-access memory and confirming completion before the copy begins. Establishing a consistent memory state may include quiescing writes during the copy. Confirming completion of in-flight operations first may avoid copying memory while it is being modified.
[0119] In some implementations of the system, the prepare of the first memory-compute sled for physical removal further comprises: implement a power-down sequence comprising: quiesce the first interface and the third interface, power down the first RPU, power down the first DRAM, and power down remaining components of the first memory-compute sled. In the power-down sequence, the first interface and the third interface may be quiesced before power is removed from the first RPU, which may be powered down before the first dynamic random-access memory and the remaining components. Quiescing the first interface and the third interface may include allowing pending transactions on those interfaces to complete and blocking new transactions. Ordering the power-down in this way may avoid loss of transactions in progress when power is removed.
[0120] In some implementations of the system, the system is further configured to: disable chassis interfaces to the first memory-compute sled after the power-down sequence is complete. Disabling chassis interfaces to the first memory-compute sled may include the controller asserting a signal disconnect that electrically isolates the connector of the first memory-compute sled from the chassis after the power-down sequence is complete. Isolating the connector after power-down may reduce the chance of electrical disturbance on the chassis when the first memory-compute sled is extracted.
[0121] In some implementations of the system, the prepare of the first memory-compute sled for physical removal comprises: release a mechanical lock securing the first memory-compute sled to a chassis, and signal that the first memory-compute sled is ready for removal after the mechanical lock is released; and wherein the mechanical lock is configured to prevent removal of the first memory-compute sled from the chassis until the mechanical lock is released. The mechanical lock may include a latch, a solenoid-actuated catch, or another electromechanical interlock that secures the first memory-compute sled to the chassis. Releasing the mechanical lock may be performed by the controller before the first memory-compute sled is signaled as ready for removal. Keeping the mechanical lock engaged until release may prevent the first memory-compute sled from being extracted while the coordinated operation is still in progress.
[0122] In some implementations of the system, the switch comprises a CXL switch, and wherein the CXL switch is integrated within a modular chassis comprising the first and second memory-compute sleds; and wherein the CXL switch is configured to route transactions of the entities to the first and second RPUs, and, during the hot-removal of the first memory-compute sled, to cease forwarding new transactions of the entities to the first RPU. The CXL switch may be integrated within the modular chassis together with the first and second memory-compute sleds, for example on a midplane or baseboard of the chassis. The CXL switch may route transactions of the entities to the first and second RPU s according to address, and during the hot-removal of the first memory-compute sled may cease forwarding new transactions of the entities to the first RPU while continuing to forward transactions to the second RPU. Ceasing forwarding of new transactions to the first RPU during the hot-removal may drain the path to the first memory-compute sled before it is detached.
[0123] In some implementations of the system, the first memory-compute sled is configured to be field-serviceable, allowing for maintenance or replacement without powering down the entire system; and wherein the system is further configured to: dynamically redistribute workloads from the first memory-compute sled to the second memory-compute sled during the hot-removal to maintain continuous operation. The first memory-compute sled being field-serviceable may include the first memory-compute sled being removable from the chassis through a front or rear access without removing other memory-compute sleds. Dynamically redistributing workloads from the first memory-compute sled to the second memory-compute sled may include the controller reassigning allocations or tasks to the second memory-compute sled during the hot-removal. Redistributing the workloads during the hot-removal may allow service to continue while the first memory-compute sled is removed.
[0124] In some implementations of the system, the system is further configured to: monitor migration progress during the migrate data, and implement a checkpoint mechanism to enable recovery from migration failures without restarting the entire migration process. Monitoring migration progress may include the controller tracking the fraction of data copied to the replacement memory capacity. The checkpoint mechanism may record a recovery point identifying data already migrated, and after a failure the migrate data may resume from the recovery point. The checkpoint may instead be recorded at intervals of migrated data. Resuming from a checkpoint rather than restarting may reduce the data recopied after a migration failure.
[0125] In some implementations of the system, the system is further configured to maintain a log of the hot-removal process comprising at least one of timestamps, memory address ranges processed, or system state changes to facilitate diagnostics and auditing; and wherein the system is further configured to resume the hot-removal process, based on the log, from a recorded system state after an interruption of the hot-removal process. The log of the hot-removal process may be stored by the controller in a non-volatile store and may include entries recording timestamps, memory address ranges processed, and changes of system state. After an interruption of the hot-removal process, the controller may read the log to determine the recorded system state and resume the hot-removal process from that state rather than from the beginning. Reusing the log to resume may allow the hot-removal process to continue after a power cycle or a controller restart.
[0126] In some implementations of the system, the system is further configured to implement Quality-of-Service (QoS) levels for memory access requests during the migrate data, wherein the QoS levels prioritize memory access requests of the entities over data transfer of the migrate data. The Quality-of-Service levels may be implemented by the controller or by the switch assigning a higher scheduling priority to memory access requests of the entities than to the data transfer of the migrate data, for example by rate-limiting the migrate data or by serving entity requests ahead of migration traffic at a shared port. Prioritizing the entity memory access requests over the migrate data may reduce the latency that the entities experience while the migrate data proceeds.
[0127] A memory-compute sled may serve entities that operate in a host physical address space that differs from the host physical address space of the CPU local to the memory-compute sled. A RPU of the memory-compute sled may translate between these address spaces, allowing an entity to reference pooled memory in its own address space while the local CPU references the same memory in a different address space. This may allow data to be migrated from one memory-compute sled to replacement capacity associated with a different address space during removal, without the entities tracking the underlying relocation.
[0128] In various implementations, a system comprising: first and second memory-compute sleds comprising: first and second Resource Provisioning Units (RPUs), respectively, coupled to first and second CPUs over first and second interfaces configured to communicate according to CXL.cache, respectively, operatively associated with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32 GB each, respectively; wherein CXL denotes Compute Express Link; a switch coupled to the first and second RPUs via third and fourth interfaces configured to communicate according to CXL.mem, respectively; entities coupled to the switch and configured to utilize memory of at least one of the first or second memory-compute sleds; wherein the first RPU is configured to translate physical addresses within a host physical address (HPA) space utilized by at least one of the entities to physical addresses within an HPA space utilized by the first CPU; and wherein the system is configured to: receive a hot-removal command for the first memory-compute sled; suspend new memory allocations on the first memory-compute sled; verify accessibility of the first memory-compute sled; allocate replacement memory capacity; migrate data from the first memory-compute sled to the replacement memory capacity; and prepare the first memory-compute sled for physical removal. The first RPU may translate physical addresses by maintaining a translation structure, such as a table or a set of registers, that maps physical addresses within the host physical address space utilized by an entity to physical addresses within the host physical address space utilized by the first CPU. The translation may be performed inline on memory accesses, for example by: (1) receiving an access referencing a physical address in the host physical address space of the entity; (2) looking up a corresponding physical address in the host physical address space of the first CPU; and (3) issuing the access to the dynamic random-access memory using the corresponding physical address. The translation structure may instead be implemented as a content-addressable memory or as address ranges with base-and-offset arithmetic. The first RPU may update the translation structure when data is migrated, after which an access from the entity reaches the replacement memory capacity.
[0129] In some implementations of the system, the first and second memory-compute sleds comprise different hardware specifications, allowing for heterogeneous resource allocation within a memory pool comprising the first and second memory-compute sleds; and wherein the system is further configured to select the replacement memory capacity based on the hardware specifications of the first memory-compute sled. The first and second memory-compute sleds may have different hardware specifications, such as different memory capacities, memory types, or memory bandwidths, within a memory pool that the entities reach through the switch. Selecting the replacement memory capacity based on the hardware specifications of the first memory-compute sled may include the controller matching the capacity and bandwidth of the replacement memory capacity to those of the first memory-compute sled. Matching the replacement memory capacity to the specifications of the first memory-compute sled may keep memory behavior consistent for the entities after migration.
[0130] In some implementations of the system, the first and second CPUs are configured to run first and second operating systems, respectively, and wherein the first and second CPUs operate separately, allowing removal and replacement of the first memory-compute sled without interrupting operation of the second memory-compute sled. The first and second CPUs may run first and second OSs independently, and a fault, reboot, or shutdown of the first OS does not affect the second OS. Operating the CPUs separately may allow the first memory-compute sled to be removed and replaced while the second memory-compute sled continues to serve the entities under the second OS.
[0131] In some implementations of the system, the system is further configured to verify a successful data integrity check of migrated data before proceeding with an unbind of the first RPU; and wherein the first and second CPUs maintain separate HPA spaces, and wherein the migrate data comprises translating between physical addresses within the separate HPA spaces while maintaining data consistency. The data integrity check of migrated data may include comparing a checksum or a hash of the migrated data against a checksum or a hash of the source data before the unbind of the first RPU proceeds. The first and second CPUs maintaining separate host physical address spaces may mean that an address valid for one CPU is not valid for the other; migrating across the separate host physical address spaces may include relocating the data to the replacement memory capacity while the first RPU translates addresses between the spaces. Verifying integrity before the unbind may avoid detaching the first memory-compute sled while migrated data is incomplete or corrupted.
[0132] The operations described for the system may also be carried out as a method. The method may be performed by hardware of a modular chassis, such as the RPUs, the switch, and a controller or a processor coupled to a memory storing instructions that, when executed, cause the operations of the method to be performed.
[0133] In various implementations, a method comprising: operating first and second memory-compute sleds comprising: first and second Resource Provisioning Units (RPUs), respectively, communicating according to CXL.cache with first and second CPUs, respectively, operatively associated with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32 GB each, respectively, wherein CXL denotes Compute Express Link; communicating, by a switch, with the first and second RPUs according to CXL.mem; utilizing, by entities communicating with the switch, memory of at least one of the first or second memory-compute sleds; receiving a hot-removal command for the first memory-compute sled; suspending new memory allocations on the first memory-compute sled; verifying accessibility of the first memory-compute sled; allocating replacement memory capacity; migrating data from the first memory-compute sled to the replacement memory capacity; and preparing the first memory-compute sled for physical removal. The steps of the method may be performed by a controller of the modular chassis, by a baseboard management controller, or by instructions executed by a processor of an orchestrator coupled to the switch. Operating the first and second memory-compute sleds may include the RPUs exposing memory of the associated dynamic random-access memories to the entities through the switch, and the steps of suspending, verifying, allocating, migrating, and preparing may be performed in sequence on the first memory-compute sled while the second memory-compute sled remains in operation.
[0134] In some implementations of the method, the preparing the first memory-compute sled for physical removal comprises: invoking unbind of the first RPU on the first memory-compute sled, and signaling when the first memory-compute sled is ready for removal. The invoking of unbind and the signaling when the first memory-compute sled is ready for removal may be performed by the controller, with the signaling following completion of the unbind.
[0135] In some implementations of the method, the verifying accessibility of the first memory-compute sled comprises: determining whether the first CPU is responsive, and in response to determining that the first CPU is unresponsive, passing control to a chassis processor or Baseboard Management Controller (BMC). The passing of control to a chassis processor or Baseboard Management Controller may occur after a status query to the first CPU returns no response within a timeout, the chassis processor or Baseboard Management Controller then accessing the memory over a sideband path.
[0136] In some implementations of the method, the allocating replacement memory capacity comprises: performing a self-test of the first DRAM of the first memory-compute sled, and determining whether replacement memory capacity exists on a same chassis as the first memory-compute sled before requesting allocation from an orchestrator. The self-test of the first dynamic random-access memory and the determination of same-chassis replacement memory capacity may be performed before an allocation request is sent to the orchestrator over the switch.
[0137] In some implementations of the method, the migrating data comprises: performing live migration using Coherent Direct Memory Access (DMA), and remapping memory allocations provisioned in the first DRAM to the replacement memory capacity in a manner transparent to workloads utilizing the memory. The live migration and the remapping of memory allocations may be performed while the workloads continue to access the memory, the accesses reaching the replacement memory capacity after the remapping.
[0138] In some implementations of the method, the preparing the first memory-compute sled for physical removal further comprises: implementing a power-down sequence comprising: quiescing the first interface and the third interface, powering down the first RPU, powering down the first DRAM, and powering down remaining components of the first memory-compute sled; and disabling chassis interfaces to the first memory-compute sled after the power-down sequence is complete. The power-down sequence may quiesce the first interface and the third interface before powering down the first RPU, the first dynamic random-access memory, and the remaining components, and the chassis interfaces may be disabled after the power-down sequence is complete.
[0139] In some implementations, the method further comprises monitoring migration progress during the migrating data, and implementing a checkpoint mechanism to enable recovery from migration failures without restarting the entire migration process. The monitoring of migration progress and the checkpoint mechanism may be performed during the migrating data, the migrating data resuming from a recorded recovery point after a failure.
[0140] In some implementations of the method, a non-transitory computer-readable medium comprising instructions which, when executed by a processor, cause the processor to perform the method.
[0141] The non-transitory computer-readable medium may include a memory such as a dynamic random-access memory, a flash memory, or a storage device, and the instructions may be executed by a processor of an orchestrator, of the chassis, or of an RPU.
[0142] FIGS. 4A-5B illustrate an example of a hot-removal process for memory-compute sleds that provides coordinated, safe removal of a memory-compute sled while maintaining system operation. The process may include multiple phases shown across the figures: initialization (FIG. 4A), replacement memory allocation (FIG. 4B), data migration (FIG. 5A), and physical disconnection (FIG. 6A). As shown in FIG. 4A, the initialization phase may begin when a hot-removal command is issued. The hot-removal command may be triggered utilizing various mechanisms, including an operator directive via a management console, a user push of a physical button such as a front-panel attention button or eject button located on the memory-compute sled or chassis frame, an automatic maintenance schedule, or in response to abnormal or error conditions detected by the memory-compute sled or modular chassis such as overheating or failure of internal components. Upon receiving this command, the system may provide visual indication of the work-in-process state, such as utilizing a blinking LED in the front panel of the memory-compute sled, status updates on a management console, or other visual indicators. The system may send a service notification to an orchestrator or fabric manager to suspend new memory allocations on the target memory-compute sled. The system may verify memory-compute sled accessibility through two paths. In a first path, if the CPU of the memory-compute sled is responsive, the process may proceed to memory operations. In a second path, if the CPU of the memory-compute sled becomes unresponsive, control may pass to a chassis processor or BMC, which may then attempt to access the sled memory. If memory remains inaccessible through either path, the process may terminate with a failure indication, as shown by the "End (Fail)" state in FIG. 4A.
[0143] As illustrated in FIG. 4B, during the replacement memory allocation phase, the system may first perform a self-test of the sled memory so that data can be reliably read. Then, the system may attempt to locate replacement memory capacity within the same chassis, which may enable faster migration due to proximity. If sufficient capacity is not available locally, the system may request allocation from an orchestrator, as shown in the right branch of FIG. 4B. The system may implement various error handling mechanisms during this phase, though not explicitly shown in FIG. 4B. For example, if memory self-test fails, the system may: (i) attempt to isolate faulty memory regions and proceed with partial migration of healthy regions, (ii) log detailed error information including memory address ranges, error types, and timestamp data, (iii) attempt multiple retry operations with different test parameters, and / or (iv) fall back to reduced-speed or reduced-capacity testing modes.
[0144] As shown in FIG. 5A, after securing replacement memory, the system may enter the data migration phase through a data synchronization process. During this phase, the system may perform live migration of sled memory to the replacement memory while maintaining data consistency. The live migration may refer to Coherent DMA and remapping of memory allocations provisioned in sled memory to replacement memory in a manner that is transparent to the workload. The system may coordinate with the memory controller to manage memory access during migration, so that data is not lost or corrupted. If live migration succeeds, the system may proceed to I / O quiescing, where it notifies the orchestrator or fabric manager and invokes CXL unbind of the RPU on the memory-compute sled. The CXL unbind process may follow a specific sequence to maintain system stability, such as: verifying no pending CXL.mem transactions remain, then coordinating with the switch to prevent new transactions, followed by gracefully terminating CXL.cache coherency operations, and performing the actual unbind operation. If a step in the migration process fails, the system may transition to the "End (Fail)" state and may initiate rollback procedures.
[0145] The final phase, illustrated in FIG. 5B, manages the physical disconnection of the memory-compute sled. It may begin with power management, implementing a coordinated power-down sequence of the memory-compute sled modules. This sequence may involve first quiescing the CXL interfaces, then powering down the RPU, followed by powering down memory subsystems, and finally powering down remaining sled components. After power management, the system may disable chassis interfaces to the memory-compute sled utilizing a signal disconnect operation. The system may then perform an optional mechanical unlock step, wherein the chassis releases the memory-compute sled latch. This mechanical interlock, while optional, may provide additional safety by preventing premature removal. The system may provide visual indication of the disengaged state, such as utilizing LED color changes in the memory-compute sled front panel or other visual indicators. When the steps complete successfully, the memory-compute sled may enter a state ready for physical removal.
[0146] The system may implement an error handling framework during memory operations. When memory self-test fails, the system may analyze error patterns to determine appropriate recovery actions. The system may maintain an error log recording the addresses where failures occurred, the type of error (such as single-bit errors, multi-bit errors, or addressing failures), and the timing of error occurrences. For intermittent errors, the system may retry memory operations using modified timing parameters or voltage levels. When persistent errors are detected in specific memory regions, the system may create a memory map marking these regions as unusable and proceed with migration of data from healthy regions. The system may also attempt to reconstruct corrupted data using error correction codes if available. In cases where errors occur during the allocation of replacement memory, the system may implement a staged allocation method, requesting smaller memory blocks until sufficient capacity is secured. Throughout the error handling process, the system may maintain communication with the orchestrator to coordinate recovery actions and update system status.
[0147] Within datacenter and HPC systems organized as modular chassis, a chassis may be populated with sleds that occupy a fixed number of slots, and the memory attached to a given sled may be addressable by the processor of that sled. A technical consideration that may arise in such systems is that the division of slots between compute capacity and memory capacity, and the binding of the memory of a sled to the processor of that sled, may constrain the balance of compute capacity and memory capacity available to a workload within fixed physical chassis dimensions. Some implementations relate to memory-compute sleds, each of which may be configured to operate as a compute resource or as a memory resource, and to an RPU within a sled that may expose the memory components of the sled to other sleds across a CXL fabric. Some implementations may help address one or more of these technical considerations, among other things.
[0148] In various implementations, a system comprising: first and second memory-compute sleds capable of operating in different modes; wherein each of the first and second memory-compute sleds comprises a Resource Provisioning Unit (RPU) configured to perform translations, a processor, and memory components; a switch coupled to the first and second memory-compute sleds over Compute Express Link (CXL) interfaces; wherein the first memory-compute sled is configured to operate in a compute sled mode in which the first memory-compute sled functions as a compute resource; and wherein the second memory-compute sled is configured to operate in a memory sled mode in which the second memory-compute sled functions as a memory resource for the first memory-compute sled. A memory-compute sled may be implemented as a circuit board, a blade, or a module that carries the processor, the memory components, and the RPU, and that occupies a slot of the modular chassis. The RPU may be implemented as an integrated circuit, as an FPGA, or as a circuit block within a larger integrated circuit, and may include a finite state machine, registers, and lookup tables that hold its mode configuration. The switch may be implemented as switching circuitry disposed in a backplane of the modular chassis. The mode in which a memory-compute sled operates may be selected by configuring the RPU of that sled, for example by: (1) reading, during initialization, a configuration that indicates whether the sled is to operate as a compute resource or as a memory resource; (2) configuring the ports of the RPU according to the indicated mode; and (3) entering an operational state in which the sled either runs workloads that consume compute capacity and memory capacity or exposes its memory components to other sleds through the switch. A memory-compute sled operating in the compute sled mode may direct memory access requests through the switch to a memory-compute sled operating in the memory sled mode, and the latter may return data from its memory components through the switch. The selection between the compute sled mode and the memory sled mode may be made by configuration of the RPU rather than by altering the physical components of the sled, so that the same sled hardware may operate in either mode across the sleds of the chassis. A memory-compute sled may carry the processor, the memory components, and the RPU regardless of the mode selected. Potential advantages of some implementations may include, without limitation, one or more of increased flexibility in allocating compute capacity and memory capacity within a modular chassis, reuse of the memory components attached to the processor of a sled as a memory resource for other sleds, and consolidation of compute provisioning and memory provisioning within a common sled form factor. A given implementation need not provide any particular advantage.
[0149] In some implementations of the system, the first memory-compute sled is capable of switching from the compute sled mode to a memory sled mode without physical reconfiguration, the second memory-compute sled is capable of switching from the memory sled mode to a compute sled mode without physical reconfiguration, and the memory components in each of the first and second memory-compute sleds comprise total dynamic random-access memory (DRAM) capacity of at least 32 gigabytes (GB). Switching a memory-compute sled between the compute sled mode and the memory sled mode without physical reconfiguration may include reconfiguring the ports of the RPU and loading a different operating system image, while leaving the processor, the memory components, and the RPU of the sled installed. The total DRAM capacity of a memory-compute sled may be at least 32 GB, and may be distributed across multiple DRAM components of the sled. A potential technical effect of some implementations may be that the role of a sled is changed under software control while the physical components of the sled remain installed in the chassis.
[0150] In some implementations of the system, the switch and the first and second memory-compute sleds are disposed within a modular chassis; and wherein the first memory-compute sled accesses memory components of the second memory-compute sled utilizing CXL.mem through the switch. The modular chassis may include a backplane in which the switch is disposed, and the first and second memory-compute sleds may engage slots of the modular chassis. The first memory-compute sled may issue load operations and store operations that are carried as CXL.mem transactions through the switch to reach the memory components of the second memory-compute sled, which may appear to the first memory-compute sled as byte-addressable memory.
[0151] In some implementations of the system, the RPU of the first memory-compute sled (RPU1) is further configured to operate in a retimer mode when the first memory-compute sled is in the compute sled mode; wherein, in the retimer mode, first and second ports of the RPU1 are configured as retimer pseudo-ports (PPs); and wherein the first port is coupled to the processor of the first memory-compute sled and the second port is coupled to the switch. In the retimer mode, the RPU1 may lie in the signal path between the processor of the first memory-compute sled and the switch, and the first and second ports may be configured as retimer pseudo-ports through which the RPU1 is represented to link partners as a retimer rather than as an endpoint. The RPU1 may be implemented as an integrated circuit that includes clock-and-data-recovery circuits and a finite state machine holding the retimer configuration, and a retimer pseudo-port may expose pseudo-port registers used to manage the retimer.
[0152] In some implementations of the system, the RPU1 is further configured to perform signal conditioning functions comprising at least one of: extracting clock and data from an incoming signal and regenerating a new signal, compensating for signal degradation in transmission media, reducing signal jitter, or performing signal equalization. The signal conditioning functions may be performed by analog and mixed-signal circuits of the RPU1, such as a clock-and-data-recovery circuit that recovers a clock from an incoming signal and retimes the data, an equalizer that compensates for frequency-dependent loss of a transmission medium, and a jitter-reduction circuit. The functions may be applied to signals on the port coupled to the processor, on the port coupled to the switch, or on both.
[0153] In some implementations of the system, the RPU1 is further configured to, when the first memory-compute sled transitions from the compute sled mode to a memory sled mode, reconfigure the first port from a retimer pseudo-port to a CXL Type-1 device and reconfigure the second port from a retimer pseudo-port to a CXL Type-3 device. When the first memory-compute sled transitions to the memory sled mode, the RPU1 may keep its physical ports installed and change their configuration, changing the first port from a retimer pseudo-port to a CXL Type-1 device and changing the second port from a retimer pseudo-port to a CXL Type-3 device. The reconfiguration may be performed by writing configuration registers of the RPU1 and re-running enumeration on the affected ports, without replacing components of the sled.
[0154] In some implementations of the system, the RPU of the second memory-compute sled (RPU2) is further configured to operate in a translation mode when the second memory-compute sled is in the memory sled mode; wherein, in the translation mode, a first port of the RPU2 coupled to the processor of the second memory-compute sled is configured as a CXL Type-1 device, and a second port of the RPU2 coupled to the switch is configured as a CXL Type-3 device. In the translation mode, the RPU2 may present two different device faces on its two ports. On the first port, the RPU2 may operate as a CXL Type-1 device toward the processor of the second memory-compute sled, communicating with that processor according to CXL.cache and gaining coherent access to memory components attached to that processor. On the second port, the RPU2 may operate as a CXL Type-3 device toward the switch, exposing memory resources to the switch according to CXL.mem, which a remote memory-compute sled may reach as byte-addressable memory by load operations and store operations. The RPU2 may be implemented as an integrated circuit that includes a CXL.cache controller, a CXL.mem controller, lookup tables, and a finite state machine holding the translation-mode configuration. In some implementations, the first port may instead be configured as a CXL Type-2 device, where device-attached memory of the RPU2 participates in the exposed memory resources.
[0155] In some implementations of the system, the RPU2 is further configured to: receive CXL.mem messages from the first memory-compute sled via the switch, translate the CXL.mem messages to CXL.cache messages, and send the CXL.cache messages to the processor of the second memory-compute sled. To service a memory access directed at the exposed memory resources, the RPU2 may receive a CXL.mem message arriving on the second port from the first memory-compute sled through the switch, and may issue, on the first port, a CXL.cache message to the processor of the second memory-compute sled, which holds the backing memory components. A read may be serviced by issuing a CXL.cache request that returns the addressed line from the processor, and a write may be serviced by issuing a CXL.cache request that installs the supplied data at the addressed line. The translation may be performed by a finite state machine of the RPU2 that maps each incoming CXL.mem message to one or more outgoing CXL.cache messages. A potential technical effect of some implementations may be that memory components attached to the processor of the second memory-compute sled are made available to other sleds without dedicating a separate memory device.
[0156] In some implementations, the system further comprises system firmware in the second memory-compute sled configured to: detect a predetermined configuration for the second memory-compute sled during initialization, configure the RPU2 to operate in the translation mode based on the detected predetermined configuration, and load an operating system image specific to memory sled operation. The system firmware may be implemented as boot firmware executing on the processor of the second memory-compute sled, such as a Unix-like boot loader or baseboard management firmware. During initialization, the system firmware may read the predetermined configuration from a non-volatile store, from a management command, or from a hardware setting, and may write configuration registers of the RPU2 to place it in the translation mode. The OS image specific to memory sled operation may be a memory-management image that exposes the memory components as a memory resource.
[0157] In some implementations of the system, at least one of: the first memory-compute sled or the second memory-compute sled is configured to operate in a hybrid mode in which a portion of the memory components of the sled functions as a local memory resource and another portion of the memory components of the sled functions as a shared memory resource accessible by other memory-compute sleds. In the hybrid mode, the memory components of a memory-compute sled may be partitioned into a first portion reserved for the processor of the sled and a second portion exposed through the RPU of the sled to other memory-compute sleds as a shared memory resource. The partition may be fixed at initialization or adjusted during operation by reprogramming the RPU.
[0158] In some implementations, the system further comprises a modular chassis within which the switch, the first memory-compute sled, the second memory-compute sled, and a third memory-compute sled are disposed; and an entity external to the modular chassis; wherein both the first memory-compute sled and the entity are configured to access memory resources of the second and third memory-compute sleds through the switch; and wherein the switch is a CXL switch. The modular chassis may house the switch and three or more memory-compute sleds, and the switch may also couple to an entity external to the modular chassis, such as a server or another modular chassis reached over a fabric link. The first memory-compute sled and the entity external to the modular chassis may each address memory resources exposed by the second and third memory-compute sleds through the switch, which may be a CXL switch that performs port-based routing among the sleds and the entity.
[0159] In some implementations of the system, the RPU of the first memory-compute sled is further configured to operate in a redriver mode when the first memory-compute sled is in the compute sled mode; and wherein, in the redriver mode, the RPU of the first memory-compute sled is further configured to amplify high-frequency components of a signal, to compensate for signal degradation in a transmission medium, without regenerating clock and data of the signal. In the redriver mode, the RPU of the first memory-compute sled may condition a signal in the path between the processor of the first memory-compute sled and the switch by boosting selected frequency components and reshaping a signal profile, while leaving recovery of clock and data to the link partners. The redriver mode may be implemented by analog gain and equalization circuits of the RPU. The redriver mode and the retimer mode may be alternative signal-conditioning configurations selectable for the compute sled mode, and the redriver mode may be selected where reduced circuit complexity is acceptable in place of full retiming.
[0160] In various implementations, a method comprising: operating first and second memory-compute sleds capable of operating in different modes, wherein each of the first and second memory-compute sleds comprises a Resource Provisioning Unit (RPU) performing translations, a processor, and memory components; communicating with a switch coupled to the first and second memory-compute sleds over Compute Express Link (CXL) interfaces; operating the first memory-compute sled in a compute sled mode in which the first memory-compute sled functions as a compute resource; and operating the second memory-compute sled in a memory sled mode in which the second memory-compute sled functions as a memory resource for the first memory-compute sled. The method may be performed by hardware of the memory-compute sleds and the switch, including the RPU of each sled and a processor of each sled executing instructions held in a memory. Operating a sled in the compute sled mode or the memory sled mode may be carried out by configuring the RPU of that sled, and communicating with the switch may include exchanging CXL transactions through ports of the switch.
[0161] In some implementations, the method further comprises switching the first memory-compute sled from the compute sled mode to a memory sled mode without physical reconfiguration; switching the second memory-compute sled from the memory sled mode to a compute sled mode without physical reconfiguration; and wherein the memory components in each of the first and second memory-compute sleds comprise dynamic random-access memory (DRAM) having a capacity of at least 32 GB. Switching a memory-compute sled between the compute sled mode and the memory sled mode may be performed under software control by reconfiguring the RPU and loading a different OS image while the components of the sled remain installed. The DRAM capacity of a memory-compute sled may be at least 32 GB.
[0162] In some implementations, the method further comprises operating the RPU of the first memory-compute sled (RPU1) in a retimer mode when the first memory-compute sled is in the compute sled mode; configuring first and second ports of the RPU1 as retimer pseudo-ports (PPs); communicating between the first port and the processor of the first memory-compute sled; and communicating between the second port and the switch. Operating the RPU1 in the retimer mode may include placing the RPU1 in the signal path between the processor of the first memory-compute sled and the switch and configuring its ports as retimer pseudo-ports through which signals are conditioned.
[0163] In some implementations, the method further comprises operating the RPU of the second memory-compute sled (RPU2) in a translation mode when the second memory-compute sled is in the memory sled mode; configuring a first port of the RPU2 coupled to the processor of the second memory-compute sled as a CXL Type-1 device; and configuring a second port of the RPU2 coupled to the switch as a CXL Type-3 device. Operating the RPU2 in the translation mode may include configuring its first port as a CXL Type-1 device toward the processor of the second memory-compute sled and its second port as a CXL Type-3 device toward the switch.
[0164] In some implementations of the method, a non-transitory computer-readable medium comprising instructions which, when executed by a processor, cause the processor to perform the method.
[0165] A system having a memory-compute sled and a compute sled is described. The memory-compute sled, carrying its own processor and memory components, is configured to operate in the memory sled mode so as to serve as a memory resource for the compute sled.
[0166] In various implementations, a system comprising: a memory-compute sled comprising: a Resource Provisioning Unit (RPU), a processor coupled to the RPU, and memory components coupled to the processor; a compute sled comprising an application processor; a switch coupled to both the memory-compute sled and the compute sled over Compute Express Link (CXL) interfaces; wherein the memory-compute sled is configured to operate in a memory sled mode in which the RPU is configured to operate in a translation mode with a first port coupled to the processor configured as a CXL Type-1 device and a second port coupled to the switch configured as a CXL Type-3 device; and wherein the memory-compute sled functions as a memory resource for the compute sled. The compute sled may be a sled that carries an application processor and runs workloads, and that does not itself serve as a memory resource, while the memory-compute sled carries the processor, the memory components, and the RPU and is configured to operate in the memory sled mode. The application processor of the compute sled may direct memory accesses through the switch to the memory-compute sled, which exposes memory components attached to its processor by operating the RPU in the translation mode. The memory-compute sled may be implemented as a circuit board carrying the processor, the memory components, and the RPU, and the compute sled may be implemented as a separate circuit board carrying the application processor.
[0167] In some implementations, the system further comprises firmware configured to: receive a command to reconfigure the memory-compute sled, transition the memory-compute sled from the memory sled mode to a compute sled mode, and reconfigure the RPU to operate in a retimer mode with ports configured as retimer pseudo-ports (PPs). The firmware may be implemented as boot firmware or management firmware of the memory-compute sled. On receiving a reconfiguration command, the firmware may quiesce the memory sled mode, write configuration registers of the RPU to leave the translation mode and enter a retimer mode with its ports configured as retimer pseudo-ports, and bring the sled up as a compute sled. The command may arrive over a management interface from a chassis controller or a fabric manager.
[0168] In some implementations of the system, transitioning the memory-compute sled from the memory sled mode to the compute sled mode further comprises: suspending memory allocation operations to the memory-compute sled, migrating data from the memory components of the memory-compute sled to alternate memory resources, and loading an operating system image suitable for compute operations. Before the memory-compute sled leaves the memory sled mode, memory allocations served by the sled may be suspended and data resident in its memory components may be migrated to alternate memory resources, such as another memory-compute sled or a memory sled reached through the switch, which may keep the data available after the sled becomes a compute sled. The OS image suitable for compute operations may be a general-purpose image.
[0169] In some implementations of the system, the memory-compute sled is configured to run a first operating system for memory management functions when operating in the memory sled mode, and is configured to run a second operating system when operating in the compute sled mode. The first OS may be a memory-management image, such as a lightweight image that exposes the memory components as a memory resource, and the second OS may be a general-purpose image that runs application workloads. The firmware may select which image to load based on the mode being entered.
[0170] In some implementations of the system, the memory-compute sled and the compute sled are disposed within a modular chassis together with the switch, and the compute sled is configured to access memory components of the memory-compute sled utilizing CXL.mem through the switch. The modular chassis may house the switch, the memory-compute sled, and the compute sled, and the compute sled may reach the memory components of the memory-compute sled as byte-addressable memory carried as CXL.mem transactions through the switch.
[0171] In some implementations of the system, The system of claim 18, wherein, in the translation mode, the RPU is further configured to: receive CXL.mem messages from the compute sled via the switch; translate the CXL.mem messages to CXL.cache messages; send the CXL.cache messages to the processor of the memory-compute sled; receive CXL.cache responses from the processor of the memory-compute sled; translate the CXL.cache responses to CXL.mem responses; and send the CXL.mem responses to the compute sled via the switch; and wherein, to translate the CXL.mem messages to the CXL.cache messages, the RPU is further configured to identify a cacheline-state intent based on at least one of: an opcode, a Snoop Type (SnpType), a Metadata Field (MetaField), or a Metadata Value (MetaValue) carried by the CXL.mem messages, and to select an opcode for the CXL.cache messages that achieves a corresponding cache-state transition at the processor of the memory-compute sled. The translation between CXL.mem and CXL.cache may be performed by a controller of the RPU, for example a finite state machine together with a tracker that holds state for pending transactions. For a CXL.mem message arriving from the compute sled, the controller may: (1) parse an opcode, a SnpType, a MetaField, and a MetaValue carried by the message; (2) determine, from one or more of these fields, a cacheline-state intent indicating the coherence state the requester expects for the addressed line, such as an intent to read a shared copy, to obtain an exclusive copy for modification, or to read a current value without retaining a copy; (3) select a CXL.cache opcode whose effect at the processor of the memory-compute sled produces the corresponding cache-state transition for that line; and (4) issue the selected CXL.cache message on the first port and record the pending transaction in the tracker. When a CXL.cache response returns from the processor, the controller may match it to the pending transaction, translate it to a CXL.mem response carrying the requested data or a completion, and send the CXL.mem response to the compute sled through the switch. The mapping from cacheline-state intent to CXL.cache opcode may be held in a lookup table of the RPU, or may be computed by combinational logic of the RPU. A potential technical effect of some implementations may be that the coherence semantics expected by the requesting compute sled are preserved when a request is serviced from memory held coherently by the processor of the memory-compute sled.
[0172] In some implementations of the system, the RPU of the memory-compute sled is further configured to maintain address translation tables that map a host physical address (HPA) utilized by the compute sled to a Device Physical Address (DPA) of memory resources exposed via the second port, and that map the DPA to an HPA utilized by the processor of the memory-compute sled. The address translation tables may be held in registers or in a memory of the RPU and may be programmed at initialization. A first table may map an HPA presented by the compute sled, within a host-managed device memory region exposed on the second port, to a DPA of the memory resources of the CXL Type-3 device. A second table may map the DPA to an HPA of the processor of the memory-compute sled, at which the backing memory components reside and which the RPU accesses on the first port according to CXL.cache. The two tables may be combined into a table that maps the HPA of the compute sled directly to the HPA of the processor of the memory-compute sled.
[0173] In some implementations of the system, the system further comprises a second memory-compute sled configured to operate simultaneously in a compute sled mode, wherein both the compute sled and the second memory-compute sled access memory components of the memory-compute sled through the switch. A second memory-compute sled may operate in the compute sled mode at the same time that the compute sled operates, and both may address the memory components of the memory-compute sled through the switch, which may arbitrate among requesters and route their CXL.mem transactions. A potential technical effect of some implementations may be that the memory resources of one memory-compute sled are shared among multiple requesters.
[0174] In some implementations of the system, the memory-compute sled is configured to implement at least one of: memory mirroring across multiple memory components, erasure coding for data protection, or Quality-of-Service (QoS) levels for prioritizing memory access requests. The memory-compute sled may implement memory mirroring by writing data to two or more of the memory components, may implement erasure coding by storing parity computed across the memory components, and may implement QoS levels by classifying memory access requests and serving higher-priority requests ahead of lower-priority requests. These features may be implemented by the RPU, by the processor of the memory-compute sled, or by a combination of the two.
[0175] In various implementations, a method comprising: operating a memory-compute sled comprising: a Resource Provisioning Unit (RPU), a processor coupled to the RPU, and memory components coupled to the processor; operating a compute sled comprising an application processor; communicating with a switch coupled to both the memory-compute sled and the compute sled over Compute Express Link (CXL) interfaces; operating the memory-compute sled in a memory sled mode in which the RPU operates in a translation mode; configuring a first port of the RPU coupled to the processor as a CXL Type-1 device; configuring a second port of the RPU coupled to the switch as a CXL Type-3 device; and utilizing the memory-compute sled as a memory resource for the compute sled. The method may be performed by the RPU of the memory-compute sled, the processor of the memory-compute sled, the application processor of the compute sled, and the switch. Operating the memory-compute sled in the memory sled mode may include configuring the ports of the RPU as recited and exchanging CXL transactions through the switch between the compute sled and the memory-compute sled.
[0176] In some implementations, the method further comprises receiving, by firmware, a command to reconfigure the memory-compute sled; transitioning the memory-compute sled from the memory sled mode to a compute sled mode; and reconfiguring the RPU to operate in a retimer mode with ports configured as retimer pseudo-ports (PPs). The firmware may receive the command over a management interface and, in response, reconfigure the RPU from the translation mode to a retimer mode with its ports configured as retimer pseudo-ports, bringing the memory-compute sled up as a compute sled.
[0177] In some implementations of the method, the transitioning further comprises: suspending memory allocation operations to the memory-compute sled; migrating data from the memory components of the memory-compute sled to alternate memory resources; and loading an operating system image suitable for compute operations. The transitioning may include suspending memory allocations served by the memory-compute sled, migrating data from its memory components to alternate memory resources reached through the switch, and loading a general-purpose OS image for compute operations.
[0178] In some implementations of the method, operating in the translation mode further comprises: receiving, by the RPU, CXL.mem messages from the compute sled via the switch; translating the CXL.mem messages to CXL.cache messages; sending the CXL.cache messages to the processor of the memory-compute sled; receiving, by the RPU, CXL.cache responses from the processor of the memory-compute sled; translating the CXL.cache responses to CXL.mem responses; and sending the CXL.mem responses to the compute sled via the switch; and wherein translating the CXL.mem messages to the CXL.cache messages comprises identifying a cacheline-state intent based on at least one of: an opcode, a Snoop Type (SnpType), a Metadata Field (MetaField), or a Metadata Value (MetaValue) carried by the CXL.mem messages, and selecting an opcode for the CXL.cache messages that achieves a corresponding cache-state transition at the processor of the memory-compute sled. Translating the CXL.mem messages to the CXL.cache messages may include deriving a cacheline-state intent from one or more fields of each CXL.mem message and selecting a CXL.cache opcode whose effect at the processor produces the matching cache-state transition, and a returning CXL.cache response may be translated to a CXL.mem response and sent to the compute sled through the switch.
[0179] In some implementations of the method, a non-transitory computer-readable medium comprising instructions which, when executed by a processor, cause the processor to perform the method.
[0180] FIG. 7 illustrates an example of a modular sled-based chassis that incorporates a CXL fabric alongside Ethernet and Storage (such as Fibre-Channel) fabrics. The modular chassis implements an architecture that integrates versatile Memory-Compute Sleds supporting resource allocation and utilization within a framework. The fabric infrastructure may be implemented utilizing various types of switches that facilitate connectivity between different system components, such as Ethernet Switches (e.g., for network communications), Fibre-Channel Switches (e.g., for storage connectivity), CXL Switches (e.g., for memory connectivity), and UALink Switches (e.g., for accelerator connectivity). These switches may be positioned in various locations within the chassis architecture, with a common example placing them in the chassis backplane. The switches establish interconnection pathways between sleds within the chassis and enable connectivity with external fabric elements, such as storage appliances, servers, or other modular chassis in a distributed system configuration.
[0181] The illustrated modular chassis comprises a heterogeneous collection of sled types having different features and capabilities for different resource provisioning requirements: (1) Memory-Compute Sleds functioning as either memory resources, compute resources, or potentially both simultaneously depending on system requirements and configuration. The Memory-Compute Sleds typically include one or more RPUs, one or more CPUs, and DRAM components with total capacity of at least 32GB. (2) Compute Sleds that host application workloads and may contain CPUs, GPUs, or other processing units, along with local memory resources, and may access the extended memory capacity provided by Memory Sleds or Memory-Compute Sleds configured in memory mode. (3) Memory Sleds that offer additional memory capacity to Compute Sleds and typically include DRAM modules and possibly also controllers such as CXL Memory Buffers that facilitate memory access through the CXL fabric. And (4) Storage Sleds that offer persistent data storage capabilities based on media such as SSDs, HDDs, or other storage technologies, which expand the available storage capacity for Compute Sleds beyond their local storage resources. The introduction of a CXL fabric enables the memory disaggregation capabilities of the modular chassis, allowing Compute Sleds to access memory resources provided by Memory Sleds or Memory-Compute Sleds operating in memory mode. This memory disaggregation provides flexibility in the association between memory resources and compute resources.
[0182] By integrating the RPUs within the Memory-Compute Sleds, the Compute Sleds can evolve into versatile Memory-Compute Sleds that provide both computational power and memory resources within a sled density and form factor. This dual-purpose functionality provides a hybrid cluster architecture that combines compute, memory, and storage elements within a modular chassis design. The illustrated example may implement various mechanisms for resource discovery, allocation, and management to orchestrate the interactions between different sled types. These mechanisms may include fabric managers, resource orchestrators, and specialized firmware components that collectively maintain system cohesion and operational integrity.
[0183] FIG. 8 illustrates an example of communication flows and operational modes of the Memory-Compute Sleds within the modular chassis, demonstrating the interconnections that enable flexible resource utilization. It depicts multiple flow paths for memory access, represented by circled numbers, showing how entities can access memory resources across different sleds through the CXL fabric. Memory-Compute Sled.1 is configured to operate as a Compute Sled, running entities that require computational resources. These entities access not only the local memory within the sled but also extend their memory capacity by utilizing remote memory resources provided by Memory-Compute Sled.2 (configured as a Memory Sled and marked with circled number one) and the Memory Sled (marked with circled number two). This configuration demonstrates the architectural flexibility that allows Memory-Compute Sleds to function in different operational modes based on system requirements and resource allocation policies.
[0184] In some examples, the operational mode of an RPU can be configured to improve performance characteristics based on workload requirements and system architecture. Multiple operational modes may be implemented, including but not limited to: (1) Retimer Mode, wherein the RPU's ports are configured as "Pseudo-Ports" (labeled as "PP" in the figure), and the RPU functions as a signal conditioner that performs signal regeneration. The retimer extracts both the clock and data information from the incoming signal and generates a new signal with improved signal integrity characteristics. This process reduces jitter and improves signal quality, though it may require additional processing resources and power consumption. The retimer functionality may be beneficial in high-speed interconnect environments wherein signal integrity supports reliable communication. (2) Redriver Mode, wherein the RPU may function as a redriver that selectively amplifies high-frequency components of the signal to compensate for signal degradation caused by cables, traces, or other transmission media. This approach primarily focuses on boosting signal amplitude and reshaping the signal profile without fully regenerating the clock and data, which may reduce power consumption relative to full clock and data regeneration. And (3) Translation Mode, wherein the RPU translates between different communication protocols or address domains, enabling interoperation between components using different protocols or addressing schemes. The Memory-Compute Sleds enable a sled to fulfill a compute role or a memory role based on system requirements, which may contribute to both the compute density and the available memory capacity within given physical chassis dimensions.
[0185] FIG. 9 illustrates an initialization flow for a Memory-Compute Sled, demonstrating the process to configure it to operate in either Memory Sled mode or Compute Sled mode, and adapt to changing workload requirements and resource allocation priorities. The initialization flow may incorporate different configuration options, detection mechanisms, and operational parameters that collectively determine the sled's functional role within the modular chassis ecosystem. An example of the initialization process begins with a Sled Reset Request, which serves as the trigger for the configuration sequence. This reset request may originate from various sources and utilizing different mechanisms, including: (1) User-Initiated Reset, wherein an administrator or operator may explicitly request a sled reset utilizing a management console, command-line interface, or system management software. This approach enables deliberate reconfiguration of the sled based on planned system changes or resource allocation adjustments. And (2) Controller-Initiated Reset, wherein the system controller may autonomously initiate a reset based on various operational factors, such as: scheduled maintenance windows for planned reconfiguration, dynamic resource management algorithms that detect changing workload patterns, fault recovery processes responding to detected anomalies or performance degradation, power management policies that adjust system configuration to manage energy use, and / or workload migration events that require reconfiguration of resource allocations. The Reset Request may be implemented utilizing various mechanisms, including reset signal lines, in-band management commands, sideband management interfaces, or power cycling operations, depending on the hardware implementation and system architecture.
[0186] Following the Reset Request, the system may issue a Sled Reset Release signal that transitions the sled from reset state to initialization state, and may include various hardware initialization sequences, power stabilization periods, and / or preliminary diagnostic checks before the firmware begins execution. Once released from reset, the Sled System Firmware begins the initialization process. The Sled System Firmware may be implemented as BIOS, UEFI, OpenBMC, specialized microcode, or other firmware variants depending on the platform architecture. During the initialization sequence, the Sled System Firmware detects the predetermined configuration that will dictate whether the sled operates in Memory Sled Mode or Compute Sled Mode. The configuration detection may occur utilizing various mechanisms, such as (1) Reading configuration from non-volatile storage, wherein the firmware may access configuration parameters stored in Flash memory, SSD, EEPROM, or other persistent storage media; these parameters may be set during manufacturing, system provisioning, or previous operational cycles. (2) BIOS / CMOS settings, wherein on systems with BIOS or UEFI implementations, configuration settings may be stored in CMOS memory or NVRAM accessible during the boot process. (3) Controller command processing, wherein the sled may receive explicit configuration directives from a chassis management controller or fabric manager through management interfaces. (4) Front-panel button settings, wherein physical switches, jumpers, or button configurations on the sled itself may provide configuration input that the firmware detects during initialization. (5) Detection of hardware capabilities, wherein the firmware may perform hardware discovery and capability detection to automatically determine the suitable operational mode based on installed components and system capabilities. And / or (6) Policy-Based Configuration, wherein the firmware may apply configuration policies based on sled position within the chassis, system-wide resource allocation techniques, or predefined operational profiles. The configuration detection process is not necessarily limited to a binary decision between Memory Sled Mode and Compute Sled Mode. In some examples, the firmware may detect configurations for hybrid operational modes, specialized functions, or custom configurations tailored to specific workload requirements. The detected configuration determines the subsequent initialization path, directing the process toward either Memory Sled Mode initialization or Compute Sled Mode initialization as illustrated in the respective flow diagrams.
[0187] FIG. 6A illustrates an example of initialization flow when the Memory-Compute Sled operates in Memory Sled Mode, the sled provides memory resources to other Compute Sleds within the modular chassis environment, and the RPU is configured to operate in translation mode. In this mode, the RPU functions as a translator between different interface types and enables memory access across domain boundaries. The translation mode configuration includes setting up multiple ports with certain functionality, such as (1) Sled CPU Side Configuration, wherein the RPU port coupled to the local CPU is configured as an endpoint (EP) implementing the CXL Type-1 Device or CXL Type-2 Device, which enables the local CPU to interact with the RPU using CXL.cache. (2) Switch Side Configuration, wherein the RPU port coupled to the Switch is configured as an endpoint (EP) implementing the CXL Type-2 Device or CXL Type-3 Device protocol, which enables the RPU to expose memory resources to the CXL fabric utilizing CXL.mem. The RPU configuration process may include programming various internal registers, configuring lookup tables for address translation, establishing protocol parameters, and initializing internal state machines that manage the translations.
[0188] As part of the initialization sequence, the switch, which may be a CXL switch, discovers the RPU CXL Type-3 or Type-2 Device utilizing the PCIe / CXL enumeration process, which may include the following steps: (1) The Switch may perform enumeration of devices coupled to its ports, including the port coupled to the RPU. (2) During enumeration, the Switch may identify the RPU as a CXL Type-3 or Type-2 Device based on capability structures and device identifiers exposed by the RPU. And (3) The Switch may establish communication with the RPU using the CXL protocol and determines the capabilities and features supported by the RPU implementation. Once the Switch has discovered the RPU, it presents the RPU to the Fabric Manager (FM) as a CXL Memory Device, which makes the memory resources associated with the sled available for allocation to entities within the modular chassis environment. The presentation to the FM may include various information exchanges, such as: (1) Device identification information such as vendor ID, device ID, and serial number. (2) Memory capacity and characteristics information. (3) Performance capabilities and QoS parameters. (4) Security and isolation features supported by the device. (5) Health monitoring and diagnostic capabilities. And / or (6) Management interface specifications. The FM may then register the device in its resource inventory, making it available for allocation based on system policies, workload requirements, and resource management algorithms.
[0189] Concurrently or sequentially, the Sled System Firmware discovers, enumerates, and initializes the RPU CXL Type-1 or Type-2 Device as an Accelerator, which enables the local CPU to interact with the RPU using the appropriate protocols and interfaces. The discovery and initialization process may include: (1) CPU-initiated enumeration of locally coupled devices using PCIe / CXL discovery mechanisms. (2) Identification of the RPU as a CXL Type-1 Device based on capability structures and device identifiers. (3) Initialization of communication channels between the CPU and the RPU. (4) Configuration of memory-mapped I / O regions for control and status registers. And / or (5) Programming of device-specific parameters according to system requirements. The firmware may further apply various configuration settings for the performance, power use, and functional behavior of the RPU based on requirements of the Memory Sled operational mode.
[0190] Following the hardware discovery and initialization processes, the Sled System Firmware configures the sled to load a predetermined OS image for operating as a Memory Sled. The OS image may be (1) A lightweight specialized OS for memory management functions. (2) A full-featured general-purpose OS with specialized memory service modules. (3) A hypervisor-based environment that facilitates memory resource virtualization. (4) A custom memory management stack with minimal OS functionality. Or (5) A container-based environment running memory service applications.
[0191] The OS loading process may include various mechanisms, such as (1) Loading from local storage devices attached to the sled. (2) Network boot. (3) Loading from chassis-level shared storage resources. (4) Direct firmware-to-OS handoff without intermediate boot mechanisms. Or (5) Specialized boot processes for quick initialization and minimal resource consumption. When the OS image has been loaded into memory, the Sled System Firmware transfers execution control to the OS. This transfer establishes the OS as the main execution environment for the sled, enabling it to manage memory resources and provide memory services to entities. The control transfer process may include: (1) Execution of OS entry points with appropriate parameters. (2) Handoff of system configuration information from firmware to OS. (3) Establishment of runtime services and interfaces between firmware and OS. (4) Initialization of OS-level device drivers and service modules. Or (5) Activation of memory management subsystems specific to the Memory Sled functionality.
[0192] Upon completion of these initialization steps, the sled enters operational state in Memory Mode, making its memory resources available to entities through the CXL fabric. The Memory Mode operation may include various runtime behaviors, such as (1) Dynamic memory allocation and deallocation based on entity requests. (2) Memory state management including refresh operations and error correction. (3) Performance monitoring and tuning. (4) Power management to balance performance and energy use. (5) Health monitoring and fault management. And / or (6) Security enforcement including access control and isolation.
[0193] FIG. 6B illustrates an example of initialization flow when the Memory-Compute Sled operates in Compute Sled Mode, wherein the sled functions as a computational resource within the modular chassis environment, and the Sled System Firmware configures the RPU to operate in "Retimer Mode". In this mode, the RPU functions mainly as a signal conditioning element that improves signal integrity for high-speed interconnects. The Retimer Mode configuration involves setting up multiple ports with specific functionality: (1) In the sled CPU side configuration, the RPU port coupled to the local CPU is configured as a Retimer Pseudo-Port. This configuration enables the RPU to process and regenerate signals between the CPU and the fabric, improving signal quality and maintaining communication reliability. The Retimer Pseudo-Port may implement various signal conditioning techniques, such as: clock and data recovery circuits that extract timing information from data streams, equalization circuits that compensate for channel losses, de-emphasis and pre-emphasis functions that shape signal characteristics, jitter reduction mechanisms that improve timing accuracy, and / or adaptive algorithms that adjust signal parameters based on channel conditions. And (2) In the switch side configuration, the RPU port coupled to the Switch is also configured as a Retimer Pseudo-Port, which enables similar signal conditioning functions for communications between the sled and the Switch. The Switch-side Retimer Pseudo-Port may implement the same or similar signal conditioning techniques as the CPU-side port, potentially with different parameter settings suited to the channel characteristics of the Switch connection. The RPU configuration process for Retimer Mode may further include programming various internal registers, setting signal conditioning parameters, initializing adaptive algorithms, and / or establishing monitoring mechanisms for signal quality assessment.
[0194] As part of the initialization sequence, the Fabric Manager (FM) configures the Switch to establish appropriate communication paths between the Compute Sled and other resources within the modular chassis. This configuration may include the following steps: (1) The FM may assign Virtual CXL Switch (VCS) resources to support the Compute Sled's connectivity requirements. These VCS resources may include: memory buffers for transaction queuing, address translation tables, routing resources for traffic management, QoS parameters, and / or monitoring resources for performance assessment. (2) The FM may bind an Upstream Virtual PCI-to-PCI Bridge (US vPPB) to the Switch Upstream Port (USP) that is coupled to the sled. This binding establishes the logical connection between the Compute Sled and the switch fabric, enabling PCIe / CXL transactions to flow between the sled and other components in the system. The US vPPB binding process may include: configuration of bridge control registers, establishment of address ranges for forwarding, configuring power management parameters, and / or initializing error reporting structures. And (3) The FM may assign Downstream Ports (DSPs) to the VCS associated with the Compute Sled to provide connectivity to various resources that the Compute Sled may access, such as Memory Sleds, Storage Sleds, or network interfaces. The DSP assignment process may include: mapping physical ports to logical connections, configuring port operating parameters such as link width and speed, establishing QoS policies for traffic management, setting up access control mechanisms, and / or initializing performance monitoring counters. The FM may further implement policies and algorithms to determine the switch configuration based on system-wide resource allocation techniques, workload requirements, and performance objectives.
[0195] Following the switch configuration, the Sled System Firmware discovers, enumerates, and initializes PCIe and CXL Devices residing on the topology coupled to DSPs assigned to the VCS coupled with the Sled. This process enables the Compute Sled to access and utilize various resources available through the switch fabric. The discovery and initialization process may include: enumeration of devices accessible through the assigned DSPs using PCIe / CXL discovery mechanisms, identification of device types, capabilities, and characteristics, initialization of device-specific parameters and control structures, establishment of memory-mapped I / O regions for device access, configuration of interrupt mechanisms for event notifications, loading of device firmware or microcode as required, performance of device-specific initialization sequences, and / or verification of device functionality utilizing basic operational tests. The firmware may apply various techniques during this process to enhance system performance, including prefetching device configuration data, parallel initialization of multiple devices, and / or prioritized initialization based on system requirements.
[0196] Following the hardware discovery and initialization processes, the Sled System Firmware configures the sled to load a predetermined OS image for operating as a Compute Sled. This OS image may be a general-purpose OS for computational workloads, a specialized OS designed for specific application domains, a hypervisor that enables virtualized workload execution, a container platform that facilitates application deployment, and / or a real-time OS for latency-sensitive applications. The OS loading process may include various mechanisms, such as loading from local storage devices attached to the sled, network boot, loading from chassis-level shared storage resources, specialized boot mechanisms suited to the OS type, and / or secure boot processes that verify OS image integrity.
[0197] When the OS image has been loaded into memory, the Sled System Firmware transfers execution control to the OS. This transfer establishes the OS as the main execution environment for the sled, enabling it to manage computational resources and execute application workloads. The control transfer process may include execution of OS entry points with appropriate parameters, handoff of system configuration information from firmware to OS, establishment of runtime services and interfaces between firmware and OS, initialization of OS-level device drivers for hardware access, and / or activation of system services required for workload execution.
[0198] Upon completion of these initialization steps, the sled enters operational state in Compute Mode, capable of executing application workloads while accessing memory and storage resources through the CXL fabric. The Compute Mode operation may include various runtime behaviors, such as workload scheduling and execution, memory management across local and remote memory resources, I / O operations through attached or network-accessible devices, and / or performance monitoring and tuning.
[0199] FIG. 10 illustrates an alternative example of a modular chassis architecture that utilizes an RPU that functions, at least in part, as a switch (RPU Switch) rather than implementing a standard CXL switch. This approach potentially offers several advantages, such as in reducing latency and improving system integration, while maintaining the core functional capabilities of the modular chassis design. In the illustrated example, the RPU Switch functions as a central connectivity hub within the modular chassis, connecting to multiple Memory-Compute Sleds, a Memory Sled, and a Storage Sled. The RPU Switch effectively combines at least some of the functionality of a CXL switch with the translations and signal conditioning capabilities of an RPU, creating an integrated solution that potentially reduces component count and simplifies the system architecture.
[0200] The RPU Switch may expose different interface types based on the coupled component requirements, including endpoint (EP) and root port (RP) Interfaces. More specifically, when the RPU Switch presents EP interfaces to the Memory-Compute Sleds, it enables the sleds to initiate memory transactions and access memory resources through the switch. These EP interfaces may implement various protocol features, such as support for PCIe / CXL transaction types relevant to compute operations, QoS mechanisms for prioritizing critical transactions, flow control capabilities to manage transaction rates, and / or performance monitoring features for system optimization. When the RPU Switch presents RP interfaces to the Memory and Storage Sleds, it enables the sleds to initiate transactions to these resources on behalf of the Memory-Compute Sleds. These RP interfaces may implement various protocol features, such as support for memory-semantic transactions to Memory Sleds, support for I / O-semantic transactions to Storage Sleds, address translation capabilities for memory access, security mechanisms to enforce proper access control, and / or error handling and recovery procedures.
[0201] The direct integration of switching functionality into the RPU offers potential advantages in system design and performance, such as one or more of the following. (1) By eliminating a separate switch component from the communication path, the integrated RPU Switch may reduce the end-to-end latency for memory and storage access operations, which may be beneficial for latency-sensitive applications and workloads. (2) The integrated approach may reduce the number of discrete components in the system, potentially simplifying the chassis design, reducing power consumption, and improving overall system reliability through reduced component count. (3) With direct control over both the switching and translation functions, the RPU Switch may potentially implement more efficient protocol handling, custom optimizations, and specialized acceleration features tailored to the requirements of the modular chassis environment. And / or (4) The integrated design may reduce the number of high-speed signal transitions between discrete components, potentially improving signal integrity and enabling higher communication speeds or improved reliability at existing speeds. The RPU Switch implementation demonstrates the versatility and adaptability of RPU technology in enabling efficient modular chassis designs. By consolidating multiple functions into a component, the RPU Switch may optimize communication paths between compute and memory resources while maintaining the flexibility and resource-sharing benefits inherent in the Memory-Compute Sled architecture.
[0202] The following implementation relates to memory systems in which memory is contributed to a pool by hardware that may be serviced or replaced while the system continues operating, and in which a consumer of the pooled memory reaches that memory across a fabric. Within such systems, pooled memory may be assembled from field-replaceable hardware that is serviced during operation, which may involve technical considerations including maintaining memory availability and access continuity across insertion and removal of the hardware, distributing memory traffic among processing units that hold the underlying memory, and reconciling an address space presented to a consumer of the pooled memory with an address space of the processing units that hold the underlying memory. Some implementations may address one or more such technical considerations, among others. A memory-compute sled may include processing units, memory operatively associated with the processing units, and an RPU that handles memory traffic directed at the memory-compute sled.
[0203] In various implementations, a system comprising: a first memory-compute sled comprising a first Resource Provisioning Unit (RPU) coupled to first and second processing units (xPUs) over first and second interfaces configured to communicate according to CXL.cache, respectively, the first and second xPUs operatively associated with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32GB each, respectively; wherein CXL denotes Compute Express Link; wherein the first xPU is coupled to the second xPU over an inter-socket link (ISoL), the first xPU is configured to run an operating system, and the first RPU is configured to: steer CXL.cache messages intended for the first DRAM to the first xPU, and steer CXL.cache messages intended for the second DRAM to the second xPU; a switch, coupled over third and fourth interfaces, configured to communicate according to CXL.mem with the first memory-compute sled and a second memory-compute sled, respectively; the switch is further coupled to entities configured to utilize memory of at least one of the first or second memory-compute sleds; and wherein the system is configured to support hot-swapping of the first memory-compute sled. The first RPU may be implemented as a finite state machine in an ASIC, as firmware executed by an embedded processor of the first RPU, or as a combination of dedicated circuitry and firmware. The switch may be implemented as switching circuitry in a chassis, and the first RPU may present, to the switch, memory of the first memory-compute sled as memory accessible according to CXL.mem. The first RPU may steer a CXL.cache message by, for example: (1) extracting a target address carried by the message; (2) determining, from the target address, which of the first DRAM or the second DRAM holds the targeted memory, such as by comparing the target address against address ranges associated with the first and second DRAMs or by consulting a mapping that the first RPU maintains; and (3) directing the message toward the xPU operatively associated with the determined DRAM. The first xPU may run the OS as a boot processor of the first memory-compute sled, and the second xPU may participate in the OS over the ISoL. Support for hot-swapping of the first memory-compute sled may be provided by a controller that, for example: (1) receives a request to service the first memory-compute sled; (2) maintains availability of memory utilized by the entities, such as by redirecting or migrating memory traffic; and (3) signals when the first memory-compute sled may be removed. The steering may operate by an address-based determination that does not depend on the number of xPUs or DRAMs within a memory-compute sled, so that the same steering may apply where a memory-compute sled includes two xPUs operatively associated with two DRAMs or includes a greater number of each. Potential advantages of some implementations may include, without limitation, distribution of memory access across the xPUs of a memory-compute sled according to where targeted memory resides, and continuity of memory access while a memory-compute sled is serviced. A given implementation need not provide any particular advantage.
[0204] In some implementations of the system, the entities comprise first and second CPUs or GPUs operatively associated with fifth and sixth DRAMs having a capacity of at least 16GB each, respectively. An entity may be a CPU that issues memory accesses to memory of a memory-compute sled, or a GPU that issues such memory accesses, and the fifth and sixth DRAMs may serve as local memory of the respective entities, such as memory holding working data of an entity. Where an entity is a GPU, the local memory of the entity may include high-bandwidth memory. Associating an entity with a DRAM may allow the entity to stage data locally while utilizing memory of a memory-compute sled.
[0205] In some implementations of the system, the first RPU is further configured to: implement a mirroring protocol between the first and second xPUs, duplicate write operations to both the first and second DRAMs, and alternate read operations between the first and second DRAMs to balance load. The first RPU may implement the mirroring protocol by directing each write operation to both the first and second DRAMs and by directing successive read operations alternately to the first and second DRAMs. As an alternative to strict alternation, the first RPU may select the read target based on monitored load metrics of the first and second xPUs. The first RPU, which is coupled between the switch and the xPUs, may thereby maintain redundancy of data across the first and second DRAMs and distribute read traffic across the first and second xPUs. The mirroring protocol may be combined with a coherency directory maintained by the first RPU and with the address-based steering, such that a write directed at a memory-compute sled is duplicated to the first and second DRAMs while reads are distributed across the first and second xPUs.
[0206] In some implementations of the system, the first RPU is further configured to: maintain a coherency directory to track the state of cachelines mirrored across the first and second DRAMs, and use CXL.cache snoop filtering based on the coherency directory to reduce unnecessary coherence traffic between the first and second xPUs. The coherency directory maintained by the first RPU may include, for cachelines mirrored across the first and second DRAMs, an indication of a cacheline state, and the first RPU may consult the coherency directory to suppress a CXL.cache snoop toward an xPU when the coherency directory indicates the snoop is unnecessary. The coherency directory may be implemented as a table held in a memory of the first RPU. Snoop filtering based on the coherency directory may reduce coherence traffic exchanged with the first and second xPUs.
[0207] In some implementations of the system, the first RPU is further configured to: implement an erasure coding scheme across the first and second DRAMs, distribute data and parity information across the first and second DRAMs during write operations, and reconstruct data using the erasure coding scheme during read operations when data is unavailable in one of the DRAMs. The first RPU may implement the erasure coding scheme by computing parity information over data written across the first and second DRAMs and storing the data and the parity information across the first and second DRAMs, and may reconstruct unavailable data from remaining data and parity information during a read operation. As an alternative to a parity-based scheme, the first RPU may apply a coding scheme that tolerates loss of a configurable number of the DRAMs. Erasure coding across the first and second DRAMs may allow recovery of data when data in one of the first or second DRAMs is unavailable.
[0208] In some implementations, the system further comprises a management controller configured to: initiate a hot-removal process for the first memory-compute sled, migrate data from the first memory-compute sled to the second memory-compute sled, and signal when the first memory-compute sled can be safely removed. The management controller may be implemented as a controller in the chassis, as firmware of the switch, or as instructions executed by a processor of the system. The management controller may initiate the hot-removal process by quiescing memory accesses directed at the first memory-compute sled, may migrate data from the first memory-compute sled to the second memory-compute sled by copying memory contents over the switch, and may signal removal readiness by asserting an indication to an operator or to the OS. Migrating data before removal may allow the data of the first memory-compute sled to remain available through the second memory-compute sled.
[0209] In some implementations of the system, the system is further configured to: detect insertion of a third memory-compute sled, initialize the third memory-compute sled, and integrate available memory of the third memory-compute sled to available memory of a memory pool comprising the first and second memory-compute sleds. The system may detect insertion of the third memory-compute sled by sensing presence at a port of the switch, may initialize the third memory-compute sled by configuring an RPU of the third memory-compute sled and discovering its memory, and may integrate the available memory of the third memory-compute sled into the memory pool by extending the memory exposed to the entities. Integrating a newly inserted memory-compute sled may allow the memory pool to grow during operation of the system.
[0210] In some implementations of the system, the first and second memory-compute sleds comprise different hardware specifications, allowing for heterogeneous resource allocation within a memory pool comprising the first and second memory-compute sleds. The different hardware specifications may include different xPU types, different DRAM capacities, or different RPU implementations across the first and second memory-compute sleds. The memory pool may allocate memory of a memory-compute sled to an entity based on the hardware specification of that memory-compute sled, allowing memory-compute sleds of differing capability to coexist within the memory pool.
[0211] In some implementations of the system, the first RPU is physically installed into the first memory-compute sled as one of: a Card Electromechanical (CEM) specification, an Open Compute Project (OCP) Card, a mezzanine card, or a chip-on-motherboard. The first RPU may be installed as a pluggable card conforming to a CEM specification or as an OCP Card seated in a chassis slot, as a mezzanine card mounted to a board of the first memory-compute sled, or as a chip mounted on a motherboard of the first memory-compute sled. A pluggable form factor may allow the first RPU to be replaced together with the first memory-compute sled during servicing.
[0212] In some implementations of the system, the first and second memory-compute sleds are configured to be field-serviceable, allowing for maintenance or replacement without powering down the entire system. Field-serviceability of a memory-compute sled may be provided by mounting the memory-compute sled in a slot that supports insertion and removal while the chassis remains powered, and by electrically isolating the slot during insertion and removal. A field-serviceable memory-compute sled may be maintained or replaced while the remaining memory-compute sleds of the system remain in operation.
[0213] In some implementations of the system, the first and second memory-compute sleds are configured to operate separately, allowing removal and replacement of one memory-compute sled without interrupting the operation of the other memory-compute sled. Separate operation of the first and second memory-compute sleds may be provided by running an OS on the first xPU of a memory-compute sled independently of an OS of another memory-compute sled, isolating processes and memory management between the memory-compute sleds. Separate operation may support removal and replacement of one memory-compute sled while another memory-compute sled continues operating.
[0214] In some implementations of the system, memory operations between the first and second memory-compute sleds are isolated, allowing the system to dynamically reassign memory resources during the hot-swapping. Isolation of memory operations between the first and second memory-compute sleds may be provided by maintaining separate address spaces and separate memory access paths for the memory-compute sleds at the switch and at the RPUs. During hot-swapping, the system may redirect memory accesses directed at a memory-compute sled being serviced to memory of a remaining memory-compute sled, reassigning memory resources so that the entities may continue to access memory.
[0215] In some implementations of the system, the third and fourth interfaces facilitate different memory access management processes, and the operating system on the first xPU is configured to manage its memory resources, allowing dynamic reallocation of memory during the hot-swapping process. The third and fourth interfaces, carrying CXL.mem to the first and second memory-compute sleds, may handle memory accesses of the respective memory-compute sleds through separate management processes, limiting interference between the memory-compute sleds. During the hot-swapping process, memory accesses may be rerouted or managed separately for each memory-compute sled, and the OS on the first xPU may reallocate memory resources of its memory-compute sled.
[0216] In some implementations of the system, the system is further configured to dynamically redistribute workloads between the first and second memory-compute sleds during hot-swapping to maintain continuous operation. The system may redistribute workloads between the first and second memory-compute sleds during hot-swapping by reassigning a workload of a memory-compute sled being serviced to a remaining memory-compute sled based on a current state of the system and available memory. Redistributing workloads during hot-swapping may maintain continuous operation while a memory-compute sled is serviced or replaced.
[0217] In some implementations of the system, the switch comprises a CXL switch, and wherein the CXL switch is integrated within a modular chassis comprising the first and second memory-compute sleds. The CXL switch may be integrated within the modular chassis as a switch board to which the first and second memory-compute sleds connect through chassis slots, the CXL switch communicating according to CXL.mem with the first RPU over the third interface. Integrating the CXL switch within the chassis may shorten the connection between the CXL switch and the memory-compute sleds.
[0218] In some implementations of the system, the first RPU is further configured to: monitor CXL.cache transaction queue depths and processing latencies for both the first and second xPUs, and dynamically adjust CXL.cache transaction routing between the first and second xPUs based on the monitored metrics. The first RPU may monitor the CXL.cache transaction queue depths and processing latencies by maintaining counters per xPU, and may adjust routing by selecting, for a message that is reachable through either xPU, the xPU presenting a lower queue depth or processing latency. As an alternative to using instantaneous values, the first RPU may monitor a moving average of the metrics. The monitored metrics may supplement the address-based steering of a message where memory targeted by the message is reachable through either of the first or second xPU, distributing load between the xPUs.
[0219] In various implementations, a system comprising: a first memory-compute sled comprising a first Resource Provisioning Unit (RPU) coupled to first and second processing units (xPUs) over first and second interfaces configured to communicate according to CXL.cache, respectively, the first and second xPUs operatively associated with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32GB each, respectively; wherein CXL denotes Compute Express Link; wherein the first xPU is coupled to the second xPU over an inter-socket link (ISoL), the first xPU is configured to run an operating system, and the first RPU is configured to: steer CXL.cache messages intended for the first DRAM to the first xPU, and steer CXL.cache messages intended for the second DRAM to the second xPU; a switch, coupled over third and fourth interfaces, configured to communicate according to CXL.mem with the first memory-compute sled and a second memory-compute sled, respectively; the second memory-compute sled comprising a second RPU coupled to third and fourth xPUs over fifth and sixth interfaces configured to communicate according to CXL.cache, respectively, the third and fourth xPUs operatively associated with third and fourth DRAMs having a capacity of at least 32GB each, respectively; wherein the third and fourth interfaces are coupled to the first and second RPUs, respectively, and the first and second RPUs are configured to translate between CXL.mem and CXL.cache messages; wherein the switch is further coupled to entities configured to utilize memory of at least one of the first or second memory-compute sleds; and wherein the system is configured to support hot-swapping of the first and second memory-compute sleds. The first and second RPUs may translate between CXL.mem and CXL.cache by, for example: (1) receiving, over the third or fourth interface, a memory access carried according to CXL.mem; (2) generating one or more corresponding CXL.cache messages directed at the xPU of the memory-compute sled that holds the targeted memory; and (3) returning a response carried according to CXL.mem based on a CXL.cache response from that xPU. The third and fourth interfaces may carry CXL.mem between the switch and the first and second RPUs, so that memory of each memory-compute sled may be exposed to the entities as memory accessible according to CXL.mem while being held as memory of the xPUs of that memory-compute sled and accessed according to CXL.cache. The translation may operate on a per-access basis that does not depend on the total number of memory-compute sleds, so that the same translation may apply whether two memory-compute sleds are present or a greater number are present.
[0220] In some implementations of the system, the first and second RPUs are configured to translate physical addresses within a host physical address (HPA) space utilized by an entity to physical addresses within an HPA space utilized by a CPU. An RPU may translate a physical address within an HPA space utilized by an entity to a physical address within an HPA space utilized by a CPU by applying an offset or a mapping table that relates the two HPA spaces, where an xPU of the memory-compute sled is a CPU. The translation between HPA spaces may be performed as part of the translation between CXL.mem and CXL.cache, so that a memory access expressed in the HPA space of the entity reaches the corresponding memory expressed in the HPA space of the CPU.
[0221] In various implementations, a method comprising: operating a first memory-compute sled comprising: a first Resource Provisioning Unit (RPU) communicating according to CXL.cache with first and second processing units (xPUs), the first and second xPUs communicating with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32GB each, respectively, wherein CXL denotes Compute Express Link; communicating between the first and second xPUs over an inter-socket link (ISoL); running an operating system on the first xPU; steering, by the first RPU, CXL.cache messages intended for the first DRAM to the first xPU, and steering CXL.cache messages intended for the second DRAM to the second xPU; communicating, by a switch, according to CXL.mem with the first memory-compute sled and with a second memory-compute sled; utilizing, by entities communicating with the switch, memory of at least one of the first or second memory-compute sleds; and supporting hot-swapping of the first memory-compute sled. The steps of operating, steering, and supporting hot-swapping may be performed by the first RPU implemented as a finite state machine in an ASIC or as firmware executed by an embedded processor of the first RPU, and by switching circuitry of the switch. The first RPU may steer a CXL.cache message based on a target address carried by the message, directing the message toward the xPU operatively associated with the DRAM that holds the targeted memory.
[0222] In some implementations of the method, the second memory-compute sled comprises a second RPU communicating according to CXL.cache with third and fourth xPUs, the third and fourth xPUs communicating with third and fourth DRAMs having a capacity of at least 32GB each, respectively; communicating by the first and second RPUs according to CXL.mem with the switch; translating, by the first and second RPUs, between CXL.mem and CXL.cache messages; and supporting hot-swapping of the second memory-compute sled. The translating between CXL.mem and CXL.cache may be performed by the first and second RPUs as method steps, each RPU receiving a memory access carried according to CXL.mem from the switch and generating one or more corresponding CXL.cache messages directed at an xPU of its memory-compute sled.
[0223] In some implementations, the method further comprises implementing, by the first RPU, a mirroring protocol between the first and second xPUs, duplicating write operations to both the first and second DRAMs, and alternating read operations between the first and second DRAMs to balance load. The mirroring protocol, the duplicating of write operations, and the alternating of read operations may be performed by the first RPU as method steps, for example by a finite state machine or firmware of the first RPU.
[0224] In some implementations, the method further comprises maintaining, by the first RPU, a coherency directory to track the state of cachelines mirrored across the first and second DRAMs; and filtering CXL.cache snoops based on the coherency directory to reduce unnecessary coherence traffic between the first and second xPUs. Maintaining the coherency directory and filtering CXL.cache snoops based on the coherency directory may be performed by the first RPU, the coherency directory being held as a table in a memory of the first RPU.
[0225] In some implementations, the method further comprises implementing, by the first RPU, an erasure coding scheme across the first and second DRAMs, distributing data and parity information across the first and second DRAMs during write operations, and reconstructing data using the erasure coding scheme during read operations when data is unavailable in one of the DRAMs. The erasure coding scheme may be performed by the first RPU as method steps, computing parity information over data written across the first and second DRAMs and reconstructing unavailable data from remaining data and parity information.
[0226] In some implementations, the method further comprises initiating, by a management controller, a hot-removal process for the first memory-compute sled, migrating data from the first memory-compute sled to the second memory-compute sled, and signaling when the first memory-compute sled can be safely removed. Initiating the hot-removal process, migrating data, and signaling removal readiness may be performed by the management controller, which may quiesce memory accesses directed at the first memory-compute sled before migrating data over the switch.
[0227] In some implementations, the method further comprises detecting insertion of a third memory-compute sled, initializing the third memory-compute sled, and integrating available memory of the third memory-compute sled to available memory of a memory pool comprising the first and second memory-compute sleds. Detecting insertion of the third memory-compute sled may include sensing presence at a port of the switch, and integrating its available memory into the memory pool may include extending the memory exposed to the entities.
[0228] In some implementations, the method further comprises isolating memory operations between the first and second memory-compute sleds, and reassigning memory resources dynamically during the hot-swapping. Isolating memory operations may include maintaining separate address spaces and separate memory access paths for the first and second memory-compute sleds, and reassigning memory resources during the hot-swapping may include redirecting memory accesses to a remaining memory-compute sled.
[0229] In some implementations, the method further comprises managing memory access separately according to CXL.mem for each memory-compute sled, managing memory resources separately by the operating system on the first xPU, and reallocating memory dynamically during the hot-swapping process. Managing memory access separately for the first and second memory-compute sleds may include handling the CXL.mem accesses of each memory-compute sled through a separate management process, and the OS on the first xPU may reallocate memory resources of its memory-compute sled during the hot-swapping process.
[0230] In some implementations, the method further comprises redistributing workloads dynamically between the first and second memory-compute sleds during hot-swapping to maintain continuous operation. Redistributing workloads during hot-swapping may include reassigning a workload of a memory-compute sled being serviced to a remaining memory-compute sled based on a current state of the system and available memory.
[0231] In some implementations, the method further comprises translating, by the first and second RPUs, physical addresses within a host physical address (HPA) space utilized by an entity to physical addresses within an HPA space utilized by a CPU. Translating between the HPA space utilized by an entity and the HPA space utilized by a CPU may be performed by an RPU as part of the translating between CXL.mem and CXL.cache, where an xPU of the memory-compute sled is a CPU.
[0232] In some implementations, the method further comprises monitoring, by the first RPU, CXL.cache transaction queue depths and processing latencies for both the first and second xPUs, and adjusting CXL.cache transaction routing dynamically between the first and second xPUs based on the monitored metrics. Monitoring the CXL.cache transaction queue depths and processing latencies and adjusting CXL.cache transaction routing based on the monitored metrics may be performed by the first RPU, which may route a message reachable through either xPU toward the xPU presenting a lower queue depth or processing latency.
[0233] FIG. 11 illustrates an example of a system supporting hot-swapping of memory-compute sleds, wherein each sled contains dual Processing Units (xPUs) such as CPUs or GPUs. The system comprises memory-compute sleds (shown as Sled #1 through Sled #N) coupled to entities via a switch, such as a CXL switch, which connects to the sleds via interfaces configured to communicate according to CXL.mem. In each of the illustrated memory-compute sleds, an RPU is coupled to two xPUs via interfaces configured to communicate according to CXL.cache. For example, in Memory-Compute Sled #1, RPU #1 connects to xPU #1 and xPU #2, while in Memory-Compute Sled #N, RPU #2 connects to xPU #(2N-1) and xPU #(2N). Each xPU is operatively associated with DRAM having a capacity of at least 32GB, and the two xPUs within each sled are interconnected via an inter-socket link (ISoL) enabling communication between them.
[0234] The switch may interface with different types of entities: CPU-based entities (shown as Entity.1) or GPU-based entities with High Bandwidth Memory (HBM) (shown as Entity.M). These entities may connect to the switch through Upstream Ports (USPs) utilizing interfaces configured to communicate according to CXL.mem, while the switch connects to the memory-compute sleds' RPUs through Downstream Ports (DSPs). Each RPU in the system may translate between CXL.mem and CXL.cache messages, and steer CXL.cache messages to the appropriate xPU based on the target DRAM. The steering capability may create a balanced NUMA topology, as the RPU can communicate with both xPUs and route memory access requests based on the destination DRAM. The system supports hot-swapping of the memory-compute sleds while maintaining operational continuity. xPUs in different memory-compute sleds run different OS instances, enabling separate operation and facilitating hot-swapping capabilities by allowing sleds to be removed or replaced without stopping the operation of other sleds in the system.
[0235] The following implementation relates to memory-compute sleds and to memory disaggregation over CXL, in which memory contributed by one or more sleds is made available to entities over a fabric. A memory-compute sled may house one or more xPUs, such as a CPU or a GPU, each xPU operatively associated with its own DRAM and presenting that DRAM as memory accessible to other entities. A technical consideration in such deployments is that an entity accessing pooled memory may communicate according to CXL.mem while the xPUs backing that memory communicate according to CXL.cache, and the address space used by the accessing entity may differ from the HPA space maintained by the xPU backing the memory; servicing or replacing a sled while other consumers continue operating is a further consideration. Some implementations may address one or more such considerations, among others.
[0236] In various implementations, a system comprising: a first memory-compute sled comprising a first Resource Provisioning Unit (RPU) coupled to first and second processing units (xPUs) over first and second interfaces configured to communicate according to CXL.cache, respectively, the first and second xPUs operatively associated with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32 GB each, respectively; wherein CXL denotes Compute Express Link; wherein the first and second xPUs maintain separate host physical address (HPA) spaces, the first and second xPUs are configured to run separate operating systems, and the first RPU is configured to: steer CXL.cache messages intended for the first DRAM to the first xPU, and steer CXL.cache messages intended for the second DRAM to the second xPU; a switch coupled via third and fourth interfaces to the first and second memory-compute sleds, respectively, and configured to communicate according to CXL.mem with the first and second memory-compute sleds; wherein the first RPU is coupled to the switch via the third interface, and is further configured to communicate according to CXL.mem with the switch and to translate between CXL.mem messages and CXL.cache messages; the switch is further coupled to entities configured to utilize memory of at least one of the first or second memory-compute sleds; and wherein the system is configured to support hot-swapping of the first memory-compute sled. The first RPU may be implemented as a finite state machine in an ASIC, as firmware executing on an embedded microcontroller of the first memory-compute sled, or as a combination of dedicated circuitry and instructions executed by a processor. The translation between CXL.mem messages and CXL.cache messages may be performed by the first RPU, for example by: (1) receiving, over the third interface, a CXL.mem M2S request carrying a physical address and a memory opcode; (2) identifying, based on the physical address, the xPU that backs the addressed memory, and mapping the physical address into the HPA space of that xPU; (3) selecting a CXL.cache D2H request whose opcode obtains a cacheline state at the identified xPU corresponding to the memory opcode, such as a shared state for a read and a modified state for a write; and (4) returning, over the third interface, a CXL.mem S2M response carrying data or a completion derived from a CXL.cache H2D response. Steering may be performed by comparing the physical address against an address-range map that associates address ranges with the first and second xPUs. The first RPU may operate on a per-message basis, so that the translation and the steering may apply to any number of CXL.mem requests and to either xPU without dependence on the total number of requests or xPUs; an outstanding request and a burst of concurrent requests may be handled by the same logic. Separate HPA spaces and separate OSs may render the first and second xPUs independent, so that hot-removal or failure of one sled may leave the operation of another sled undisturbed; a deployment may include as few as one further sled or many further sleds. Potential advantages of some implementations may include, without limitation, byte-addressable access by an entity to memory backed by a separate-operating-system xPU, continuity of service across sled maintenance, and isolation of faults to a sled. A given implementation need not provide any particular advantage.
[0237] In some implementations of the system, the first RPU is further configured to: maintain separate address translation tables for the HPA spaces of the first and second xPUs, expose a virtual address space that maps to physical addresses within the separate HPA spaces, and utilize a two-stage translation process to convert between virtual addresses within the virtual address space and physical addresses within an HPA space of the first or second xPU. The separate address translation tables may be implemented as page tables, as ranges in a content-addressable memory, or as registers of the first RPU, one set per xPU. The virtual address space may be exposed by the first RPU as an intermediate space into which a physical address carried by an incoming request is first mapped, after which a second mapping converts a virtual address within the virtual address space into a physical address within the HPA space of the first or second xPU. The two-stage translation process may decouple the address layout presented to entities from the layout used by a given xPU, so that the same first stage may serve both xPUs while the second stage selects the per-xPU mapping. The two-stage translation process may instead be collapsed into a combined mapping where the intermediate space is not separately materialized.
[0238] In some implementations of the system, the first RPU is further configured to: implement a mirroring protocol between the separate HPA spaces of the first and second xPUs, translate and duplicate write operations to both the first and second DRAMs, and alternate read operations between the first and second DRAMs to balance load while managing address translation between physical addresses within the separate HPA spaces. The mirroring protocol may write each data unit to the first DRAM through the first xPU and to the second DRAM through the second xPU, and may serve a read from whichever of the first or second DRAM is less loaded. The first RPU may maintain a per-unit valid indication for a copy held in each DRAM. The mirroring protocol may instead be applied to a subset of address ranges designated as protected. Mirroring across two separate HPA spaces may keep a second copy of a data unit available when one xPU or its DRAM becomes unavailable.
[0239] In some implementations of the system, the first RPU is further configured to: monitor workload characteristics and resource utilization of the first and second xPUs, distribute read operations of data mirrored across the first and second DRAMs between the first and second xPUs based on the workload characteristics and the resource utilization, and maintain separate queues for the first and second xPUs to manage distribution of the read operations. Distribution of read operations may use a queue per xPU and a selection policy such as least-outstanding-requests or round-robin weighted by recent service time. The data being mirrored across the first and second DRAMs, a read may be served by either xPU, and the first RPU may direct a read to the less-busy xPU. The monitored workload characteristics may include queue occupancy and recent service time. Distributing reads of mirrored data may balance load across the first and second xPUs.
[0240] In some implementations of the system, the first RPU is further configured to: monitor memory access patterns in the separate HPA spaces of the first and second xPUs, collect usage statistics for DRAM capacity of the first and second xPUs, and adjust memory access priorities for the first and second xPUs based on the monitored memory access patterns and the collected usage statistics. Monitoring may sample memory access patterns at intervals and record per-xPU usage statistics, such as access counts, hit ratios, and working-set size estimates, in counters of the first RPU. Priorities may be expressed as weights applied to per-xPU request queues. The first RPU may instead express priorities as rate limits. Adjusting priorities from the monitored memory access patterns may direct a larger share of available bandwidth toward the xPU with the heavier working set.
[0241] In some implementations of the system, the first RPU is further configured to implement an adaptive page replacement policy for the first and second xPUs to improve utilization of their respective DRAM capacities. The adaptive page replacement policy may select among least-recently-used, least-frequently-used, and clock-based eviction based on the monitored memory access patterns of a given xPU, and may switch policy when the pattern shifts between sequential and random access. The first RPU may bias retention toward pages of a working set identified for that xPU. Adapting the policy per xPU may raise DRAM hit rates for differing workloads.
[0242] In some implementations of the system, the first RPU is further configured to modify caching techniques within a domain of the first and / or second xPU based on the monitored memory access patterns to improve performance. The modified caching techniques may include adjusting prefetch depth, cache-line allocation policy, or write-back versus write-through behavior within the domain of a given xPU according to the monitored memory access patterns. The first RPU may apply a deeper prefetch for sequential patterns and disable prefetch for random patterns. Tuning caching per xPU may raise the bandwidth realized for that xPU's workload.
[0243] In some implementations of the system, the first memory-compute sled and the second memory-compute sled comprise different hardware specifications, allowing for heterogeneous resource allocation within a memory pool comprising the first memory-compute sled and the second memory-compute sled, while maintaining the separate HPA spaces of the first and second xPUs. Different hardware specifications may include differing DRAM capacities, xPU performance classes, or interface generations between the first memory-compute sled and the second memory-compute sled. A sled with higher-capacity DRAM may be assigned memory-heavy consumers, while a sled with faster xPUs may be assigned latency-sensitive consumers, with each xPU retaining its separate HPA space. Supporting heterogeneous sleds within one memory pool may let capacity and performance be provisioned independently.
[0244] In some implementations of the system, the first RPU is installed in the first memory-compute sled as one of: a card conforming to a Card Electromechanical (CEM) specification, an Open Compute Project (OCP) card, a mezzanine card, or a chip-on-motherboard. A chip-on-motherboard form may place the first RPU as a soldered package, while a CEM card, an OCP card, or a mezzanine card may place the first RPU on a pluggable card that eases field replacement. The form factor selected may follow the serviceability and density goals of a chassis housing the first memory-compute sled.
[0245] In some implementations of the system, the first RPU is further configured to: implement Quality-of-Service (QoS) levels for memory access requests, maintain QoS queues for at least one of the first or second xPUs, and adjust resource allocation based on at least one of the QoS levels or system load. The QoS levels may be assigned to memory access requests based on a criterion such as a requesting application, an operation type, or a system condition. The first RPU may maintain QoS queues for one or both of the first and second xPUs, providing control over resource allocation. Priorities may be adjusted based on the assigned QoS levels, on system load, or on both, so that the first RPU may balance competing demands for memory resources.
[0246] In some implementations of the system, the first RPU is further configured to: monitor at least one of latency or bandwidth metrics for memory access requests, adjust queue scheduling parameters based on the monitored metrics, and implement bandwidth management for requests based on system load. The first RPU may monitor a metric such as latency of memory access requests or bandwidth utilization across the QoS queues, and may adjust scheduling parameters of the QoS queues based on the monitored metric. When system load changes, the first RPU may apply bandwidth management, such as selective throttling of certain requests, to hold target performance levels. The first RPU may report QoS performance to an entity, optionally enabling an application to adapt its behavior to system conditions.
[0247] In some implementations of the system, the switch is a CXL switch integrated within a modular chassis comprising the first memory-compute sled and the second memory-compute sled. The CXL switch may route CXL.mem traffic between upstream ports facing the entities and downstream ports facing the first and second memory-compute sleds. The modular chassis may house the sleds and the CXL switch on a common backplane that supplies power and the third and fourth interfaces. Integrating the CXL switch within the modular chassis may shorten the paths between the switch and the sleds.
[0248] In some implementations of the system, the switch comprises a Central Processing Unit (CPU), the CPU configured to expose CXL root ports and CXL endpoints; and wherein the switch is integrated within a modular chassis comprising the first memory-compute sled and the second memory-compute sled. The switch may be realized by a CPU that exposes CXL root ports facing the first and second memory-compute sleds and CXL endpoints facing the entities, the CPU running software that presents the memory of the sleds to the entities. The CPU may alternatively expose a combination of CXL root ports and CXL switch ports. Realizing the switch on a CPU may allow resource composition and policy to be applied in software within the modular chassis.
[0249] In some implementations of the system, the switch is further configured to consume resources via at least one of the CXL root ports, and to expose abstracted resources via at least one of the CXL endpoints. Consuming resources via a CXL root port may include the switch issuing CXL.mem requests to a sled to read or write memory of the sled, while exposing abstracted resources via a CXL endpoint may include the switch presenting an aggregated or remapped memory region to an entity. The switch may aggregate memory from both sleds behind a CXL endpoint. Abstracting the consumed resources may let an entity address pooled memory without awareness of the underlying sleds.
[0250] The following implementation relates to a memory pool formed by two or more memory-compute sleds, in which the sleds present their memory collectively to entities and an individual sled may be added or removed during operation. A symmetric arrangement, in which two sleds each house an RPU and a pair of xPUs maintaining separate HPA spaces, may support pool-level operations such as data migration between sleds, fault recovery across sleds, and erasure coding spanning the DRAMs of multiple sleds.
[0251] In various implementations, a system comprising: a first memory-compute sled comprising a first Resource Provisioning Unit (RPU) coupled to first and second processing units (xPUs) over first and second interfaces configured to communicate according to CXL.cache, respectively, the first and second xPUs operatively associated with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32 GB each, respectively; wherein CXL denotes Compute Express Link; a second memory-compute sled comprising a second RPU coupled to third and fourth xPUs over fifth and sixth interfaces configured to communicate according to CXL.cache, respectively, the third and fourth xPUs operatively associated with third and fourth DRAMs having a capacity of at least 32 GB each, respectively; wherein the first, second, third, and fourth xPUs maintain separate host physical address (HPA) spaces, and the first, second, third, and fourth xPUs are configured to run separate operating systems; wherein the first and second RPUs are configured to translate between CXL.mem messages and CXL.cache messages, the first RPU configured to steer CXL.cache messages intended for the first DRAM to the first xPU and CXL.cache messages intended for the second DRAM to the second xPU, and the second RPU configured to steer CXL.cache messages intended for the third DRAM to the third xPU and CXL.cache messages intended for the fourth DRAM to the fourth xPU; a switch coupled via third and fourth interfaces to the first memory-compute sled and to the second memory-compute sled, respectively, and configured to communicate according to CXL.mem with the first and second memory-compute sleds, the third and fourth interfaces coupled to the first and second RPUs, respectively; the switch is further coupled to entities configured to utilize memory of at least one of the first or second memory-compute sleds; and wherein the system is configured to support hot-swapping of the first and second memory-compute sleds. The first and second RPUs may operate independently of one another, each translating CXL.mem messages to CXL.cache messages for the xPUs of its own sled and steering a CXL.cache message to the xPU that backs the addressed memory. Coordination across the sleds, such as for pool membership or for an operation spanning DRAMs of both sleds, may be carried out by the RPUs exchanging messages through the switch, or by a separate controller. A memory pool may grow or shrink while in service, so that the same per-sled translation and steering may apply whether the pool contains two sleds or a larger number of sleds.
[0252] In some implementations, the system further comprises a management controller configured to: initiate a hot-removal process for the first memory-compute sled, migrate data from the first memory-compute sled to the second memory-compute sled while managing translation between physical addresses within the separate HPA spaces, and signal when the first memory-compute sled can be safely removed. The management controller may be implemented as a baseboard management controller, as a service running on one of the xPUs, or as circuitry within the switch. A hot-removal process may proceed by: quiescing new requests to the first memory-compute sled, copying live data from the first and second DRAMs to DRAMs of the second memory-compute sled while remapping the corresponding physical addresses between the separate HPA spaces, verifying the copy, redirecting subsequent accesses to the second memory-compute sled, and asserting a removal-ready signal such as a chassis indicator. Migration may instead proceed at page granularity with copy-on-access for a page not yet moved. Migrating data before removal may allow the first memory-compute sled to be withdrawn without loss of the memory it backed.
[0253] In some implementations of the system, the system is further configured to: detect insertion of a third memory-compute sled, initialize the third memory-compute sled with a separate HPA space, and integrate available memory of the third memory-compute sled into a memory pool comprising the first and second memory-compute sleds. Detecting insertion may use a presence signal from a chassis slot or enumeration over the switch. Initializing the third memory-compute sled may include assigning a separate HPA space to its xPUs, loading their OSs, and registering its DRAM ranges. Integration may add the new DRAM ranges to a pool membership table maintained by the switch or a controller. Insertion handling may grow pool capacity while the memory pool stays in service.
[0254] In some implementations of the system, the first and second RPUs are further configured to: implement an erasure coding scheme across the first, second, third, and fourth DRAMs; distribute data and parity information across the first, second, third, and fourth DRAMs during write operations, while translating between physical addresses within the separate HPA spaces; and reconstruct data, using the erasure coding scheme, during read operations when data is unavailable in one of the first, second, third, or fourth DRAMs. The erasure coding scheme may be a Reed-Solomon or parity-based code applied across the first, second, third, and fourth DRAMs, for example two data symbols and two parity symbols, or three data symbols and one parity symbol, with a symbol stored through the xPU that backs the corresponding DRAM. The first and second RPUs may compute parity cooperatively, exchanging a partial result through the switch. On unavailability of one DRAM, a missing symbol may be reconstructed from the remaining symbols. The erasure coding scheme may instead span additional DRAMs of further sleds of the memory pool for a wider stripe. Distributing data and parity across sleds may keep data recoverable when a DRAM or a sled becomes unavailable.
[0255] In some implementations of the system, the entities comprise a first entity comprising a first Central Processing Unit (CPU) or a first graphics processing unit (GPU), and a second entity comprising a second CPU or a second GPU, the first and second entities operatively associated with fifth and sixth DRAMs having a capacity of at least 16 GB each, respectively. An entity may be a CPU presenting a coherent memory request, or a GPU using high-bandwidth memory (HBM) as a local tier and the pooled memory as a capacity tier. The fifth and sixth DRAMs may be DRAM packages local to the respective entity, including HBM stacks for a GPU. An entity may instead be an accelerator or a network device with attached memory. Pairing entities that carry their own DRAM with the memory pool may let the pool serve as a shared capacity tier.
[0256] In some implementations of the system, the first and second RPUs are further configured to: create isolated memory regions within the HPA spaces of the first, second, third, and fourth xPUs for secure computations; encrypt data transfers between the HPA spaces of different xPUs; and provide secure multi-tenancy support by isolating memory accesses between different xPUs across the first and second memory-compute sleds. An isolated memory region may be enforced by a per-region access key checked by the first and second RPUs before a CXL.cache message is steered to an xPU. Encryption of a data transfer may use a per-tenant key applied to data crossing between HPA spaces. Isolation may instead be enforced by per-xPU address-range gating. Enforcing isolation across the sleds of the memory pool may support placing tenants on shared sleds while keeping their memory accesses separated.
[0257] In some implementations of the system, the first and second RPUs are further configured to: detect failures in the xPUs or the DRAMs by monitoring at least one of: error rates, response times, or hardware status signals; and to implement a failure recovery protocol comprising: isolating a failed component, redirecting memory access requests away from the failed component, and maintaining system operation using remaining functional components of the first and second memory-compute sleds. The first and second RPUs may detect a failure by monitoring a health indicator, such as an error rate in memory operations, a response time for a memory access request, or a hardware status signal from an xPU or a DRAM. On detecting an anomaly, an RPU may run a multi-stage recovery protocol that isolates the suspected failed component, reconfigures memory access paths to route requests away from it, and sustains operation through the remaining functional components of the memory pool. An RPU may also log a failure event and diagnostic information for later analysis. Routing around a failed component may keep the memory pool serving requests while a sled awaits service.
[0258] Some implementations provide a method for operating a memory-compute sled and a switch. The method may be performed by hardware, such as an RPU that includes circuitry, firmware executing on a microcontroller, or a combination thereof, together with switching circuitry of the switch.
[0259] In various implementations, a method comprising: operating a first memory-compute sled comprising a first Resource Provisioning Unit (RPU) communicating according to CXL.cache with first and second processing units (xPUs), the first and second xPUs communicating with first and second dynamic random-access memories (DRAMs) having a capacity of at least 32 GB each, respectively; wherein CXL denotes Compute Express Link; maintaining separate host physical address (HPA) spaces by the first and second xPUs; running separate operating systems on the first and second xPUs; steering, by the first RPU, CXL.cache messages intended for the first DRAM to the first xPU, and steering CXL.cache messages intended for the second DRAM to the second xPU; communicating, by a switch, according to CXL.mem with the first memory-compute sled and with a second memory-compute sled; communicating, by the first RPU, according to CXL.mem with the switch, and translating, by the first RPU, between CXL.mem messages and CXL.cache messages; utilizing, by entities communicating with the switch, memory of at least one of the first or second memory-compute sleds; and supporting hot-swapping of the first memory-compute sled. The steps of the method may be performed by the first RPU executing instructions stored in a memory of the first memory-compute sled, by dedicated circuitry of the first RPU, or by a combination thereof, and the communicating of the switch may be performed by switching circuitry. The maintaining of the separate HPA spaces and the running of the separate OSs may be carried out by the first and second xPUs executing their respective OSs from separate boot media.
[0260] In some implementations of the method, the second memory-compute sled comprises a second RPU communicating according to CXL.cache with third and fourth xPUs, the third and fourth xPUs communicating with third and fourth DRAMs having a capacity of at least 32 GB each, respectively; and further comprising communicating, by the second RPU, according to CXL.mem with the switch; translating, by the second RPU, between CXL.mem messages and CXL.cache messages; and supporting hot-swapping of the second memory-compute sled. The second memory-compute sled may include a second RPU and third and fourth xPUs that maintain separate HPA spaces, and the second RPU may translate CXL.mem messages to CXL.cache messages for memory backed by the third and fourth xPUs. The second memory-compute sled may be hot-swapped while another sled continues operating.
[0261] In some implementations, the method further comprises initiating, by a management controller, a hot-removal process for the first memory-compute sled, migrating data from the first memory-compute sled to the second memory-compute sled while managing translation between physical addresses within the separate HPA spaces, and signaling when the first memory-compute sled can be safely removed. The migrating may copy live data from the first and second DRAMs to DRAMs of the second memory-compute sled and remap the corresponding physical addresses between the separate HPA spaces before the first memory-compute sled is removed.
[0262] In some implementations, the method further comprises detecting insertion of a third memory-compute sled, initializing the third memory-compute sled with a separate HPA space, and integrating available memory of the third memory-compute sled into a memory pool comprising the first and second memory-compute sleds. Integrating the third memory-compute sled may add its DRAM ranges to the memory pool after a separate HPA space is assigned to its xPUs.
[0263] In some implementations, the method further comprises implementing, by the first and second RPUs, an erasure coding scheme across the first, second, third, and fourth DRAMs; distributing data and parity information across the first, second, third, and fourth DRAMs during write operations, while translating between physical addresses within the separate HPA spaces; and reconstructing data, using the erasure coding scheme, during read operations when data is unavailable in one of the first, second, third, or fourth DRAMs. The erasure coding scheme may distribute data and parity symbols across DRAMs of the first and second memory-compute sleds, with reconstruction from the remaining symbols when a DRAM is unavailable.
[0264] In some implementations, the method further comprises implementing, by the first RPU, a mirroring protocol across the first and second DRAMs; duplicating write operations to the first and second DRAMs; and alternating read operations between the first and second DRAMs to balance load, while managing address translation between physical addresses within the separate HPA spaces. The mirroring protocol may duplicate a write operation to the first and second DRAMs and serve a read from either DRAM, with the first RPU remapping addresses between the separate HPA spaces.
[0265] In some implementations, the method further comprises monitoring, by the first RPU, workload characteristics and resource utilization of the first and second xPUs; distributing read operations of data mirrored across the first and second DRAMs between the first and second xPUs based on the workload characteristics and the resource utilization; and maintaining separate queues for the first and second xPUs to manage distribution of the read operations. A read of mirrored data may be directed to whichever of the first or second xPU is less loaded, using a per-xPU queue.
[0266] In some implementations, the method further comprises monitoring, by the first RPU, memory access patterns in the separate HPA spaces of the first and second xPUs; collecting usage statistics for DRAM capacity of the first and second xPUs; and adjusting memory access priorities for the first and second xPUs based on the monitored memory access patterns and the collected usage statistics. Priorities for the first and second xPUs may be adjusted from sampled access counts and working-set estimates recorded by the first RPU.
[0267] In some implementations of the method, a non-transitory computer-readable medium comprising instructions which, when executed by a processor, cause the processor to perform the method.
[0268] FIG. 12 illustrates an example of a system supporting hot-swapping of memory-compute sleds, wherein each sled contains dual Processing Units such as CPUs or GPUs (xPUs). The system includes memory-compute sleds (shown as Sled #1 through Sled #N) coupled to entities via a switch, such as a CXL switch, which connects to the sleds via interfaces configured to communicate according to CXL.mem. In each of the illustrated memory-compute sleds, an RPU is coupled to two xPUs via interfaces configured to communicate according to CXL.cache. For example, in Memory-Compute Sled #1, RPU #1 connects to xPU #1 and xPU #2, while in Memory-Compute Sled #N, RPU #N connects to xPU #(2N-1) and xPU #(2N). Each xPU is operatively associated with at least 32 GB of DRAM. In the illustrated example, the xPUs operate without an ISoL connection between them. The absence of ISoL connections between xPUs may result in several key characteristics: each xPU maintains its own separate HPA space, requiring the RPU to manage address translation between two separate address domains; each xPU runs its own operating system and system firmware (BIOS), allowing for diverse workload management; and there may be enhanced hardware-level isolation between xPUs, which may be beneficial for security or multi-tenancy scenarios. This configuration may also provide higher survivability, as a failure in one xPU may not affect the operation of the other xPU.
[0269] The switch may interface with different types of entities: CPU-based entities (shown as Entity.1) and GPU-based entities with High Bandwidth Memory (HBM) (shown as Entity.M). These entities may connect to the switch through Upstream Ports (USPs) using interfaces configured to communicate according to CXL.mem, while the switch connects to the memory-compute sleds' RPUs through Downstream Ports (DSPs). Optionally, each RPU in the system may translate between CXL.mem and CXL.cache messages, and steer CXL.cache messages to the appropriate xPU based on the target DRAM. This configuration may require separate boot drives for storing the separate OSs and separate NICs for external network communication. The essential independence of the xPUs, combined with their separate address spaces and OSs, facilitates the hot-swapping functionality by allowing sleds to be removed or replaced without stopping the operation of other sleds in the system.
[0270] Some implementations relate to memory systems in which an apparatus coupled to a CXL fabric manages memory of the fabric for use by computing resources. Processing cores integrated within such an apparatus may be partitioned into a first subset that executes an OS managing memory in the CXL fabric and a second subset that executes an OS utilizing a portion of the managed memory. A demand for processing resources to manage the memory and a demand for processing resources to consume the memory may vary during operation as a state of the CXL fabric changes, and a fixed allocation of the processing cores between management and consumption may differ from an allocation suited to a current state of the CXL fabric. Some implementations may address one or more such considerations, among others.
[0271] In various implementations, an apparatus comprising: processing cores integrated within the apparatus; a Compute Express Link (CXL) port; and a partitioning controller; wherein a first subset of the processing cores is configured to execute a first operating system that supports execution of a first program configured to manage memory in a CXL fabric coupled to the CXL port; wherein a second subset of the processing cores is configured to execute a second operating system that supports execution of a second program configured to utilize a portion of the memory managed by the first program; and wherein the partitioning controller is configured to adjust a ratio between a number of the processing cores in the first subset and a number of the processing cores in the second subset based on a parameter related to the CXL fabric. The first program and the second program may be implemented as instructions executed by the processing cores; the first OS may be implemented as an embedded OS, a real-time OS, or bare-metal instructions; and the second OS may be implemented as a Linux OS or a Windows OS. The partitioning controller may be implemented as a finite state machine, as firmware executing on a microcontroller of the apparatus, as a hypervisor, or as hardware-assisted partitioning logic. The first subset of the processing cores executes the first OS, which supports the first program managing memory in the CXL fabric, and the second subset executes the second OS, which supports the second program utilizing a portion of the managed memory. The partitioning controller may adjust the ratio between the first subset and the second subset by operations including: (1) obtaining the parameter related to the CXL fabric; (2) determining, from the parameter, a target ratio of the number of the processing cores in the first subset to the number of the processing cores in the second subset; and (3) reassigning one or more of the processing cores between the first subset and the second subset to approach the target ratio. Reassigning a processing core may include quiescing the processing core under one of the OSs and admitting the processing core to the other of the OSs. The partitioning controller may adjust the ratio independently of a total number of the processing cores and independently of a particular value of the parameter, so that the same adjustment applies across a range of core counts and parameter values. The partitioning controller may reassign a single processing core in response to a change in the parameter, or may reassign multiple processing cores when the parameter indicates a larger change in demand. Potential advantages of some implementations may include, without limitation, one or more of aligning an allocation of the processing cores with a current state of the CXL fabric, increasing utilization of the processing cores, and adapting to a change in the CXL fabric during operation without a reset of the apparatus. A given implementation need not provide any particular advantage.
[0272] In some implementations of the apparatus, the parameter comprises a DevLoad value carried in a CXL.mem Subordinate-to-Master (S2M) response received via the CXL port, and the partitioning controller is configured to increase the ratio toward the first subset responsive to the DevLoad value indicating that a memory device of the CXL fabric is in a moderate overload state or a severe overload state. A DevLoad value may be carried in a CXL.mem S2M response received via the CXL port from a memory device of the CXL fabric, the DevLoad value indicating a load of the memory device. The DevLoad value may indicate one of a plurality of load states of the memory device, including a light load state, a moderate overload state, and a severe overload state. The partitioning controller may monitor DevLoad values carried in S2M responses received via the CXL port and may increase the ratio toward the first subset responsive to a DevLoad value indicating the moderate overload state or the severe overload state. Increasing the ratio toward the first subset allocates additional processing cores to management of the memory in response to an overload reported by a memory device of the CXL fabric. The partitioning controller may decrease the ratio toward the second subset responsive to a DevLoad value indicating the light load state. The DevLoad value may be carried in a no-data response or in a data response received via the CXL port.
[0273] In some implementations of the apparatus, the parameter is indicative of a topology of the CXL fabric, and the partitioning controller is configured to adjust the ratio based on at least one of: a number of memory devices in the CXL fabric, a number of hops in the CXL fabric, or an interconnect bandwidth of the CXL fabric. A topology of the CXL fabric may be determined by the first program, for example by enumerating memory devices reachable through the CXL port, determining a number of hops between the apparatus and a memory device, or determining an interconnect bandwidth available through the CXL port. The partitioning controller may increase the ratio toward the first subset as a number of memory devices in the CXL fabric increases, as a number of hops increases, or as an interconnect bandwidth increases, allocating additional processing cores to management of a larger or deeper fabric. The topology may be redetermined during operation as memory devices are added to or removed from the CXL fabric.
[0274] In some implementations of the apparatus, the parameter is indicative of a Quality-of-Service (QoS) requirement for transactions in the CXL fabric, and the partitioning controller is configured to adjust the ratio based on a Traffic Class of memory traffic in the CXL fabric. A Traffic Class may be associated with memory traffic in the CXL fabric and may indicate a priority of the memory traffic. The partitioning controller may adjust the ratio based on the Traffic Class of memory traffic in the CXL fabric, for example increasing the ratio toward the first subset when a proportion of memory traffic having a higher-priority Traffic Class increases. A QoS requirement for transactions in the CXL fabric may include a latency target or a bandwidth target associated with a Traffic Class.
[0275] In some implementations of the apparatus, the partitioning controller is configured to increase the ratio toward the first subset responsive to a detection of a security threat associated with the memory in the CXL fabric, and the first program is configured to enforce a security policy for the memory in the CXL fabric. A security threat associated with the memory in the CXL fabric may include an unauthorized access attempt, an anomalous access pattern, or a detected fault in an access-control mechanism. The partitioning controller may increase the ratio toward the first subset responsive to a detection of the security threat, allocating additional processing cores to the first program for enforcement of a security policy. The security policy may include an access-control policy, an encryption policy, or a monitoring policy for the memory in the CXL fabric. The first program may enforce the security policy using the processing cores of the first subset.
[0276] In some implementations of the apparatus, the memory in the CXL fabric is accessible via the CXL port according to a CXL.mem, and the memory has a capacity of at least 16GB. The memory in the CXL fabric may be accessible via the CXL port according to a CXL.mem, for example as byte-addressable memory accessible by load operations and store operations carried as memory requests over a CXL link of the CXL port. The memory may include DRAM, persistent memory, storage-class memory, high-bandwidth memory, or a combination thereof. A capacity of the memory may be at least 16GB, and may be larger, for example 64GB, 128GB, 256GB, or more. The CXL.mem and the type and the capacity of the memory may be selected independently of the management and the consumption of the memory by the first program and the second program.
[0277] In some implementations of the apparatus, the CXL port is configured to communicate according to a CXL.cache, and the first program is configured to manage coherency of the memory in the CXL fabric using the CXL.cache. The CXL port may be configured to communicate according to a CXL.cache, and the first program may manage coherency of the memory in the CXL fabric using the CXL.cache, for example by participating in coherency transactions that maintain consistency between a cache and the memory. The apparatus may communicate according to the CXL.cache, according to a CXL.mem, or according to both, depending on a role of the apparatus in the CXL fabric.
[0278] In some implementations of the apparatus, the memory in the CXL fabric comprises a Host-managed Device Memory (HDM) region exposed via the CXL port, and the portion of the memory utilized by the second program is within the HDM region. The memory in the CXL fabric may include an HDM region exposed via the CXL port. The HDM region may be a host-managed coherent region whose coherency is managed by a host, a device-managed coherent region whose coherency is managed by the apparatus, or a region whose coherency is managed by a combination of a host and the apparatus. The first program may expose the HDM region via the CXL port and may map the portion utilized by the second program within the HDM region. The portion utilized by the second program may remain accessible via the CXL port while located within the HDM region, the portion being both exposed to the CXL fabric and consumed within the apparatus. The HDM region may be described by one or more address ranges reported through the CXL port during enumeration of the apparatus.
[0279] In some implementations of the apparatus, the apparatus is configured to operate as a CXL Type 3 device, the memory in the CXL fabric comprises device-attached memory of the CXL Type 3 device, the first program is configured to expose the device-attached memory via the CXL port, and the portion of the memory utilized by the second program is within the device-attached memory. The apparatus may be configured to operate as a CXL Type 3 device, and the memory in the CXL fabric may include device-attached memory of the CXL Type 3 device. A CXL Type 3 device may present device-attached memory to the CXL fabric via the CXL port as a memory expansion resource, without presenting a device cache to a host. The first program may expose the device-attached memory via the CXL port, and the portion utilized by the second program may be located within the device-attached memory. The apparatus operating as a CXL Type 3 device may serve as a memory resource of the CXL fabric and, using the second subset of the processing cores, as a consumer of a portion of that memory resource. The device-attached memory may include one or more media types and may be exposed as one or more HDM regions.
[0280] In some implementations of the apparatus, the first operating system is a Special-Purpose Operating System (SPOS), the first program is hidden from a user of the CXL fabric, the second operating system is a General-Purpose Operating System (GPOS), and the second program is user-controlled. The first OS may be an SPOS, for example an embedded OS, a real-time OS, or bare-metal instructions dedicated to management of the memory in the CXL fabric. The first program may be hidden from a user of the CXL fabric, for example by executing under the SPOS in an execution context that is not exposed to the user and that the user does not control. The second OS may be a GPOS, for example a Linux OS or a Windows OS, and the second program may be user-controlled, for example launched, configured, or terminated by the user. Hiding the first program under the SPOS while exposing the second program under the GPOS may keep management of the memory separate from a workload controlled by the user.
[0281] A system may include the apparatus together with the CXL fabric to which the apparatus is coupled, the CXL fabric comprising memory that the first program manages and that the second program consumes in part, and the partitioning controller adjusting the ratio based on a parameter related to the CXL fabric. The CXL fabric may include one or more memory devices reachable through the CXL port.
[0282] In various implementations, a system comprising: an apparatus comprising processing cores integrated within the apparatus, a Compute Express Link (CXL) port, and a partitioning controller; and a CXL fabric coupled to the CXL port, the CXL fabric comprising memory; wherein a first subset of the processing cores is configured to execute a first operating system that supports execution of a first program configured to manage the memory in the CXL fabric; wherein a second subset of the processing cores is configured to execute a second operating system that supports execution of a second program configured to utilize a portion of the memory managed by the first program; and wherein the partitioning controller is configured to adjust a ratio between a number of the processing cores in the first subset and a number of the processing cores in the second subset based on a parameter related to the CXL fabric. The CXL fabric of the system may include a switch, a Global Fabric-Attached Memory Device, a memory expansion device, or a combination thereof coupled to the CXL port, and the memory may reside on one or more such devices. The CXL port may couple the apparatus to the CXL fabric over one or more CXL links. The first program executing on the first subset may manage the memory residing on the one or more devices of the CXL fabric on behalf of the second program executing on the second subset, and the partitioning controller may adjust the ratio based on a parameter related to the CXL fabric of the system, including a load, a topology, or a QoS requirement of the CXL fabric. The apparatus of the system may be coupled to an external host through the CXL port, the external host accessing the memory managed by the first program.
[0283] In some implementations of the system, the memory has a capacity of at least 16GB, the CXL fabric comprises a plurality of CXL memory devices providing the memory, and the first program is configured to manage the memory across the plurality of CXL memory devices as a memory pool. The CXL fabric may include a plurality of CXL memory devices providing the memory, and the first program may aggregate memory of the plurality of CXL memory devices into a memory pool and may allocate capacity of the memory pool from any of the devices. The memory provided by the plurality of CXL memory devices may include DRAM, persistent memory, storage-class memory, high-bandwidth memory, or a combination thereof, and a capacity of the memory may be at least 16GB and may be larger. Aggregating memory across multiple devices may provide capacity beyond that of a single device for allocation to the second program. The partitioning controller may increase the ratio toward the first subset as a number of the plurality of CXL memory devices increases.
[0284] FIG. 13A illustrates an example of a method that may be performed by an apparatus comprising processing cores, a first subset of the processing cores executing an OS that manages memory of a CXL fabric and a second subset executing an OS that consumes a portion of the managed memory, and a partitioning controller adjusting a ratio between the subsets based on a parameter related to the CXL fabric. The operations of the method may be performed by the processing cores executing instructions and by the partitioning controller.
[0285] In various implementations, a method comprising: executing, by a first subset of processing cores integrated within an apparatus, a first operating system that supports execution of a first program that manages memory in a Compute Express Link (CXL) fabric coupled to a CXL port of the apparatus; executing, by a second subset of the processing cores, a second operating system that supports execution of a second program that utilizes a portion of the memory managed by the first program; and adjusting, by a partitioning controller, a ratio between a number of the processing cores in the first subset and a number of the processing cores in the second subset based on a parameter related to the CXL fabric. The first subset of the processing cores and the second subset of the processing cores may exist at a start of the method, for example as a result of the apparatus booting into a configuration in which the first subset executes the first OS and the second subset executes the second OS. The adjusting may be performed by the partitioning controller, which reassigns one or more of the processing cores between the first subset and the second subset based on the parameter related to the CXL fabric. The executing operations may be performed by the processing cores of the respective subsets executing instructions of the first OS, the second OS, the first program, and the second program.
[0286] In some implementations of the method, the parameter comprises a DevLoad value carried in a CXL.mem Subordinate-to-Master (S2M) response received via the CXL port, and the adjusting comprises increasing the ratio toward the first subset responsive to the DevLoad value indicating that a memory device of the CXL fabric is in a moderate overload state or a severe overload state. The method may include receiving, via the CXL port, a CXL.mem S2M response carrying a DevLoad value from a memory device of the CXL fabric, the DevLoad value indicating one of a plurality of load states, including a light load state, a moderate overload state, or a severe overload state. The adjusting may include increasing the ratio toward the first subset responsive to the DevLoad value indicating the moderate overload state or the severe overload state, and may include decreasing the ratio toward the second subset responsive to the DevLoad value indicating the light load state. The DevLoad value may be received in a no-data response or in a data response via the CXL port, and the method may monitor DevLoad values received during operation.
[0287] In some implementations of the method, the parameter is indicative of a topology of the CXL fabric, and the adjusting is based on at least one of: a number of memory devices in the CXL fabric, a number of hops in the CXL fabric, or an interconnect bandwidth of the CXL fabric. The method may include determining a topology of the CXL fabric, for example by enumerating memory devices reachable through the CXL port, determining a number of hops between the apparatus and a memory device, or determining an interconnect bandwidth available through the CXL port. The adjusting may be based on the topology, for example increasing the ratio toward the first subset as a number of memory devices, a number of hops, or an interconnect bandwidth increases. The method may redetermine the topology during operation as memory devices are added to or removed from the CXL fabric.
[0288] In some implementations of the method, the memory in the CXL fabric is accessible via the CXL port according to a CXL.mem; and wherein the memory has a capacity of at least 16GB. In the method, the memory in the CXL fabric may be accessible via the CXL port according to a CXL.mem, for example as byte-addressable memory accessible by load operations and store operations. The memory may include DRAM, persistent memory, storage-class memory, high-bandwidth memory, or a combination thereof, and a capacity of the memory may be at least 16GB and may be larger. The first program may access the memory via the CXL port according to CXL.mem.
[0289] In some implementations of the method, the apparatus operates as a CXL Type 3 device, the memory in the CXL fabric comprises device-attached memory of the CXL Type 3 device, the first program exposes the device-attached memory via the CXL port, and the portion of the memory utilized by the second program is within the device-attached memory. Operating the apparatus as a CXL Type 3 device and exposing the device-attached memory via the CXL port may be performed with the second program consuming the portion within the device-attached memory.
[0290] In some implementations of the method, the first operating system is a Special-Purpose Operating System (SPOS), the first program is hidden from a user of the CXL fabric, the second operating system is a General-Purpose Operating System (GPOS), and the second program is user-controlled. Executing the first program hidden from a user under an SPOS on the first subset and executing the user-controlled second program under a GPOS on the second subset may be performed during operation.
[0291] In some implementations of the method, a non-transitory computer-readable medium comprising instructions which, when executed by a processor, cause the processor to perform the method. In some implementations of the method, one or more integrated circuits configured to perform the method, wherein the one or more integrated circuits comprise at least one of: (i) a general-purpose processing unit, comprising or connected to communication interfaces, configured to perform the method via software and / or firmware execution, (ii) circuitry comprising firmware and / or hardware logic integrated into an electronic device, wherein the circuitry utilizes operations that benefit from hardware acceleration and / or specialized processing capabilities not typically provided by a general-purpose processing unit, or (iii) one or more chiplets within one or more integrated circuit packages.
[0292] Memory may be pooled and disaggregated across a CXL fabric, with memory attached to one or more devices in the fabric allocated to and accessed by one or more processors. A processor coupled to the fabric may both manage the memory in the fabric and execute a workload that uses a portion of that memory. A first subset of the processing cores of the processor may execute an infrastructure program that manages the memory in the CXL fabric, while a second subset of the processing cores executes a user program that uses a portion of the managed memory, with the first subset rendered inaccessible to and undiscoverable by software executing on the second subset. A technical consideration that may arise where one processor both manages memory in a CXL fabric and executes a user program is the exposure of the management state and the management cores to the user program that shares the processor. Some implementations may help address this and / or other technical considerations, among other things.
[0293] In various implementations, an apparatus comprising: a processor comprising processing cores; a Compute Express Link (CXL) port configured to be coupled to a CXL fabric comprising memory; wherein a first subset of the processing cores is configured to execute an infrastructure program configured to manage the memory in the CXL fabric; wherein a second subset of the processing cores is configured to execute a user program configured to utilize a portion of the memory managed by the infrastructure program; and wherein the apparatus is configured such that the first subset is not accessible to, and not discoverable by, software executing on the second subset. The processor may be implemented as a single integrated circuit, as a plurality of chiplets within an integrated circuit package, or as a system-on-chip, and the processing cores may be general-purpose cores of the processor. The infrastructure program may be implemented as instructions executed by the first subset of the processing cores, as firmware of the processor, or as a combination of instructions and hardware logic of the processor; the user program may be implemented as instructions executed by the second subset of the processing cores. Management of the memory in the CXL fabric by the infrastructure program may proceed by: (1) the infrastructure program determining an allocation of the memory in the CXL fabric for the user program; (2) the infrastructure program issuing operations over the CXL port to the CXL fabric to allocate or access the memory; and (3) the infrastructure program recording the allocation and presenting a portion of the memory to the user program. Rendering the first subset not accessible to, and not discoverable by, software executing on the second subset may proceed by: (1) excluding the processing cores of the first subset from a set of processing cores reported to or enumerated by the software executing on the second subset; (2) withholding an address space and control registers of the first subset from the software executing on the second subset; and (3) declining accesses directed from the second subset to the first subset. The excluding, withholding, and declining may be performed by a hypervisor, by firmware of the processor, by microcode of the processor, or by a hardware partition of the processor. The rendering of the first subset inaccessible and undiscoverable may operate per processing core and per resource of the first subset, independently of the number of processing cores in the first subset or in the second subset, so that the same isolation may apply across any partition of the processing cores into the first subset and the second subset. In some implementations the first subset may include a single processing core; in other implementations the first subset may include many processing cores while the second subset comprises a single processing core. Potential advantages of some implementations may include, without limitation, one or more of: isolation of the infrastructure program, and of state maintained by the infrastructure program, from the user program; reduced exposure of the management of the memory in the CXL fabric to the user program; and operation of the management of the memory in the CXL fabric during operation of the user program. A given implementation need not provide any particular advantage.
[0294] In some implementations of the apparatus, the infrastructure program is further configured to manage the memory in the CXL fabric by performing at least one of: issuing CXL.mem M2S requests that comprise a MemRd* opcode or a MemWr* opcode to access the memory, exposing a Host-managed Device Memory (HDM) region to the user program via the CXL port, or processing Fabric Manager (FM) Application Programming Interface (API) requests for the memory. Processing FM API requests may include processing requests conveyed over a Component Command Interface (CCI) of a component in the fabric, such as a mailbox-based CCI exposed through mailbox registers or an MCTP-based CCI exposed over a management interconnect. The infrastructure program may select among issuing CXL.mem M2S requests, exposing an HDM region via the CXL port, and processing FM API requests according to the operation requested by the user program, for example issuing a MemRd* request to read and exposing an HDM region to grant the user program direct access. Accessing fabric-attached memory through these CXL operations may provide allocation and access at the granularity that the operations define.
[0295] In some implementations of the apparatus, the apparatus is configured to render the first subset not accessible to, and not discoverable by, the software executing on the second subset by at least one of: a hypervisor configured to allocate the first subset to a partition that the software executing on the second subset is configured not to access, firmware configured to exclude the first subset from an enumeration performed by the software executing on the second subset, microcode configured to disable discovery of the first subset by the software executing on the second subset, or a hardware partition that isolates the first subset from the second subset. The hypervisor may allocate the first subset to a partition and may configure a partition table or an access-control structure that does not grant the software executing on the second subset access to the partition. The firmware may omit the first subset from an enumeration of processing cores reported at boot time or to an OS. The microcode may respond to a discovery operation directed at the first subset by returning no indication of the first subset. The hardware partition may include circuitry that gates transactions between the second subset and the first subset. A potential technical effect is that the first subset is absent from the processing cores that the second subset can enumerate or address.
[0296] In some implementations of the apparatus, the infrastructure program is further configured to translate between CXL messages used to access the memory in the CXL fabric and messages of a second protocol used by an external entity to request access to the memory; and to maintain a mapping that associates addresses used by the external entity to request access to the memory with addresses of the memory in the CXL fabric, the mapping being inaccessible to the software executing on the second subset. The translation may be performed by instructions executed by the first subset of the processing cores, or by a combination of such instructions and hardware logic of the processor. The translation may proceed by: (1) receiving, from the external entity, a message of the second protocol that requests access to the memory in the CXL fabric and that carries an address used by the external entity; (2) determining, from the mapping maintained by the first subset, the address of the memory in the CXL fabric that the address used by the external entity is associated with; (3) forming a CXL message that carries the determined address and accessing the memory in the CXL fabric over the CXL port; and (4) forming a message of the second protocol from a CXL message returned over the CXL port and returning the formed message to the external entity. The mapping may be held in a memory or a register file of the first subset that is not within an address space accessible to the software executing on the second subset; the mapping may instead be held in a content-addressable memory of the first subset. The mapping maintained by the first subset may be updated as the infrastructure program allocates the memory in the CXL fabric, and the translation may be invoked where the user program does not itself implement the second protocol. A potential technical effect is that an external entity using the second protocol may reach the memory in the CXL fabric while the mapping that relates the two address spaces remains outside the reach of the user program.
[0297] In some implementations of the apparatus, the second protocol comprises at least one of: a cache-coherent chip-to-chip interconnect protocol, a protocol of a graphics processing unit (GPU), or a protocol carried over an Ethernet-based fabric; and wherein the infrastructure program is further configured to access the memory in the CXL fabric via an internal interconnect of the apparatus, the internal interconnect operating according to a protocol selected from: a standard interconnect protocol or a proprietary protocol utilized by the processor. The second protocol may include a cache-coherent chip-to-chip interconnect protocol used between processors, a protocol of a GPU, or a protocol carried over an Ethernet-based fabric. The internal interconnect of the apparatus, over which the infrastructure program accesses the memory in the CXL fabric, may operate according to a standardized interconnect protocol, or according to a protocol that is proprietary to the processor and not exposed outside the apparatus. The internal interconnect protocol may be kept separate from the second protocol, and the same first subset may serve different second protocols over different internal interconnect protocols.
[0298] In some implementations of the apparatus, the second protocol comprises a cache-coherent chip-to-chip interconnect protocol based on at least one of: a Coherent Hub Interface (CHI-based protocol), an Intel Coherent Processor Interconnect Protocol (ICPIP-based protocol), or an Infinity Fabric (IF-based protocol); wherein the infrastructure program is further configured to: translate requests corresponding to the second protocol to CXL.mem M2S requests comprising a MemRd* opcode or a MemWr* opcode to access the memory in the CXL fabric; and maintain coherency state for the requests, the coherency state being inaccessible to the software executing on the second subset; and wherein a read request corresponding to the CHI-based protocol carries ReadOnce or ReadShared, and a read request corresponding to the ICPIP-based protocol carries RdCur. Where the second protocol comprises a cache-coherent chip-to-chip interconnect protocol, the translation may map a request of that protocol to a CXL.mem M2S request and may track the coherency of the line for the requesting entity. The mapping may proceed by: (1) receiving a request of the cache-coherent chip-to-chip interconnect protocol; (2) selecting a MemRd* opcode for a read or a MemWr* opcode for a write; (3) issuing the CXL.mem M2S request over the CXL port; and (4) recording, in a coherency state maintained by the first subset, the state of the line for the requesting entity. A read request based on a Coherent Hub Interface may carry ReadOnce for a non-cacheable access or ReadShared for a cacheable access; a read request based on an Intel Coherent Processor Interconnect Protocol may carry RdCur; and a write based on an Infinity Fabric may preserve an ordering used by the requesting entity. The coherency state may be held in a memory of the first subset outside an address space accessible to the software executing on the second subset. A potential technical effect is that a coherent requester may obtain data from the memory in the CXL fabric with coherency tracked within the isolated domain.
[0299] In some implementations of the apparatus, the second protocol comprises a protocol of a graphics processing unit (GPU); and wherein the infrastructure program is further configured to: translate a read request corresponding to the protocol of the GPU to a CXL.mem M2S request comprising a MemRd* opcode and a physical address to access the memory in the CXL fabric; translate a CXL.mem Subordinate-to-Master Data Response (S2M DRS) comprising data read from the memory to a read response corresponding to the protocol of the GPU; and maintain a mapping between an identifier of the read request and a Tag of the CXL.mem M2S request, the mapping being inaccessible to the software executing on the second subset. Where the second protocol comprises a protocol of a GPU, the translation may map a read request of the GPU protocol to a CXL.mem M2S request carrying a MemRd* opcode and a physical address, may map a CXL.mem S2M DRS that carries the requested data to a read response of the GPU protocol, and may maintain a mapping between an identifier of the read request and a Tag of the CXL.mem M2S request. The mapping between the identifiers may be held in a table in a memory of the first subset outside an address space accessible to the software executing on the second subset, and may be used to match the CXL.mem S2M DRS to the read request when forming the read response. The GPU protocol messages may be of a form defined by a particular GPU protocol, which may use its own message names. A potential technical effect is that a GPU may read the memory in the CXL fabric while the correspondence between its requests and the CXL responses is maintained within the isolated domain.
[0300] In some implementations of the apparatus, the infrastructure program is further configured to manage cryptographic keys for encryption and decryption of data transferred via the CXL port, and to perform the encryption and decryption of the data using the cryptographic keys, the cryptographic keys being inaccessible to the software executing on the second subset. The cryptographic keys may include keys used to encrypt and decrypt data transferred via the CXL port, such as keys used for Integrity and Data Encryption (IDE) on a CXL link, or keys used under a TEE Security Protocol (TSP) to encrypt memory for confidential computing. The infrastructure program may store the cryptographic keys in a memory or a register file of the first subset that is not within an address space accessible to the software executing on the second subset, and may use the cryptographic keys to encrypt data sent over the CXL port and to decrypt data received over the CXL port. The cryptographic keys may instead be held in a key store of a security circuit of the first subset.
[0301] In some implementations of the apparatus, the infrastructure program is further configured to collect telemetry of the memory in the CXL fabric, to perform a predictive failure analysis of the memory based on the telemetry, and to initiate a remedial action for a portion of the memory based on the predictive failure analysis. The infrastructure program may collect telemetry of the memory in the CXL fabric, such as corrected and uncorrected error events, error counts, or access statistics reported for the memory, and may accumulate the telemetry over a period that spans many memory accesses rather than within the response time of a single access. The infrastructure program may perform the predictive failure analysis by applying a rule or a trained model to the accumulated telemetry to estimate a likelihood that a portion of the memory will fail. The remedial action may include migrating data from the portion of the memory, sparing the portion with functional memory, or reporting the portion to a fabric manager.
[0302] In some implementations of the apparatus, the processor comprises a coherent interconnect within a single integrated circuit package, the first subset and the second subset are coupled to the coherent interconnect, and the infrastructure program is configured to access the memory in the CXL fabric via the coherent interconnect and the CXL port. The first subset, the second subset, and the CXL port may be coupled by a coherent interconnect of the processor within a single integrated circuit package, and the infrastructure program may access the memory in the CXL fabric over a data path that runs through the coherent interconnect and the CXL port rather than over a separate interconnect of a discrete device attached to the processor. The coherent interconnect may include an on-package mesh, ring, or crossbar of the processor.
[0303] FIG. 13B illustrates an example of a method that manages memory in a CXL fabric for a user program using an isolated subset of the processing cores of a processor. The processor may perform the method by executing an infrastructure program with a first subset of its processing cores to manage the memory, executing the user program with a second subset of its processing cores, and rendering the first subset inaccessible to and undiscoverable by software executing on the second subset.
[0304] In various implementations, a method comprising: executing, by a first subset of processing cores of a processor, an infrastructure program; managing, by the infrastructure program, memory in a Compute Express Link (CXL) fabric coupled to the processor via a CXL port, comprising allocating capacity of the memory to a user program; executing, by a second subset of the processing cores, the user program, the user program utilizing a portion of the capacity allocated by the infrastructure program; and rendering the first subset inaccessible to, and undiscoverable by, software executing on the second subset. The method may be performed by a processor coupled to a memory storing instructions that, when executed by the processor, cause the processor to perform the executing of the infrastructure program, the managing, the executing of the user program, and the rendering. The first subset and the second subset may be subsets of the processing cores of the processor, and the infrastructure program and the user program may be sets of instructions executed by the first subset and the second subset, respectively.
[0305] In some implementations of the method, managing the memory comprises at least one of: issuing CXL.mem M2S requests that comprise a MemRd* opcode or a MemWr* opcode to access the memory, exposing a Host-managed Device Memory (HDM) region to the user program via the CXL port, or processing Fabric Manager (FM) Application Programming Interface (API) requests for the memory. The access operations for managing the memory may be performed as steps of the method by the first subset of the processing cores.
[0306] In some implementations of the method, rendering the first subset inaccessible to, and undiscoverable by, software executing on the second subset comprises at least one of: allocating, by a hypervisor, the first subset to a partition that software executing on the second subset does not access; excluding, by firmware, the first subset from an enumeration performed by software executing on the second subset; disabling, by microcode, discovery of the first subset by software executing on the second subset; or isolating the first subset from the second subset by a hardware partition. Rendering the first subset inaccessible and undiscoverable may be carried out as steps of the method by the hypervisor, the firmware, the microcode, or the hardware partition.
[0307] In some implementations, the method further comprises translating, by the infrastructure program, between CXL messages used to access the memory and messages of a second protocol used by an external entity to request access to the memory; and maintaining, by the infrastructure program, a mapping that associates addresses used by the external entity to request access to the memory with addresses of the memory in the CXL fabric, the mapping being inaccessible to software executing on the second subset. Translating between the CXL messages and the messages of the second protocol, and maintaining the mapping, may be carried out as steps of the method by the first subset of the processing cores.
[0308] In some implementations of the method, a non-transitory computer-readable medium comprising instructions which, when executed by a processor, cause the processor to perform the method. In some implementations of the method, one or more integrated circuits configured to perform the method, wherein the one or more integrated circuits comprise at least one of: (i) a general-purpose processing unit, comprising or connected to communication interfaces, configured to perform the method via software and / or firmware execution, (ii) circuitry comprising firmware and / or hardware logic integrated into an electronic device, wherein the circuitry utilizes operations that benefit from hardware acceleration and / or specialized processing capabilities not typically provided by a general-purpose processing unit, or (iii) one or more chiplets within one or more integrated circuit packages.
[0309] An apparatus may operate as a CXL MHD that presents multiple CXL ports to multiple hosts, such as a multi-headed multi-logical-device (MH-MLD) or a multi-headed single-logical-device (MH-SLD). A first subset of the processing cores of the apparatus may manage memory in a CXL fabric for the multiple hosts, including allocating respective portions of the memory to the hosts and applying access control, while remaining inaccessible to and undiscoverable by software executing on a second subset of the processing cores.
[0310] In various implementations, an apparatus configured to operate as a Compute Express Link (CXL) Multi-Headed Device (MHD), the apparatus comprising: a processor comprising processing cores; CXL endpoints configured to be coupled, via a CXL fabric, to hosts, wherein the CXL fabric comprises memory; wherein a first subset of the processing cores is configured to execute an infrastructure program configured to manage the memory in the CXL fabric, comprising allocating respective portions of the memory to the hosts and applying access control that restricts the hosts to the respective portions; wherein a second subset of the processing cores is configured to execute a user program configured to utilize a portion of the memory managed by the infrastructure program; and wherein the apparatus is configured such that the first subset is not accessible to, and not discoverable by, software executing on the second subset. The CXL endpoints may include CXL ports of the apparatus, each port coupling to a respective host through the CXL fabric, and the apparatus may present a logical device to each host, such as a logical device of a multi-headed multi-logical-device. Allocating respective portions of the memory to the hosts and applying access control may proceed by: (1) assigning, for each host, a portion of the memory in the CXL fabric to the host; (2) recording the assignment in an access-control structure maintained by the first subset; and (3) admitting an access from a host to a portion assigned to that host and declining an access from a host to a portion not assigned to that host. The access-control structure may include a table indexed by an identifier of the host. A potential technical effect is that multiple hosts may share the memory in the CXL fabric while each host is confined to the portion assigned to it.
[0311] In some implementations of the apparatus, the first subset comprises hidden cores, and the infrastructure program is further configured to allocate a first subset of the hidden cores to manage operations for a first subset of the hosts. A first subset of the hidden cores may be allocated to manage operations for a first subset of the hosts, such as the memory allocation and access control for that group of hosts, and the first subset of the hidden cores may run a context dedicated to the first subset of the hosts.
[0312] In some implementations of the apparatus, the infrastructure pr...
Claims
1. A system comprising:memory-compute sleds, each comprising: no more than four central processing units (CPUs), at least 32 GB of dynamic random-access memory (DRAM) components accessible within an address space utilized by the CPUs, and at least one Resource Provisioning Unit (RPU) configured to perform translations;a switch coupled to the RPUs of the memory-compute sleds and to entities;a processor configured to: monitor resource utilization across the memory-compute sleds, and dynamically allocate memory from the memory-compute sleds to the entities; andwherein the RPU is capable of exposing, to at least one of the entities, a memory capacity that exceeds a memory capacity of any individual memory-compute sled.
2. The system of claim 1, wherein the system is configured to support hot-swapping of memory-compute sleds, and the processor is further configured to redistribute memory allocations to support the hot-swapping.
3. The system of claim 2, wherein the processor is further configured to: detect insertion of an additional memory-compute sled, initialize the additional memory-compute sled to register its memory capacity, and integrate the newly available memory into the system's available memory capacity.
4. The system of claim 2, wherein at least some of the RPUs are configured to: communicate with the entities based on CXL.mem, communicate with their respective CPUs based on CXL.cache, and translate between physical addresses within Host Physical Address (HPA) spaces utilized by the entities and physical addresses within HPA spaces utilized by the no more than four CPUs of the memory-compute sleds; wherein CXL denotes Compute Express Link.
5. The system of claim 2, wherein the switch comprises a CXL switch configured to communicate with the RPUs and the entities utilizing messages based on CXL.
6. The system of claim 2, wherein the processor is further configured to implement Quality-of-Service (QoS) policies to promote fair resource allocation among entities with varying priority levels, and to dynamically allocate the memory from the memory-compute sleds to the entities based on at least one of workload demands, orchestrator demands, or hypervisor demands.
7. The system of claim 2, wherein the system is configured to support multiple memory-compute sleds with heterogeneous CPU and DRAM configurations, enabling incremental upgrades and optimizing cost-effectiveness; and wherein the processor is further configured to allocate the memory from the memory-compute sleds to the entities based on the heterogeneous CPU and DRAM configurations of the memory-compute sleds.
8. The system of claim 2, further comprising a telemetry module configured to collect performance metrics from the memory-compute sleds, and wherein the processor is further configured to utilize the performance metrics to improve resource allocation decisions, and to dynamically allocate the memory from the memory-compute sleds to the entities based on at least one of workload demands, orchestrator demands, or hypervisor demands.
9. The system of claim 2, wherein the processor is further configured to selectively power down or place in a low-power state underutilized memory-compute sleds to reduce energy consumption of the system.
10. The system of claim 2, wherein at least one RPU of the memory-compute sleds is further configured to: implement a mirroring protocol between at least two of the memory-compute sleds, duplicate write operations to their respective DRAM components, and distribute read operations among the DRAM components.
11. The system of claim 2, wherein at least one RPU of the memory-compute sleds is further configured to: implement an erasure coding scheme across at least two of the memory-compute sleds, distribute data and parity information among their respective DRAM components during write operations, and reconstruct data during read operations when at least one of the memory-compute sleds is unavailable.
12. The system of claim 1, wherein at least one of the entities comprises a software agent configured to collect telemetry data regarding memory utilization of the entity and report the telemetry data to the processor.
13. The system of claim 12, wherein the telemetry data comprises at least one of: bandwidth utilization of local memory, capacity utilization of local memory, page fault statistics, or swap file usage.
14. The system of claim 12, wherein the processor is further configured to adjust allocation of memory from the memory-compute sleds to the entities based on the reported telemetry data.
15. A system comprising:memory-compute sleds, each comprising: no more than four central processing units (CPUs), at least 32 GB of dynamic random-access memory (DRAM) components accessible within an address space utilized by the CPUs, and at least one Resource Provisioning Unit (RPU) configured to perform translations;a switch coupled to the RPUs of the memory-compute sleds and to entities;a processor configured to: monitor resource utilization across the memory-compute sleds, and dynamically allocate memory from the memory-compute sleds to the entities;wherein the RPU is capable of exposing, to at least one of the entities, a memory capacity that exceeds a memory capacity of any individual memory-compute sled; andwherein less than 15% of an aggregate DRAM capacity of the memory-compute sleds is based on three-dimensional (3D) stack DRAM components.
16. The system of claim 15, wherein at least 70% of the aggregate DRAM capacity is based on single-die package (SDP) DRAM components, and wherein the memory-compute sleds collectively comprise at least 2 TB of the SDP DRAM components.
17. The system of claim 15, wherein at least 70% of the aggregate DRAM capacity is based on dual-die package (DDP) DRAM components, and wherein the memory-compute sleds collectively comprise at least 4 TB of the DDP DRAM components.
18. The system of claim 15, wherein the DRAM components are organized into DRAM modules, each CPU is coupled to at least 4 physical memory slots configured to receive the DRAM modules, an average capacity of a DRAM module does not exceed 128 GB, and the memory capacity exposed by the RPU to the at least one of the entities exceeds 512 GB.
19. The system of claim 15, wherein the DRAM components are organized into DRAM modules, each CPU is coupled to at least 4 physical memory slots configured to receive the DRAM modules, an average capacity of a DRAM module does not exceed 256 GB, and the memory capacity exposed by the RPU to the at least one of the entities exceeds 1 TB.
20. The system of claim 15, wherein the aggregate DRAM capacity exceeds 800 GB, and the DRAM components exhibit an average unit price per gigabyte that does not exceed three times an average unit price per gigabyte of a lowest-cost DRAM component technology in volume production for servers in data centers.
21. The system of claim 15, wherein the memory capacity exposed by the RPU to the at least one of the entities is exposed as byte-addressable memory accessible by load operations and store operations of the at least one of the entities; wherein the memory capacity is backed by DRAM components of two or more of the memory-compute sleds; and wherein the RPU is further configured to map an access, directed by the at least one of the entities to the byte-addressable memory, onto DRAM components of a memory-compute sled, of the two or more of the memory-compute sleds, other than a memory-compute sled comprising the RPU.
22. A method comprising:operating memory-compute sleds, each comprising no more than four central processing units (CPUs), each operatively associated with at least 32 GB of dynamic random-access memory (DRAM) components, and at least one Resource Provisioning Unit (RPU) performing translations;communicating, by a switch, with the RPUs of the memory-compute sleds and with entities;monitoring, by a processor, resource utilization across the memory-compute sleds;allocating dynamically, by the processor, memory from the memory-compute sleds to the entities;exposing, by the RPU to at least one of the entities, a memory capacity exceeding a memory capacity of any individual memory-compute sled; andsupporting hot-swapping of the memory-compute sleds.
23. The method of claim 22, further comprising detecting insertion of an additional memory-compute sled, initializing the additional memory-compute sled to register its memory capacity, and integrating the newly available memory into an available memory capacity of the memory-compute sleds.
24. The method of claim 22, further comprising communicating, by at least some of the RPUs, with the entities based on CXL.mem, communicating with their respective CPUs based on CXL.cache, and translating between physical addresses within Host Physical Address (HPA) spaces utilized by the entities and physical addresses within HPA spaces utilized by the no more than four CPUs of the memory-compute sleds; wherein CXL denotes Compute Express Link.
25. The method of claim 22, further comprising allocating dynamically the memory from the memory-compute sleds to the entities based on at least one of workload demands, orchestrator demands, or hypervisor demands; redistributing memory allocations to support the hot-swapping; implementing Quality-of-Service (QoS) policies to promote fair resource allocation among entities with varying priority levels; collecting, by a telemetry module, performance metrics from the memory-compute sleds; and utilizing the performance metrics to improve resource allocation decisions.
26. The method of claim 22, further comprising allocating dynamically the memory from the memory-compute sleds to the entities based on at least one of workload demands, orchestrator demands, or hypervisor demands; redistributing memory allocations to support the hot-swapping; and selectively powering down or placing in a low-power state underutilized memory-compute sleds to reduce energy consumption.
27. The method of claim 22, further comprising implementing, by at least one RPU of the memory-compute sleds, a mirroring protocol between at least two of the memory-compute sleds, duplicating write operations to their respective DRAM components, and distributing read operations among the DRAM components.
28. The method of claim 22, further comprising implementing, by at least one RPU of the memory-compute sleds, an erasure coding scheme across at least two of the memory-compute sleds, distributing data and parity information among their respective DRAM components during write operations, and reconstructing data during read operations when at least one of the memory-compute sleds is unavailable.
29. The method of claim 22, further comprising collecting, by a software agent of at least one of the entities, telemetry data regarding memory utilization of the entity, and reporting the telemetry data to the processor; wherein the telemetry data comprises at least one of: bandwidth utilization of local memory, capacity utilization of local memory, page fault statistics, or swap file usage.
30. The method of claim 29, further comprising adjusting allocation of memory from the memory-compute sleds to the entities based on the reported telemetry data, including: increasing an allocation of memory to an entity, of the entities, in response to the reported telemetry data of the entity indicating at least one of page fault statistics or swap file usage exceeding a level; and reducing an allocation of memory to an entity, of the entities, in response to the reported telemetry data of the entity indicating capacity utilization of local memory below a level.
