gauntlet_presets

Function gauntlet_presets 

Source
pub fn gauntlet_presets() -> Vec<TopoPreset>
Expand description

Topology presets used by gauntlet mode.

Covers topologies from tiny-1llc (4 CPUs) up to the max-cpu / max-cpu-nosmt presets (252 CPUs, near the KVM vCPU limit), spanning SMT, non-SMT (-nosmt), and multi-NUMA (numa2-*, numa4-*) families. Returned in defs / numa_defs declaration order, not by size.

The full set is returned unconditionally; the only filter applied here is the aarch64 retain below, which drops SMT presets (threads_per_core > 1) because ARM64 CPUs have no SMT (the non-SMT medium/large/max presets keep ARM64’s topology scale coverage). The multi-NUMA presets are not filtered here: the default crate::test_support::TopologyConstraints (max_numa_nodes: Some(1)) excludes them at test-selection time (via accepts / accepts_no_perf_mode) unless a test raises the bound.