Follow-up to #346 / SCHED_MIC (#385).
#346's acceptance criteria include a simple test/benchmark (CPU affinity / placement verification). None was committed; Intel detection was only validated ad hoc on real Alder Lake hardware (Core i7-1260P: 8 P-thread class 1, 8 E-core class 2).
Goal: add a committed test that (a) checks kern.sched.core_class classification against expected per-SKU counts and (b) verifies fill order (P -> E -> SMT sibling -> LP, and AMD cache-CCD packing with prefer_compute toggling). Could live under tests/ and/or as a tools script.
Relevant code: kern.sched.core_class and the tunables in sys/kern/sched_mic.c.
Follow-up to #346 / SCHED_MIC (#385).
#346's acceptance criteria include a simple test/benchmark (CPU affinity / placement verification). None was committed; Intel detection was only validated ad hoc on real Alder Lake hardware (Core i7-1260P: 8 P-thread class 1, 8 E-core class 2).
Goal: add a committed test that (a) checks
kern.sched.core_classclassification against expected per-SKU counts and (b) verifies fill order (P -> E -> SMT sibling -> LP, and AMD cache-CCD packing withprefer_computetoggling). Could live undertests/and/or as a tools script.Relevant code:
kern.sched.core_classand the tunables insys/kern/sched_mic.c.