Skip to content

SCHED_MIC: explicit starvation/fairness safeguards #392

Description

@laffer1

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

#346 calls for explicit anti-starvation measures (fairness sweeps, per-core-class wait-time tracking, priority boosts for long-waiting threads). SCHED_MIC avoids starvation only structurally — the preference is soft and the balancer is class-blind, so lower-class cores always get used — but there is no explicit wait-time accounting or fairness sweep.

Goal: add per-core-class wait-time tracking and a periodic fairness mechanism (or confirm via testing that the soft-preference design is sufficient and document that conclusion). Validate under oversubscribed, mixed workloads.

Relevant code: 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