AI Cloud Architect

Boosting LLM Performance with Tiered KV Cache on Google Kubernetes Engine

GoogleHow-to by Danna WangGoogle Cloud Blog (developers and practitioners)

Boost LLM inference performance with LMCache on Google Kubernetes Engine. Discover how tiered KV cache expands NVIDIA GPU HBM with CPU RAM and local SSDs, significantly improving context length, concurrency, and throughput for large language models.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

LMCache extends the vLLM KV cache from GPU HBM into CPU RAM and local SSD on GKE, with benchmarked gains in time to first token and throughput for long prompts.

Who it is for

Teams running large Llama models on GKE GPU nodes with long prompts that exceed GPU memory for the KV cache.

Key points

  • Test setup: 8 x H100 80GB GPUs on A3 mega, Llama-3.3-70B-Instruct, LMCache v0.3.3, vLLM server.
  • Gains only appear when the cache exceeds HBM; with a cache that fits in HBM, extra tiers gave no benefit.
  • In the large-cache test, CPU RAM and local SSD gave up to +130% input throughput at 100k-token prompts, per the post's benchmark.

The same at other vendors

Timeline

Posts about Google Kubernetes Engine, oldest first.

  1. Generally availableGKE Inference Gateway and Quickstart are GA · Google · Announcement
  2. This postBoosting LLM Performance with Tiered KV Cache on Google Kubernetes Engine
  3. Blog postAgent Factory Recap: Supercharging Agents on GKE with Agent Sandbox and Pod Snapshots · Google · Blog post
  4. How-toCost-Effective AI with Ollama, GKE GPU Sharing, and vCluster · Google · How-to
  5. How-toExperimenting with GPUs: GKE managed DRANET and Inference Gateway AI Deployment · Google · How-to
  6. How-toBuild and Deploy a Remote MCP Server to GKE in 30 Minutes · Google · How-to
  7. How-toScaling LLM Inference: Multi-Node KV Cache Offloading with GKE & Managed Lustre · Google · How-to
  8. Blog postSecuring AI at Enterprise Scale: The Google Kubernetes Engine Blueprint · Google · Blog post
  9. How-toExperimenting with ClusterNetworkPolicy in GKE · Google · How-to
Show all 10 posts
  1. Generally availableGKE Inference Gateway and Quickstart are GA · Google · Announcement
  2. This postBoosting LLM Performance with Tiered KV Cache on Google Kubernetes Engine
  3. Blog postAgent Factory Recap: Supercharging Agents on GKE with Agent Sandbox and Pod Snapshots · Google · Blog post
  4. How-toCost-Effective AI with Ollama, GKE GPU Sharing, and vCluster · Google · How-to
  5. How-toExperimenting with GPUs: GKE managed DRANET and Inference Gateway AI Deployment · Google · How-to
  6. How-toBuild and Deploy a Remote MCP Server to GKE in 30 Minutes · Google · How-to
  7. How-toScaling LLM Inference: Multi-Node KV Cache Offloading with GKE & Managed Lustre · Google · How-to
  8. Blog postSecuring AI at Enterprise Scale: The Google Kubernetes Engine Blueprint · Google · Blog post
  9. How-toExperimenting with ClusterNetworkPolicy in GKE · Google · How-to
  10. PreviewScaling massive AI/ML workloads with IPv6 on Google Kubernetes Engine clusters · Google · Announcement