四服务器共享CXL内存实测揭示锁开销
德州大学阿灵顿分校与Intel在真实硬件上测试了四台服务器共享一个CXL内存池。由于平台缺少跨服务器缓存一致性和硬件原子操作,软件锁每次增加约3至5微秒延迟,但扩展结果因工作负载而异:广度优先搜索从0.55秒降至0.74秒,而哈希表和三角形计数表现较好。
该测试量化了共享CXL内存的软件成本,而厂商正将其用于AI KV缓存池化;结果表明,收益高度依赖工作负载与实现方式。
Researchers at the University of Texas at Arlington and Intel measured what happens when four servers share one pool of CXL memory on real hardware. In a presentation shared at Supercomputer 2026 (SC26), they found that because the hardware doesn’t automatically keep shared data updated across servers, necessary software overhead adds a 3-5µ (microsecond) delay per lock, each time servers access the same data. These minute delays effectively cancel out the benefits — a finding that comes as CXL memory pools are being proposed as a potential AI KV cache solution.
Locks work like traffic signals for shared data: a server has to claim the lock before it changes something in the pool, and the other servers wait until it releases it. This way, no two servers overwrite the same data at the same time. Within a given server, the CPU’s hardware handles that handoff in a fraction of a microsecond, but across these servers, software is in charge of enforcement.
The setup comprises four 86-core Intel Xeon 6787P servers with 256GB of DRAM each, connected over PCIe 5.0 to one CXL memory box. The switch, which UT Arlington’s Peiran Du called “the only commercially available product we can use,” caps their setup at four servers. The catch is that there is no cross-host cache coherence or atomic operations on “a real four-host CXL shared-memory system.”
#University of Texas at Arlington#Intel#CXL#Intel Xeon 6787P#CXL 3.0#Back-Invalidate#InfiniBand#SK hynix#Micron#Nvidia Dynamo