be273f7f27c3148f60865bae1aa9e996037c0464
Old gate: cache_ratio >= 0.3 (static, only 14% of HEAVY triggered) New gate: offload when offload_cost < colocated_cost, where: colocated_cost = queue(C_s) + prefill(new_tokens) offload_cost = queue(P_idle) + prefill(P_tokens) + RDMA_overhead Key changes: - P is now least-loaded instance (not session-sticky C_s) - Gate considers C_s queue depth dynamically - Crossover: offload wins when C_s queue >= 38k tokens (~5.4s) - Cold HEAVY requests CAN be offloaded if C_s is busy enough - P accounting uses P's actual cache hit, not C_s's Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
Python
82.9%
Shell
17.1%