Goodput Optimization for Agent Coding with LMCache on 2x DGX Spark

I spent the last weeks pushing two DGX Sparks with ConnectX-7 as far as I could for agentic coding inference. TTFT acceptable, goodput improved, and the whole design is scaleable to X machines.

I wrote up the work in two articles and would appreciate feedback from others running Dynamo, vLLM, LMCache, K3s, RDMA, or local multi-node inference setups:

  1. Running NVIDIA Dynamo on two DGX Sparks with K3s

  2. Goodput Optimization for Agent Coding with LMCache on 2x DGX Spark

The second article goes through the benchmark work: Dynamo, vLLM, Nemotron 3 Nano/Super, LMCache L1/L2/P2P, ConnectX-7 RDMA, NVMe-backed KV cache, Grafana observability, and long AIPerf trace replays based on SemiAnalysis Claude Code Weka traces.

The short version: Nano benefited from LMCache P2P over the fabric. Super needed disk-backed L2 with L1 used as staging rather than retention. Observability was not optional; several early conclusions would have been wrong without LMCache counters, vLLM metrics, RDMA per-rail counters, and power/clock telemetry.

I am especially interested in feedback on:

  • whether the Dynamo/K3s setup matches best practices for two-node DGX Spark deployments
  • whether the LMCache L1/L2/P2P interpretation is technically correct
  • better ways to configure shared or remote L2 backends such as Mooncake, Redis/Valkey, or MinIO/S3
  • whether there are known improvements for Nemotron hybrid Mamba prefix caching, MTP/speculative decoding, or LMCache sizing
  • anything I missed around ConnectX-7 dual-rail RDMA configuration and validation

The goal was not a polished benchmark claim, but a practical report from getting a two-box local inference setup stable and measurable. Any corrections, caveats, or suggestions would be very welcome.

I will provide all repo files by EOW.