Gahow Wang
6b255fad91
Unified routing: single argmin(expected_latency) over all instances
Replace two-phase routing (pick_instance → offload gate) with a single
cost function evaluated per instance:
latency(D) = queue(D) + prefill_time(D) + transfer_cost(D)
- If D has local cache: prefill = (input - local_hit) / throughput
- If D can receive PUSH from cache source: prefill = (input - push_hit) / throughput + rdma
- Otherwise: prefill = input / throughput (cold)
Choose argmin(latency). If the winner needs PUSH → trigger migration.
Removed:
- WARM/MEDIUM/HEAVY classification (no routing purpose)
- heavy_threshold, overload_factor, max_offload_inflight, cache_gate_ratio
- Interference penalty magic number (0.3)
- Separate pick_instance + offload gate stages
Only 2 measured parameters remain:
- prefill_throughput = 7000 tokens/s (H20 measured)
- rdma_overhead_s = 0.1s (RDMA PUSH measured)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-24 02:21:34 +08:00
..
2026-05-23 20:57:32 +08:00
2026-05-22 01:50:27 +08:00
2026-05-22 00:13:50 +08:00
2026-05-21 21:21:57 +08:00
2026-05-22 01:27:22 +08:00
2026-05-21 21:21:57 +08:00
2026-05-24 01:27:52 +08:00
2026-05-24 02:21:34 +08:00
2026-05-21 21:21:57 +08:00
2026-05-23 20:58:09 +08:00
2026-05-21 22:13:38 +08:00
2026-05-22 16:17:41 +08:00
2026-05-21 21:21:57 +08:00
2026-05-21 21:21:57 +08:00
2026-05-23 21:14:15 +08:00
2026-05-21 21:21:57 +08:00
2026-05-23 15:44:34 +08:00
2026-05-22 01:28:53 +08:00
2026-05-24 01:14:33 +08:00