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 正通过定制桥接芯片将旧一代内存集成到新的服务器架构中,以应对当前的内存供应限制。这一举措在近期 Hacker News 的技术讨论中受到关注,反映了整个行业为解决硬件短缺而寻找创新方案的趋势。 相关讨论指出了几项关键进展: * **基础设施效率:** Meta 利用定制硬件重新利用现有内存模块,是优化超大规模部署的战略举措。 * **市场转变:** 除了回收利用,行业还在探索替代供应链(如苹果评估新制造商),并采取诸如采用单通道内存配置等折中方案。 * **技术创新:** 学术界的研究(如“Vistara”项目)正在突破 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