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

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

Author: Retrivium team
Updated: 2026-11-10
Canonical URL: https://retrivium.ai/journal/news-tpu-sync-host-prefix-cache-break-even/
Language: en

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

- [Google Cloud TPU Sync announcement](https://cloud.google.com/blog/topics/ai-infrastructure/introducing-tpu-sync-fast-kv-cache-and-weight-transfer-on-tpu)
- [TPU Sync source and integration documentation](https://github.com/google/tpu-sync)

## Related reading

- [SGLang on an RTX 4070: throughput, first output and cache exceptions](/journal/sglang-rtx4070-finite-load-ttft-prefix-cache-evidence/)
- [vLLM prefill-decode disaggregation: when separate pools help](/journal/vllm-prefill-decode-disaggregation-architecture/)
