paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Software-Defined Far Memory in Warehouse-Scale Computers

仓库级计算机中的软件定义远内存
ASPLOS Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems2019匹配度 1/10 · 论文属于操作系统与仓库级计算机内存管理方向,核心是远内存分层、冷页压缩、SLO 与自动调优,与用户的 PL/AI、静态分析、浮点程序分析、贝叶斯程序分析等研究方向没有直接关联。虽然其工业部署案例符合用户对落地经验的兴趣,但主题本身几乎不匹配。引用 116 inbox
Andres Lagar-Cavilla, Junwhan Ahn, Suleiman Souhlal, Neha Agarwal, Radoslaw Burny, Shakeel Butt, Jichuan Chang, Ashwin Chaugule, Nan Deng, Junaid Shahid, Greg Thelen, Kamil Adam Yurtsever, Yu Zhao, Parthasarathy Ranganathan
crossref: 2026-09-12

AI 速览

一句话:通过在 OS 内核中主动压缩冷内存页,以软件方式构建远内存层,显著降低仓库级计算机的内存总拥有成本。

内存需求持续增长与工艺微缩放缓,使仓库级计算机(WSC)的总拥有成本(TCO)面临严峻挑战。一种降低内存 TCO 的思路是引入更便宜但更慢的“远内存”层来存放不常访问的冷数据,但这会带来负载多样性与数据更替的动态响应、容量搁浅以及遗留(brownfield)部署等新问题。本文提出一种新颖的软件定义远内存方法:主动压缩冷内存页,从而在软件层面有效构造远内存层。端到端系统设计涵盖定义性能服务级目标(SLO)的新方法、在满足 SLO 前提下识别冷内存页的机制,以及 OS 内核与节点代理中的具体实现;同时设计基于学习的自动调参,无需人工介入即可周期性适应集群级变化。该系统自 2016 年起已在谷歌 WSC 上成功部署,服务数千个生产服务,内存成本降低 67% 以上,访问速度约 6 微秒,平均可容纳 20% 的不常访问数据,在仓库规模上带来显著的 TCO 节省。

问题
仓库级计算机的内存 TCO 因内存需求增长与工艺微缩放缓而承压;引入更便宜但更慢的远内存层时,需应对负载多样性、数据更替、容量搁浅与遗留部署等挑战。
方法
提出软件定义的远内存方案,在 OS 内核中主动压缩冷内存页以构造远内存层,配合性能 SLO 定义、冷页识别机制以及基于学习的自动调参来适应集群变化。
评估
系统自 2016 年起在谷歌 WSC 生产环境部署,服务数千个生产服务;实测内存成本降低 67% 以上、访问速度约 6us、平均存储 20% 的冷数据。
原文摘要(Abstract)

Increasing memory demand and slowdown in technology scaling pose important challenges to total cost of ownership (TCO) of warehouse-scale computers (WSCs). One promising idea to reduce the memory TCO is to add a cheaper, but slower, "far memory" tier and use it to store infrequently accessed (or cold) data. However, introducing a far memory tier brings new challenges around dynamically responding to workload diversity and churn, minimizing stranding of capacity, and addressing brownfield (legacy) deployments. We present a novel software-defined approach to far memory that proactively compresses cold memory pages to effectively create a far memory tier in software. Our end-to-end system design encompasses new methods to define performance service-level objectives (SLOs), a mechanism to identify cold memory pages while meeting the SLO, and our implementation in the OS kernel and node agent. Additionally, we design learning-based autotuning to periodically adapt our design to fleet-wide changes without a human in the loop. Our system has been successfully deployed across Google's WSC since 2016, serving thousands of production services. Our software-defined far memory is significantly cheaper (67% or higher memory cost reduction) at relatively good access speeds (6us) and allows us to store a significant fraction of infrequently accessed data (on average, 20%), translating to significant TCO savings at warehouse scale.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot4918,
  title = {Software-Defined Far Memory in Warehouse-Scale Computers},
  author = {Andres Lagar-Cavilla and Junwhan Ahn and Suleiman Souhlal and Neha Agarwal and Radoslaw Burny and Shakeel Butt and Jichuan Chang and Ashwin Chaugule and Nan Deng and Junaid Shahid and Greg Thelen and Kamil Adam Yurtsever and Yu Zhao and Parthasarathy Ranganathan},
  booktitle = {ASPLOS},
  year = {2019},
  doi = {10.1145/3297858.3304053}
}