arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.24079cs.DCcs.OS
收藏

Aquifer: 基于CXL和RDMA的分层内存池化技术用于微VM快照

Aquifer: Hierarchical Memory Pooling with CXL and RDMA for MicroVM Snapshots

The Chinese University of Hong Kong(香港中文大学);Virginia Tech(弗吉尼亚理工大学)

Junliang Hu, Huaicheng Li, Ming-Chang Yang

AI总结:

针对生产云集群中25-35%的DRAM内存浪费问题,提出Aquifer系统,利用CXL和RDMA构建分层内存池,通过热感知快照格式和基于所有权的缓存一致性协议,实现微VM快照的快速恢复。

摘要:

内存滞留浪费了生产云集群中25-35%的已安装DRAM。通过CXL和RDMA进行内存池化提供了一种补救措施,但单独任何一种技术都不足以解决问题:CXL提供低延迟、负载/存储透明的访问,但仅限于一个pod;而RDMA提供集群范围的访问,但延迟较高且带有软件开销。结合这两层的分层架构是实际可行的路径,但对于基于微VM的无服务器计算,快照恢复延迟是主要的冷启动瓶颈,该路径尚未被探索。我们提出了Aquifer,这是第一个从分层CXL+RDMA内存池中服务微VM快照的系统。对快照镜像的分析表明,绝大多数页面要么是零页面,要么是冷页面,从而实现了基于热度的快照格式,该格式消除了零页面,并将热工作集放置在CXL池中,同时将冷页面存储在RDMA池中。在缺乏硬件缓存一致性的CXL 2.0多头设备上跨主机共享这些快照,需要Aquifer基于所有权的缓存一致性协议来确保正确性。最后,Aquifer使用基于复制的页面服务机制,在微VM恢复前从CXL内存预安装热页面,并从RDMA异步按需分页冷页面。在模拟的CXL+RDMA硬件上,Aquifer在端到端调用时间上实现了比Firecracker快2.2倍(几何平均)的加速,比次优方案快1.1倍。

英文摘要:

Memory stranding wastes 25-35% of installed DRAM in production cloud clusters. Memory pooling over CXL and RDMA offers a remedy, but neither technology alone suffices: CXL provides low-latency, load/store-transparent access limited to a pod, while RDMA provides cluster-wide reach at higher latency with software overhead. A hierarchical architecture combining both tiers is the practical path forward, yet remains unexplored for MicroVM-based serverless computing, where snapshot restore latency is the dominant cold-start bottleneck. We present Aquifer, the first system to serve MicroVM snapshots from a hierarchical CXL+RDMA memory pool. A characterization of snapshot images reveals that the vast majority of pages are either zero or cold, enabling a hotness-based snapshot format that eliminates zero pages and places only the hot working set in the CXL pool while storing cold pages in the RDMA pool. Sharing these snapshots across hosts on CXL 2.0 multi-headed devices, which lack hardware cache coherence, requires Aquifer's ownership-based coherence protocol to ensure correctness. Finally, Aquifer uses a copy-based page serving mechanism pre-installs hot pages from CXL memory before MicroVM resume and demand-pages cold pages asynchronously from RDMA. On emulated CXL+RDMA hardware, Aquifer achieves a 2.2x geometric-mean speedup in end-to-end invocation time over Firecracker and 1.1x over the next best alternative.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑