Files
leleka/docs
Pavlo RatushnyiandClaude Opus 5.5 4821fc464b feat: worker pool in the control plane; two concurrent agent episodes on an iGPU and an NPU worker (STRA-220, experimental)
engine.extra_workers starts further supervised workers behind the one request channel
(control-plane/src/pool.rs). A dispatcher hands each request to an idle, ready worker,
preferring the one whose last prompt shares the longest prefix with it, so each conversation
keeps its cached prefix. It learns completion by relaying the result channel, so the worker
and its tests are unchanged. /ready and /status need every member ready. 4 dispatcher tests;
the 13 failing control-plane tests fail identically at 3ebcb3f (Windows).

Paired A/B, two scripted 4-turn episodes sent at once (Compare-ConcurrentEpisodes.ps1, 3
alternating pairs each), time until both are done:
- one iGPU worker, interleaved: 686-713 s; pool: 254-306 s, 2.33-2.73x. Mostly the second
  KV cache: the single worker re-prefilled every turn.
- one iGPU worker running the episodes in sequence: 317-342 s; pool: 292-303 s,
  1.05-1.14x. This is the second device's own share. Per-turn latency in the pool is higher.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:56:46 +02:00
..