SCHED_ULE(4)
SCHED_ULE(4) β ULE scheduler π
okay so bestie, this is the SCHED_ULE(4) page from the Kernel Interfaces Manual, and we're talking about the ULE scheduler. it's giving main character energy, fr fr β we are obsessed, no cap. π¦
β¨ NAME β¨
sched_ule β ULE scheduler
β¨ SYNOPSIS β¨
options SCHED_ULE
π DESCRIPTION π
okay so the sched_ule scheduler provides a number of advanced scheduler features not present in sched_4bsd(4), the traditional system scheduler. these features address SMP and interactivity and include:
- Thread CPU affinity. π§΅ your thread can have a fave CPU, lowkey.
- CPU topology awareness, including for hyper-threading. π₯οΈ it knows the vibes of your CPU layout β vibe check passed.
- Per-CPU run queues. π each CPU gets its own little queue moment.
- Interactivity heuristics that detect interactive applications and schedules them preferentially under high load. π₯ under high load, interactive apps get prioritized β periodt.
the following sysctls are relevant to the operation of sched_ule:
kern.sched.name
this read-only sysctl reports the name of the active scheduler. it's literally just telling you which scheduler is the main character rn, ngl. π
kern.sched.quantum
this read-write sysctl reports or sets the length of the quantum (in micro-seconds) granted to a thread. yes bestie, read it and write it β highkey iconic, iykyk. π
π SEE ALSO π
πΈ HISTORY πΈ
the sched_ule scheduler first appeared in FreeBSD 5.1. periodt. β¨
π AUTHORS π
Jeff Roberson <jeff@FreeBSD.org> π«Ά
source/version: Debian Β· date: August 10, 2012 Β· SCHED_ULE(4) π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2005 Robert N. M. Watson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms