Skip to content

SCHED_MIC: task-age-aware placement (route new/burst threads to E/LP under load) #389

Description

@laffer1

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

#346 asks that, when the system is loaded, new/burst threads be steered to E/LP (or non-x3D) cores while long-running threads keep their placement. SCHED_MIC currently spills to lower classes purely by load and is task-age-blind — it does not distinguish new vs long-running threads.

Goal: use thread runtime (e.g. td_sched runtime/slptime) to bias initial placement of low-runtime threads toward efficiency cores when the system is oversubscribed, while long-running threads retain their class preference.

Relevant code: sched_pickcpu() and the cost function 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