mici81 and Claude Opus 5.5
8df9240d65
sched: the preempted-prefill gate skips a KV group that holds no blocks
...
Every program carries a sentinel KV group at index 0. KVGeom reads its decl.kind 0 as RAD_KV_FULL
with block size 1, while the manager's plan for it pages nothing and owns no block. The gate
(e668d49 ) walked every group KVGeom calls paged, so for the sentinel it wanted the whole prompt,
one block a token, out of a pool of none: a preempted request was never readmitted. The bound on
the wait (33108e4 ) cannot help, since preempting running requests frees nothing in that group.
engine_e2e_test's qwen35_preemption_by_recompute_changes_no_logit hung on it (the KL recording of a
small pool: one preempted document, nothing left running); with the group skipped it passes in
0.9 s. It may also be the live request in #346 that waited 710 s with gen=0.
The gate now skips a group with no blocks (total_blocks 0), as KVManager::ensure skips a group its
plan does not page.
sched_test: a_preempted_prefill_ignores_a_kv_group_that_holds_no_blocks (a group the scheduler sees
as full and the manager as empty; the preempted request stayed Preempted after the pool emptied
before the fix). 173 cases pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-30 12:11:13 +01:00
..
2026-10-30 10:22:53 +01:00
2026-10-16 18:25:18 +02:00
2026-10-27 16:47:35 +01:00
2026-10-24 13:12:28 +02:00
2026-10-29 16:23:28 +01:00
2026-10-29 16:23:28 +01:00
2026-10-27 16:47:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-29 12:04:24 +01:00
2026-10-29 16:23:28 +01:00
2026-10-29 16:23:28 +01:00
2026-10-20 23:07:33 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-29 12:04:24 +01:00
2026-10-27 18:15:58 +01:00
2026-10-19 15:34:15 +02:00
2026-10-30 10:23:09 +01:00
2026-10-29 12:04:24 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:21:57 +01:00
2026-10-28 13:50:16 +01:00
2026-10-23 11:57:52 +02:00
2026-10-29 12:04:24 +01:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-30 10:22:53 +01:00
2026-10-16 18:25:18 +02:00
2026-10-29 12:04:24 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-29 12:04:24 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:04:01 +00:00
2026-10-20 21:05:16 +02:00
2026-10-23 11:57:52 +02:00
2026-10-28 12:48:13 +01:00
2026-10-22 11:06:34 +02:00
2026-10-22 11:06:34 +02:00
2026-10-27 16:47:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-20 23:07:33 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-25 12:09:29 +01:00
2026-10-25 10:55:27 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-29 12:04:24 +01:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 20:52:09 -05:00
2026-10-20 21:05:16 +02:00
2026-10-29 12:04:24 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-22 11:06:34 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:04:01 +00:00
2026-10-20 07:04:01 +00:00
2026-10-04 12:02:41 +02:00
2026-10-26 09:17:48 +01:00
2026-10-24 13:12:28 +02:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-16 18:25:18 +02:00
2026-10-28 13:51:45 +01:00
2026-10-20 07:04:01 +00:00
2026-10-16 18:25:18 +02:00
2026-10-28 12:40:47 +01:00
2026-10-28 12:49:18 +01:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 09:26:17 +02:00
2026-10-19 10:41:22 +02:00
2026-10-16 18:25:18 +02:00
2026-10-28 12:48:13 +01:00
2026-10-26 15:22:39 +01:00
2026-10-19 10:42:13 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-23 11:57:52 +02:00
2026-10-27 16:47:35 +01:00
2026-10-30 10:22:53 +01:00
2026-10-28 12:49:18 +01:00
2026-10-20 07:06:18 +00:00
2026-10-27 16:47:35 +01:00
2026-10-29 12:04:24 +01:00
2026-10-29 13:16:07 +01:00
2026-10-30 12:11:13 +01:00
2026-10-27 16:47:35 +01:00
2026-10-29 16:22:35 +01:00
2026-10-19 20:13:47 +02:00
2026-10-30 10:22:53 +01:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-27 18:37:28 +01:00
2026-10-27 18:37:28 +01:00
2026-10-29 16:22:35 +01:00
2026-10-21 01:00:13 +02:00
2026-10-16 18:25:18 +02:00
2026-10-29 16:23:28 +01:00
2026-10-18 11:38:37 +02:00
2026-10-29 12:04:24 +01:00
2026-10-16 18:25:18 +02:00
2026-10-29 12:04:24 +01:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:36:27 +02:00
2026-10-16 18:25:18 +02:00
2026-10-24 13:12:28 +02:00
2026-10-29 16:22:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:04:01 +00:00
2026-10-23 11:57:52 +02:00
2026-10-27 16:47:35 +01:00
2026-10-27 16:47:35 +01:00
2026-10-28 12:37:10 +01:00
2026-10-28 12:37:10 +01:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-27 18:34:32 +01:00
2026-10-16 18:25:18 +02:00