Skip to main content

FORGE_SCRATCH_FLOOR_MB

Constant FORGE_SCRATCH_FLOOR_MB 

Source
pub const FORGE_SCRATCH_FLOOR_MB: u32 = 512;
Expand description

The microVM scratch floor WorkloadSpec::for_forge declares (MiB) — see ResourceLimits::scratch_floor_mb.

512 MiB, carried over unchanged from the ephemeral_storage_mb R885-T6 deleted, and inert by construction: the microVM backend’s own WORKSPACE_MIN_BYTES floor is 8 GiB, sixteen times this, and a floor is a max. It is preserved rather than dropped so the deletion of the field is a pure rename of a declaration and not a silent behaviour change, and so the number an operator would have to raise is visible in one place if a forge workspace ever needs to be bigger than the backend default.