Archived
One block table serves every rank, and Engine::serve refuses ranks whose paged groups hold different block counts. Under the even split that was a check that never fired: the ranks' pools had the same geometry and the same bytes. Under the attention world they do not. A rank with 6 of 16 delta-net heads holds more recurrent state than one with 5 and has less pool left for pages; the attention-zero rank has no attention weights and has more. Three ranks over Flash-Next carved 136256, 142352 and more, and the serve was refused. KVManager::paged_split is the carve's paged arithmetic with nothing carved -- the token count the paged groups exhaust at together for a pool of so many bytes, a windowed group capped at its window -- and carve_into spends what it says. paged_tokens asks it; cap_paged_tokens sets a ceiling it keeps under. Engine::configure_kv plans every rank first, asks each what it could page, and caps every rank at the least before any carves; a rank that could have paged more says so at info. At an even split the cap is what every rank would have carved. mem_test: kv_ranks_with_unequal_pools_carve_the_least_ranks_blocks_under_a_cap.