CXL内存池一致性开销
3 节点1 篇7 来源
共享CXL内存池作为AI KV缓存的潜在解决方案,正面临显著的软件一致性开销挑战。德州大学阿灵顿分校与英特尔在SC26上的实测显示,跨主机锁延迟每次访问增加3-5微秒,抵消了多服务器扩展的收益。由于当前商用CXL交换机缺乏硬件原子操作支持,软件锁引入了远高于本地CPU操作的延迟。这一发现对SK海力士等厂商宣称的加速效果构成质疑。核心分歧在于容量收益是否足以弥补一致性成本:哈希表因独立桶结构扩展良好,但广度优先搜索(BFS)因频繁状态刷新而变慢。未来采用取决于CXL 3.0 Back-Invalidate特性的支持情况及针对特定工作负载的优化。
事情怎么走到这一步
UT Arlington and Intel present real-world test results at SC26 showing 3-5µs software lock delay in shared CXL memory pools, negating scaling benefits for some workloads.
tomshardware.com ↗Tom's Hardware reports that four servers sharing one CXL pool via PCIe 5.0 switch experienced slower BFS performance (0.74s vs 0.55s) due to cross-host visibility costs.
tomshardware.com ↗Vendors SK hynix and Micron promote CXL pooling for AI KV cache with claims of 2.6x faster time-to-first-token and 10-30x agentic AI gains, respectively.