Memory & Storage · 6 min read

Four-Server CXL Test Finds Locks Cost 3–5 µs, Killing Scaling Gains

UT Arlington and Intel measured 3–5 µs lock penalties on four Xeon servers sharing one CXL pool — stalling some scaling as SK hynix and Micron pitch CXL for AI KV cache.

By Rebecca Stone1,241 words

Key takeaways

  1. Four Xeon 6787P servers sharing one CXL pool paid 3–5 µs per lock; median 3.7 µs uncontended, 132 µs at p95 under contention.
  2. BFS ran 35% slower on four servers (0.74 s vs 0.55 s); hash table throughput grew ~4x and triangle counting fell ~60%.
  3. SK hynix claims 2.6x faster time to first token for KV cache via shared CXL pools; Micron's Abaco claims 10–30x agentic AI gains.
  4. Nvidia Research: KV per token falls ~50% every 12 months, but context lengths heading to millions of tokens keep total demand growing.
  5. CXL 3.0's Back-Invalidate hardware coherence fix remains unconfirmed on shipping platforms; Du expects it to add its own costs.
Shared CXL memory comes with a software tax — a real four-server test found locks cost 3–5 µs each
Shared CXL memory comes with a software tax — a real four-server test found locks cost 3–5 µs each — Innovalabs / pixabay

Researchers at the University of Texas at Arlington and Intel put four servers on one shared CXL memory pool and measured a 3–5 µs penalty per lock acquisition — enough to erase the benefits of scaling in some workloads. The team presented the results at Supercomputing 2026 (SC26), and the numbers land exactly as memory makers push shared CXL pools as a home for AI KV cache.

The test rig was concrete: four 86-core Intel Xeon 6787P servers, each with 256 GB of DRAM, tied over PCIe 5.0 to a single CXL memory box. The switch, which UT Arlington's Peiran Du called "the only commercially available product we can use," caps the setup at four servers. More importantly, the platform offers no cross-host cache coherence and no atomic operations. "A real four-host CXL shared-memory system" has no synced CPU caches and no hardware atomics to build locks on, so software carries the enforcement burden.

What does the missing coherence actually cost?

Locks work like traffic signals for shared data. A server claims the lock before changing anything in the pool; the others wait. Inside one server, the CPU hardware handles that handoff in a fraction of a microsecond. Across these four servers, software does the work, and the price stacks up:

  • Lock acquisition runs "roughly an order of magnitude higher than local hardware spin locks."
  • One-way cross-host visibility is about 1 µs — 0.94 µs measured, versus 1.91 µs for an RDMA write over their 400 Gb/s InfiniBand, so the link isn't the bottleneck.
  • A local compare-and-swap takes about 100 ns; a cross-server lock's median is 3.7 µs uncontended, but 132 µs at the 95th percentile with several servers contending.

Writers must publish their cached copy to the pool and wait for completion. Readers must throw out stale copies before reading. The locks themselves are built from plain reads and writes, such as Lamport's fast mutex. CXL 3.0 defines a hardware fix for cache coherence, Back-Invalidate, but the researchers said they hadn't received vendor confirmation that their platform supports it.

Which workloads win and which lose?

The headline result: breadth-first search, a standard graph benchmark, "gains nothing from adding a second host," and it actually ran slower on four servers than on one — 0.74 s versus 0.55 s, roughly 35% worse. Locks and barriers accounted for only about 3.5% of BFS runtime; the real cost came from repeatedly flushing shared state at every level.

Other workloads scaled almost cleanly. A hash table using independent buckets and per-host allocators grew throughput nearly linearly, from 4.1M ops/s to 16.6M ops/s — about 4x — at 95% reads. Triangle counting fell from 2.43 s to 0.97 s, about a 60% runtime reduction, moving from one host to four, with 32 threads per server.

Why KV cache changes the commercial picture

Shared CXL pools are emerging as a destination for KV cache once it outgrows GPU memory and server DRAM. The CXL Consortium's SC26 session description says cloud providers and GPU makers "have highlighted CXL memory pooling as an effective approach for improving KV cache access."

SK hynix showed a design that hands KV cache between GPU servers through a shared pool, claiming 2.6x faster time to first token than RDMA setups, 3.0x lower P99 latency, and 1.9x higher throughput. Micron showed its Abaco pooled-CXL reference design at SC26's CXL Pavilion, claiming 10x to 30x agentic AI gains with famfs support for apps like Nvidia's Dynamo.

The demand side is real, even as per-token memory needs shrink. Nvidia Research's Vikram Sharma Mailthody said at SC26's Emerging Storage panel that his analysis of open models on Hugging Face shows KV per token falling "by 50% every twelve months," with "up to 78 times reduction so far." A 128K context took "about 64 gigabytes" three years ago; now it takes less than one. But context lengths are heading toward millions of tokens, and "the product of those two will keep increasing," he said. "Memory capacity is becoming a dominant factor. Memory latencies have not been seen as a primary problem yet."

Agents add pressure too. Argonne National Laboratory and RIT researchers, working from public AI serving traces, showed that a session calling back roughly two minutes later kept only 1% of its context in a 160 GiB recency cache — the GPU had to recompute the other 99%, which is slower and more demanding.

Is hardware coherence the way out?

The costs favor a capacity argument, not a speed one. KV cache handoff is write-once, read-many — precisely the pattern that scaled in UT Arlington's testing, though the team didn't test KV cache specifically. The OCEAN CXL emulator researchers, presenting in the same session, backed that split: software coherence is fine for read-heavy work, hardware becomes essential as writes climb. OCEAN's abstract reports hardware coherence can deliver an 11x improvement at full coverage on Tigon database workloads, in emulation.

Micron, which built prototype KV cache sharing into Nvidia's Dynamo, flagged two failure cases in a CXL Consortium presentation: the writer's data never reaching the pool, and the reader never seeing updates. Producers fix the first by flushing before blocks are published; consumers fix the second by invalidating cached lines before reading. Neither failure crashes the system — the read returns plausible-looking data, with wrong tokens on some requests under cache pressure. Micron cut its flushing cost by flushing each slot only once, which works because KV cache is content-addressed.

Economics help CXL too: a 128 GB DIMM cost more than four times a 64 GB DIMM last year, and Intel's Anil Godbole noted on SC26's CXL panel that adding capacity past the DIMM slot limit, including reusing DDR4, strengthens the case. But pooling only reaches within a rack today, he said, and CXL is "not the protocol to ferry such big data" — it moves 64 bytes at a time, CPU-style, while RDMA handles bulk transfers better. Marvell, Penguin Solutions, and Lightelligence have shown or announced pooling over optical links that could stretch past a single rack.

Beluga, a research system described on arXiv a year ago, put KV cache in a commercial CXL switch-based pool and cut time to first token by 89.6% while raising throughput 7.35x versus an RDMA setup once its cache filled — evidence that optimization can widen the technology's usefulness.

What ships next?

Early days, clearly. SK hynix's second-generation CMM-DDR5, at 256 GB and using CXL 3.2, has only been shown, and the device its KV cache design uses to select what to send remains what the company's Younghoon Min called a "research prototype." UT Arlington's Jia Rao pointed to "a gap between the [CXL] spec and the implementation from different vendors." Back-Invalidate should cut the software overhead the team measured, but Du expects it to "be pretty costly" in added delays of its own, and SK hynix is relying on "novel locking and coherence protocols." Until a commercial switch ships with confirmed cross-server coherence, production systems will likely need hardware coherence plus software approaches like Micron's, and the best KV cache numbers on offer come from vendor demos and research prototypes.

Tom's Hardware (Source)

Filed under

Share this article:

More from Rebecca Stone

Rebecca Stone

Show full bio

Correspondent covering technology and product news in Semiconductors, chip manufacturing, hardware, AI compute at Chip Dispatch.

1,307 articles

Read also

« Previous articleNext article »