marconi_snapshot_slots

Function marconi_snapshot_slots 

Source
pub fn marconi_snapshot_slots(
    requested: usize,
    prefix_caching_active: bool,
) -> MarconiSlotDecision
Expand description

2026-09-25: Number of Marconi SSM-snapshot slots to reserve and allocate: requested (--ssm-cache-slots, default 16), or 0 when prefix caching is inactive.

The server’s preflight_reserve and TransformerModel::new (impl_a1.rs) both call this. A slot is restored from a prefix-cache match (PrefixMatch::ssm_snapshot); with prefix caching inactive the server installs NoPrefixCaching (build_prefix_cache), whose lookup returns an empty match.

METRALE_SSM_MARCONI_FULL, present with any value (0 included), keeps requested regardless.