# 超级路径互连（Ultra Path Interconnect，UPI）

**英特尔（Intel）超级路径互连（UPI）** 是一种一致性（共享内存的处理器之间保持缓存一致）点对点互连。英特尔随至强可扩展处理器家族（Xeon Scalable processor family；Skylake-SP，Purley 平台，2017 年 7 月 11 日发布）推出该互连，用于在单一共享地址空间中连接多个处理器，取代此前的快速路径互连（QuickPath Interconnect，QPI）。<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup><sup> • </sup><sup>[2](https://sqlperformance.com/2017/07/sql-performance/intel-xeon-sql-server-2017)</sup> 它在多插槽服务器中承载 CPU 插槽之间的缓存一致性流量，不能与 [PCI Express](https://www.edgepedia.org/zh/pci-express)、CXL 或内存接口互换。<sup>[3](https://hilpcb.com/en/blog/upi-interface-datacenter-server/)</sup>

| 关键事实 | 详情 |
|---|---|
| 取代 | 英特尔快速路径互连（QPI），一直沿用至上一代至强 E5-2600 v4（Broadwell）<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup> |
| 首个平台 | Purley 平台上的英特尔至强可扩展家族（Skylake-SP），2017 年 7 月 11 日发布<sup>[2](https://sqlperformance.com/2017/07/sql-performance/intel-xeon-sql-server-2017)</sup> |
| 速度 | 运行速度因代而异；在 Sapphire Rapids（第四代至强可扩展处理器）中每链路最高 16 GT/s<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup><sup> • </sup><sup>[12](https://edc.intel.com/content/www/us/en/design/products-and-solutions/processors-and-chipsets/eagle-stream/platform-electrical-data-sheet/maxupi-maximum-intel-upi-transfer-rate/)</sup> |
| 链路数量 | Skylake-SP：每个处理器两条或三条 UPI 链路；Sapphire Rapids（第四代）：视处理器类型为两条、三条或四条<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup><sup> • </sup><sup>[4](https://cdrdv2-public.intel.com/814094/814094__SPR_Data_Sheet_Vol_2_Registers_Rev_001.pdf)</sup> |
| 插槽扩展 | 最多三个 UPI 通道可将平台扩展至多达八个插槽<sup>[5](https://software.intel.com/content/dam/www/public/us/en/documents/product-briefs/xeon-scalable-platform-brief.pdf)</sup> |
| 一致性 | 基于目录的归属探听一致性协议<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup> |
| 功耗特性 | L0p 低功耗链路状态可提升能效<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup> |

## 用途及与 QPI 的关系

在此前的至强世代（Grantley 平台上的 Haswell 和 Broadwell）中，插槽间通信通过 QPI 进行，核心、末级缓存（LLC）、内存控制器和 I/O 控制器位于环形架构上。至强可扩展家族用网状架构（mesh）取代环形架构，并用 UPI 取代 QPI。<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup> 在至强 E5 时代，QPI 一直是在系统内 CPU 之间传输数据的主要链路。<sup>[6](https://www.servethehome.com/intel-xeon-scalable-processor-family-platform-level-overview/)</sup>

英特尔将 UPI 描述为一种一致性互连，适用于在单一共享地址空间中包含多个处理器的可扩展系统。支持它的处理器提供两条或三条 UPI 链路，用于通过插槽间的高速、低延迟路径连接其他至强处理器。<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup>

## 协议与效率特性

UPI 使用基于目录的归属探听一致性协议；在该协议中，归属代理（home agent）跟踪缓存行所有权并定向发出探听，而不是向每个插槽广播。英特尔列出了相对 QPI 的四项改进：链路速度最高达 16 GT/s；通过 L0p 低功耗状态带来更好的能效；新的分包格式带来更高的数据传输效率；以及协议层改动，例如移除预分配——英特尔称这消除了 QPI 存在的可扩展性限制。<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup><sup> • </sup><sup>[12](https://edc.intel.com/content/www/us/en/design/products-and-solutions/processors-and-chipsets/eagle-stream/platform-electrical-data-sheet/maxupi-maximum-intel-upi-transfer-rate/)</sup>

## 链路架构

UPI 模块是处理器之间的一致性通信接口，每条链路由分层组件构成：<sup>[7](https://cdrdv2-public.intel.com/817509/817509-EMR_XCC_UPG_Guide-Rev_001.pdf)</sup>

- **物理层（PHY）**：链路层与通往其他设备的物理连线之间的硬件，细分为逻辑子块和电气子块。
- **链路层**：在协议层消息与链路层微片（flit）之间进行双向转换，让它们经过共享缓冲区，按虚拟通道管理流控，并检测错误并重传数据包。
- **路由层**：分布于所有在网状架构上发送 UPI 消息的代理（UPI、CHA、PCIe、IMC）；UPI 模块确定用于转发数据包的正确网格站点（mesh stop）。
- **协议层**：不在 UPI 模块本身中实现。协议代理负责代理内存请求和中断等事务；一致性归属代理（Coherency Home Agent，CHA）既生成请求又处理探听，并作为归属代理处理请求、生成探听并解决冲突；PCIe 模块处理大多数 I/O 代理职责；Ubox 处理内部配置空间以及部分中断和消息流。<sup>[7](https://cdrdv2-public.intel.com/817509/817509-EMR_XCC_UPG_Guide-Rev_001.pdf)</sup>

在基于网状架构的至强可扩展家族中，每个核心和末级缓存切片都有一个集成的缓存与归属代理（Caching and Home Agent，CHA），它在整个网状架构上提供 UPI 缓存一致性且不会形成热点，并提供到达目标 LLC 存储体、内存控制器或 I/O 子系统所需的路由信息。<sup>[1](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)</sup>

## 拓扑与插槽扩展

UPI 链路数量决定多插槽拓扑。每个插槽有两个 UPI 端口时，可以连接四个插槽，但大约三分之一的情况下请求必须经过两跳，这会引入 NUMA（非统一内存访问）内存延迟；三个端口则允许四个插槽之间全互联，但每条连接的链路带宽减半。<sup>[8](https://www.nextplatform.com/compute/2016/06/06/big-iron-xeons-get-a-broadwell-compute-and-memory-boost/1640368)</sup> 英特尔产品简介指出，最多三个 UPI 通道可将平台可扩展性提高到多达八个插槽，并且相比 QPI 世代，可改善 I/O 密集型工作负载的 CPU 间带宽。<sup>[5](https://software.intel.com/content/dam/www/public/us/en/documents/product-briefs/xeon-scalable-platform-brief.pdf)</sup>

Skylake-SP 产品系列采用三种裸片设计，其中两种有两条 UPI 链路，一种有三条，从而终结了 E5/E7 产品在链路数量上的区隔。<sup>[9](https://www.semiaccurate.com/2017/07/13/intels-purley-platform-architecture-step-forward/)</sup> 第四代至强可扩展家族（Sapphire Rapids）视处理器类型实现两条、三条或四条 UPI 链路，UPI 寄存器暴露在 PCI 总线 30、设备 1 至 4 上，每个 UPI 端口对应一个设备。<sup>[4](https://cdrdv2-public.intel.com/814094/814094__SPR_Data_Sheet_Vol_2_Registers_Rev_001.pdf)</sup>

## 在现代系统中的性能作用

UPI 带宽影响多插槽服务器的性能，尤其是加速器工作负载。关于 GPU 服务器的研究指出，跨 NUMA 通信仍受 UPI 互连有限带宽的瓶颈制约，这限制了数据放置与路由方面的软件优化；在一台配备两颗英特尔至强 4310 CPU（2 条 UPI，10.4 GT/s）和八块英伟达（NVIDIA）RTX A6000 GPU 的双插槽服务器上，基准测试显示，8 块 GPU 的跨 NUMA 配置的 [AllReduce](https://www.edgepedia.org/zh/allreduce) 带宽低于 4 块 GPU 的 NUMA 域内配置。<sup>[10](https://doi.org/10.1145/3822179)</sup> 在大型人工智能（AI）数据中心中，UPI 也与 PCIe、CXL、NVLink 等众多协议并列出现，这些协议之间的转换会增加功耗、延迟、成本和故障点，这也是华为（Huawei）的 UB-Mesh 等统一互连提案的动因之一。<sup>[11](https://www.tomshardware.com/tech-industry/artificial-intelligence/huawei-to-open-source-its-ub-mesh-data-center-scale-interconnect-soon-details-technical-aspects-one-interconnect-to-rule-them-all-is-designed-to-replace-everything-from-pcie-to-tcp-ip)</sup>

## References

1. [Intel Xeon Processor Scalable Family Technical Overview, Intel](https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html?language=es%3Flanguage%3Des)
2. [Intel Xeon Scalable Processors and SQL Server 2017, SQLPerformance.com](https://sqlperformance.com/2017/07/sql-performance/intel-xeon-sql-server-2017)
3. [Intel UPI PCB Design and Manufacturing Guide, HilPCB](https://hilpcb.com/en/blog/upi-interface-datacenter-server/)
4. [4th Gen Intel Xeon Processor Scalable Family (Sapphire Rapids) Data Sheet Vol. 2 Registers, Intel](https://cdrdv2-public.intel.com/814094/814094__SPR_Data_Sheet_Vol_2_Registers_Rev_001.pdf)
5. [Product Brief: Intel Xeon Scalable Platform, Intel](https://software.intel.com/content/dam/www/public/us/en/documents/product-briefs/xeon-scalable-platform-brief.pdf)
6. [Intel Xeon Scalable Processor Family Platform Level Overview, ServeTheHome](https://www.servethehome.com/intel-xeon-scalable-processor-family-platform-level-overview/)
7. [817509 EMR XCC UPG Guide Rev 001, Intel](https://cdrdv2-public.intel.com/817509/817509-EMR_XCC_UPG_Guide-Rev_001.pdf)
8. [Big Iron Xeons Get A Broadwell Compute And Memory Boost, The Next Platform](https://www.nextplatform.com/compute/2016/06/06/big-iron-xeons-get-a-broadwell-compute-and-memory-boost/1640368)
9. [Intel's Purley platform architecture is a step forward, SemiAccurate](https://www.semiaccurate.com/2017/07/13/intels-purley-platform-architecture-step-forward/)
10. [BridgedRing: A Cost-Effective Hardware-Software Co-Design to Overcome the UPI Bottleneck in GPU Servers, ACM TCAS](https://doi.org/10.1145/3822179)
11. [Huawei to open-source its UB-Mesh data center-scale interconnect, Tom's Hardware](https://www.tomshardware.com/tech-industry/artificial-intelligence/huawei-to-open-source-its-ub-mesh-data-center-scale-interconnect-soon-details-technical-aspects-one-interconnect-to-rule-them-all-is-designed-to-replace-everything-from-pcie-to-tcp-ip)
12. [MAXUPI: Maximum Intel UPI Transfer Rate - 002 - ID:814095, Eagle Stream Platform](https://edc.intel.com/content/www/us/en/design/products-and-solutions/processors-and-chipsets/eagle-stream/platform-electrical-data-sheet/maxupi-maximum-intel-upi-transfer-rate/)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › 处理器与处理器工程

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/ultra-path-interconnect

English original: https://www.edgepedia.org/ultra-path-interconnect
