Skip to content

SCHED_MIC: arm64 (big.LITTLE) hybrid core detection #391

Description

@laffer1

Follow-up to #346 / SCHED_MIC (#385).

#346 targeted amd64 and arm64. SCHED_MIC's core classification lives in x86 code (sys/x86/x86/mp_x86.c, CPUID-based), so on arm64 every CPU defaults to CPU_CLASS_PERF and the scheduler behaves like ULE.

Goal: populate cpu_core_class[] on arm64 big.LITTLE / DynamIQ systems (e.g. via the cpu capacity / DT capacity-dmips-mhz or MIDR core-type info) so the MI cost function in sched_mic.c applies there too. The MI side (array, cost function, sysctls) is already arch-agnostic; only detection is needed.

Relevant code: add an arm64 classifier analogous to mic_classify(); the array is cpu_core_class[] in sys/kern/sched_mic.c.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions