Skip to main content
QUICK REVIEW

[Paper Review] Pond: CXL-Based Memory Pooling Systems for Cloud Platforms

Huaicheng Li, Daniel S. Berger|arXiv (Cornell University)|Mar 1, 2022
Cloud Computing and Resource ManagementComputer Science14 citations
TL;DR

Pond is a CXL-based memory pooling system that enables cloud providers to reduce DRAM costs by 7% while maintaining within 1-5% of same-NUMA-node performance. It uses machine learning to predict VM memory access patterns and a zero-core virtual NUMA (zNUMA) design to isolate unused memory, with runtime monitoring to migrate latency-sensitive workloads back to local memory when predictions fail.

ABSTRACT

Public cloud providers seek to meet stringent performance requirements and low hardware cost. A key driver of performance and cost is main memory. Memory pooling promises to improve DRAM utilization and thereby reduce costs. However, pooling is challenging under cloud performance requirements. This paper proposes Pond, the first memory pooling system that both meets cloud performance goals and significantly reduces DRAM cost. Pond builds on the Compute Express Link (CXL) standard for load/store access to pool memory and two key insights. First, our analysis of cloud production traces shows that pooling across 8-16 sockets is enough to achieve most of the benefits. This enables a small-pool design with low access latency. Second, it is possible to create machine learning models that can accurately predict how much local and pool memory to allocate to a virtual machine (VM) to resemble same-NUMA-node memory performance. Our evaluation with 158 workloads shows that Pond reduces DRAM costs by 7% with performance within 1-5% of same-NUMA-node VM allocations.

Motivation & Objective

  • To address the high cost of DRAM in cloud platforms by reducing memory utilization waste from stranded and untouched memory.
  • To enable memory pooling that meets strict cloud performance requirements, particularly for opaque VMs with no guest OS modifications.
  • To design a system that achieves near-NUMA-node memory performance while enabling dynamic, cost-effective memory sharing across multiple servers.
  • To develop a practical, deployable solution using commodity CXL hardware and minimal changes to existing virtualization stacks.

Proposed method

  • Leverages the Compute Express Link (CXL) standard to enable cacheable load/store access to pooled DRAM with nanosecond-scale latencies.
  • Employs a machine learning model trained on hardware telemetry to predict which VMs can safely use pooled memory based on their memory access patterns and sensitivity to latency.
  • Introduces a zero-core virtual NUMA (zNUMA) node to expose unused memory to VMs without performance impact, biasing allocations away from remote memory.
  • Uses a runtime QoS monitor to detect performance degradation and trigger VM migration to local memory when predictions are incorrect.
  • Limits pool size to 8–16 sockets based on trace analysis, minimizing CXL access latency to 70–90ns over local DRAM.
  • Designs a system that maintains static memory preallocation for compatibility with virtualization accelerators while enabling physical memory pooling.

Experimental results

Research questions

  • RQ1Can memory pooling via CXL achieve near-NUMA-node performance for opaque VMs in public cloud environments?
  • RQ2What pool size is sufficient to realize most cost savings while keeping CXL access latency low?
  • RQ3Can machine learning accurately predict which VMs can be safely allocated to pooled memory without performance degradation?
  • RQ4How can unused memory be exposed to VMs without impacting performance, even for latency-sensitive workloads?
  • RQ5What mechanisms are needed to ensure QoS when prediction models fail, and how costly is mitigation?

Key findings

  • Pond reduces DRAM costs by 7% with a 16-socket pool, achieving performance within 1-5% of same-NUMA-node memory allocations across 158 workloads.
  • 43% of workloads remain within 5% of local memory performance when fully allocated to the pool, under 64ns CXL overhead, and 37% under 140ns overhead.
  • The zNUMA design effectively isolates unused memory, ensuring that VMs with low memory utilization see no performance penalty from remote access.
  • Runtime monitoring detects and mitigates mispredictions, with offlining speeds below 1GB/s for 99.99% of VM starts and below 10GB/s for 99.999% of starts.
  • The system maintains compatibility with virtualization accelerators by preserving static memory preallocation, avoiding page faults and guest OS changes.
  • The overall cloud server cost is reduced by 3.5% due to 7% DRAM savings, even under a 222% latency increase from CXL access.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.