[Midnightbsd-cvs] [MidnightBSD/src] 58930b: sched: raise MIC efficiency core weight

Lucas Holt noreply at github.com
Sat Jun 13 22:15:50 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 58930bfb1c859d62579380b60f5f492e587acd99
      https://github.com/MidnightBSD/src/commit/58930bfb1c859d62579380b60f5f492e587acd99
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-13 (Sat, 13 Jun 2026)

  Changed paths:
    M scheduler.md
    M sys/kern/sched_mic.c

  Log Message:
  -----------
  sched: raise MIC efficiency core weight

Set the default class-2 core penalty above the cpu_search_lowest() random tie breaker so idle performance cores reliably sort ahead of idle efficiency cores while preserving the documented order before busy SMT siblings.

Signed-off-by: Lucas Holt <luke at foolishgames.com>

AI-Assisted-by: GPT-5 Codex


  Commit: a82376157ab3b590962d2de30fa72169640257eb
      https://github.com/MidnightBSD/src/commit/a82376157ab3b590962d2de30fa72169640257eb
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-13 (Sat, 13 Jun 2026)

  Changed paths:
    M scheduler.md
    M sys/kern/sched_mic.c
    M sys/x86/x86/mp_x86.c

  Log Message:
  -----------
  sched: make MIC compute preference vendor aware

Keep prefer_compute as a runtime class-swap toggle for Intel laptops while defaulting Intel to P-core preference. For AMD asymmetric L3 systems, default non-X3D parts to the smaller-cache compute/C-core group and leave X3D parts favoring the large-cache die.

Signed-off-by: Lucas Holt <luke at foolishgames.com>

AI-Assisted-by: GPT-5 Codex


  Commit: 6fc833b95f74bc4e2e1f75d6b8136bcc9080a79d
      https://github.com/MidnightBSD/src/commit/6fc833b95f74bc4e2e1f75d6b8136bcc9080a79d
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-13 (Sat, 13 Jun 2026)

  Changed paths:
    M scheduler.md
    M sys/kern/sched_mic.c
    M sys/x86/x86/mp_x86.c

  Log Message:
  -----------
  sched: improve MIC hybrid-core repicks

Teach MIC to repick running threads only when a better idle core class is available, and add a periodic class scan so sustained CPU-bound threads can be nudged toward preferred idle cores. Keep Intel prefer_compute defaulting to P-core preference while preserving the toggle for E-core preference.

Signed-off-by: Lucas Holt <luke at foolishgames.com>

AI-Assisted-by: GPT-5 Codex


Compare: https://github.com/MidnightBSD/src/compare/0486a9122421...6fc833b95f74

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list