TECHNOLOGY

When does restoring a host-tier TPU Sync prefix beat recomputing it?

In this article
THE QUICK TAKE

Compare lookup, restore and queueing with fresh prefill at several reuse distances and concurrency levels.

TPU Sync’s November 9 release describes prefix cache tiering from TPU HBM into host DRAM. It also describes an experimental POSIX storage tier for older blocks. The practical choice for an inference service is whether retrieving a matching prefix is faster than computing it again when a request arrives.

Use prefix identity with the runtime

A valid cache hit requires the same effective prefix for the same compatible model state. Record model revision and exact token prefix when testing. If routing is tenant-aware, also record the isolation boundary. An identical visible prompt can yield different tokens after a template or system-message change.

Split hit rates by tier

Count accelerator hits, host hits, experimental storage hits and misses separately. Include bytes moved and delays before a block becomes usable. A combined hit rate hides cases where a slower tier finds the right state but competes with a fresh prefill for the same latency budget.

Compare equivalent work

Replay one request set with caching and another with forced recompute using the same model and scheduler load. Vary prefix length, shared-prefix popularity and time between uses. Check both first-token latency and the workload’s aggregate throughput. Savings on one request can come at the expense of bandwidth consumed by other requests.

Stress invalidation and pressure

Switch to a different model revision and deliberately fill host memory in a controlled test. The service should avoid incompatible cache reuse and show when a block must be recomputed. Treat behavior on the experimental storage tier as a separate qualification because its load and failure modes differ.

Set the break-even point from traces

Record the traffic classes where lookup and restoration remain faster at the required tail latency. Use those classes when choosing admission and eviction policies. Google’s published benchmark illustrates a possible gain under specified conditions. Production decisions should follow the repeated measurement from your own prefix distribution.

Primary sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles