Zhong Uncle
49c50f49f7
tools: bench_eviction replays --dump-routing traces against candidate eviction policies
...
ExpertCache::admit never evicts because eviction policy is a measured
question (R4.1's LFU-decay vs LRU sweep). This is the harness for that
measurement: a policy's hit rate depends only on the order (layer,
expert) pairs were routed, which --dump-routing records, so replaying a
trace through simulated slot pools needs no GPU. fill-only (the
engine's current behaviour), lru, lfu-decay and an oracle (Belady's
MIN, the upper bound); global or R4.2g per-layer scope matching
ExpertCache::layer_slot_range; any slot count; optional profile prefill;
per-window rates, so a topic shift shows up as a per-window dip.
tools/test_bench_eviction.py runs without a GPU (14 cases): each
policy's victim choice, the per-layer quota arithmetic, the windows
split, and profile prefill order.
(PR #991 )
2026-10-07 04:07:42 +02:00
..
2026-10-06 14:59:04 +02:00
2026-10-06 15:57:38 +02:00
2026-09-27 10:18:14 +02:00
2026-10-04 02:38:16 +02:00
2026-10-07 02:33:42 +02:00
2026-10-07 04:07:42 +02:00
2026-10-06 15:57:38 +02:00
2026-09-24 18:42:20 +02:00
2026-09-30 17:52:12 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:43:28 +02:00
2026-10-03 19:29:26 +02:00
2026-10-03 18:19:49 +02:00
2026-10-03 08:04:53 +02:00
2026-10-01 08:46:48 +02:00
2026-09-24 18:42:20 +02:00
2026-09-24 18:42:20 +02:00
2026-09-30 20:36:29 +02:00
2026-10-05 15:58:35 +02:00
2026-10-05 19:57:36 +02:00
2026-10-06 15:57:38 +02:00
2026-09-24 18:42:20 +02:00
2026-09-27 10:18:14 +02:00
2026-09-28 14:53:30 +02:00
2026-09-24 18:42:20 +02:00
2026-09-27 10:18:14 +02:00
2026-10-03 18:14:59 +02:00
2026-10-01 10:31:23 +02:00
2026-10-06 15:57:38 +02:00
2026-10-07 00:01:12 +02:00
2026-10-06 14:58:47 +02:00
2026-10-06 16:35:09 +02:00
2026-10-06 15:57:38 +02:00
2026-10-06 15:57:38 +02:00
2026-10-07 03:02:55 +02:00
2026-10-05 22:46:53 +02:00
2026-10-07 04:07:42 +02:00
2026-10-06 15:57:38 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:31:46 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:31:45 +02:00
2026-09-30 16:31:44 +02:00
2026-10-03 19:29:26 +02:00
2026-10-07 03:57:38 +02:00
2026-10-03 18:19:49 +02:00
2026-10-05 15:58:35 +02:00
2026-10-03 18:14:52 +02:00
2026-10-01 08:28:45 +02:00
2026-10-07 00:01:12 +02:00
2026-10-06 14:59:03 +02:00
2026-10-05 21:44:09 +02:00
2026-10-06 16:35:09 +02:00
2026-10-05 15:58:36 +02:00
2026-10-05 15:58:35 +02:00
2026-10-03 18:19:49 +02:00
2026-10-05 15:58:36 +02:00
2026-10-05 21:48:46 +02:00
2026-10-05 22:46:53 +02:00
2026-10-06 10:03:35 +02:00
2026-10-05 15:58:36 +02:00
2026-10-01 21:03:56 +02:00
2026-10-06 15:57:38 +02:00
2026-10-03 23:35:52 +02:00
2026-10-06 15:57:39 +02:00
2026-10-04 03:36:22 +02:00
2026-10-06 15:57:38 +02:00
2026-10-06 15:57:38 +02:00
2026-10-01 20:46:19 +02:00
2026-10-04 07:57:23 +02:00
2026-10-05 22:46:53 +02:00
2026-10-07 03:57:38 +02:00
2026-10-07 03:57:38 +02:00
2026-09-30 16:31:31 +02:00
2026-10-06 14:59:03 +02:00
2026-10-05 18:33:39 +02:00
2026-10-06 15:57:38 +02:00
2026-10-03 01:58:25 +02:00
2026-10-07 03:02:55 +02:00
2026-10-06 15:57:38 +02:00
2026-10-06 15:57:38 +02:00