Re: Current ULE state and plans (was Re: HMP scheduling on FreeBSD)
Konstantin Belousov <[email protected]> Thu, 29 Jan 2026 22:16:23 +0200
| Newsgroups | gmane.os.freebsd.architechture |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jan 29, 2026 at 11:58:02AM -0800, Steve Kargl wrote: > On 1/22/26 11:21, Konstantin Belousov wrote: > > Selecting an arbitrary message to reply in the thread. > > Also added arch@, perhaps hackers@ should be dropped for replies. > > > > I wrote a patch that allows to compile both ULE and 4BSD into same kernel, > > and select the scheduler at boot. See https://reviews.freebsd.org/D54831 > > First comment on the review contains important usage information and > > some special note about armv7. > > > > Kib, > > Thanks for working on this feature! I see that it > has handed in /usr/src, and I've just completed a > buildworld/buildkernel dance. > > I looked in /usr/src/UPDATING for a blurb describing > how to select the scheduler. There isn't one (as > you likely know). I assume I need to set > > kern.sched.name=ULE > > or 4BSD /boot/loader.conf. Right. The list of the available i.e. compiled in schedulers is provided by kern.sched.available. Then sysctl kern.sched.name shows the selected one.