Meta 在新服务器中使用定制桥接芯片以复用旧内存
Meta reuses old RAM in new servers with custom bridge chip

原始链接: https://www.theregister.com/systems/2026/06/29/zuck-saves-meta-bucks-by-reusing-memory-from-old-servers-with-a-custom-cxl-asic/5263483

Meta 开发了一项名为“Vistara”的定制化 CXL 技术,旨在将退役服务器上的旧款 DDR4 内存重新应用于其现代基础设施中。面对服务器集群中 40% 无法升级设备的现状,Meta 设计了一款定制 ASIC,将旧的 DDR4 模块与原生 DDR5 共同接入新服务器,从而构建了一个共享的解耦内存池。 通过利用这种支持 Vistara 的硬件(部署在定制的“MemServer”机箱中),Meta 克服了现成 CXL 解决方案的局限性,解决了它们通常缺乏对 DDR4 的支持或会引入过高延迟的问题。该系统将这些二次利用的内存视为独立的 NUMA 节点,并通过定制的 Linux 内核优化进行管理。 这一创新成果已在数百万台服务器上部署,支持机器学习推理和大数据处理等大规模工作负载。其成效显著:通过缓解内存不足错误,Meta 将作业失败率降低了 33%,并成功将某些推理工作负载所需的服务器总量减少了 25%。该策略不仅优化了性能,还大幅延长了硬件的使用寿命,为解决内存容量限制提供了一种经济高效的方案。

Meta 开发了一款定制桥接芯片,旨在将旧一代内存集成到其新的服务器架构中。这项在 ISCA '26 研究论文中详述的举措,使公司能够利用 CXL 协议重新利用旧内存,从而有效地创建了一个分层内存系统,减轻了采购新 DRAM 所带来的巨大碳足迹和供应限制。 Hacker News 上的讨论重点突出了以下几个关键点: * **可持续性与经济性:** 内存是数据中心碳排放的主要来源之一。通过延长现有内存的使用寿命,Meta 旨在同时解决可持续发展挑战和新硬件的高昂成本问题。 * **技术实现:** 与传统的“内存盘”(RAM disk)不同,这种方法使用 CXL 来实现缓存一致性。虽然与主内存相比,它引入了更高的延迟,但为不需要最高速度的工作负载提供了一个功能性层级。 * **更广泛的行业背景:** 评论者指出,当前由人工智能驱动的需求导致了周期性的供应危机,使得即使是旧一代的二手内存也出现了升值。许多用户对现代“敌对”的计算环境表示不满,臃肿的软件和人工智能开发助长了硬件浪费,导致一些人通过使用更旧、更高效的设备来选择“退出”。
相关文章

原文

SYSTEMS

In production on millions of boxes and the payoff is a 25% reduction in machines needed for some inference workloads

Meta is recovering DDR4 memory from old servers, installing it in new machines, and using a custom Compute Express Link (CXL) ASIC to share the memory across applications – without encountering latency problems.

The social networking giant calls its tech "Vistara" and will present it at ISCA 2026 on Monday, but The Register found the company's paper ahead of the talk. Our sister site, Blocks and Files, also happens to have reported on this on Friday.

The document opens with the admission that Meta can't increase the amount of memory in around 40 percent of its vast server fleet, meaning millions of servers can't handle some of its workloads. That's unfortunate because the expected service life of its servers is three to five years, but memory is useful for seven to ten years.

Meta's response is to rip DDR4 DIMMs from old servers, put them into new machines that rely on DDR5, and turn it all into a pool of capacity – which in theory makes it possible to compose virtual servers that share resources across multiple physical hosts.

The paper points out that CXL is hard to put into production because sharing memory across hosts can mean low bandwidth, high latency, and extra computing overheads to manage additional memory layers. Those problems can arise in systems that combine different memory technologies. Meta wanted to blend memory types in a single machine but found off-the-shelf CXL kit can't do the job.

"Most CXL solutions bundle DRAM with the controller – preventing DIMM reuse – and often omit DDR4 support, which is a requirement for repurposing older memory," the paper states. "Additionally, their high power consumption and high cost further limit their appeal."

To make CXL sing, Meta created a custom ASIC called "Vistara."

"At its core, the Vistara ASIC is designed to bridge DDR4 memory to host processors via a CXL 2.0/1.1-compliant PCIe Gen5 x16 interface," the paper explains. "Each Vistara ASIC integrates two independent 72-bit DDR4 memory channels, supporting speeds up to 3,200 MT/s and up to 256 GB per chip with 64 GB DIMMs."

A pair of custom RISC-V processors drive the ASICs.

Vistara hardware lives in devices Meta calls a "MemServer" powered by an AMD Turin processor packing 158 cores and running 316 threads. Each MemServer combines 768 GB of DDR5 memory alongside 256 GB of DDR4 connected through Vistara ASICs.

"The Vistara CXL cards are installed in dedicated rear-accessible slots within each MemServer chassis," the paper reveals. "To manage the increased thermal load from high-density memory and CXL devices, the chassis employs directed airflow with high-capacity fans that channel cool air directly across the Vistara modules, for stable operation under heavy workloads."

The software side of Vistara sees the DDR4 presented to the OS "as a distinct, CPU-less NUMA node, separate from the local DRAM nodes directly attached to the processor." Meta's platforms first use all available local DDR4, then employ the CXL-enabled memory when needed.

Zuck's house of hyperscale hypnotism makes this happen with custom tweaks to the Linux CXL driver. "All Linux kernel CXL driver code in use for Vistara is either present in the upstream kernel, or is on its way to being included in the upstream kernel," the paper states.

The paper says Meta has put this CXL stuff to work "in hyperscale infrastructure with millions of servers, across a variety of production workloads, including disaggregated ML inference (embedding tables in recommendation systems), big data processing, databases, distributed caches, and CI/CD build systems."

Some workloads, including big data tools such as Spark and Hive, use terabyte and petabyte-scale datasets, and need hundreds of gigabytes of memory per job. The paper says that if those workloads experience out-of-memory events, it can "disrupt critical business analytics and ML pipelines."

"The expanded memory headroom provided by CXL enhances system reliability," the paper explains. "By mitigating the risk of out-of-memory (OOM) events, CXL reduces the frequency of job failures and the associated overhead of job restarts and resource fragmentation by 33 percent."

Meta says the system also cuts infrastructure costs. "These deployments have demonstrated large benefits, such as reducing the server count by up to 25 percent for disaggregated inference," the paper states. And of course Meta is avoiding the sky-high memory prices caused by the RAMpocalypse. ®

联系我们 contact @ memedata.com