Re: Selecting the scheduler from boot menu

From: Steve Kargl <kargls_at_comcast.net>
Date: Sat, 31 Jan 2026 21:37:52 UTC
On 1/31/26 12:53, Mark Millard wrote:
> On 1/31/26 12:21, Steve Kargl wrote:
>> All,
>>
>> Is it possible modify the boot menu to select 4BSD or ULE
>> during the boot process?  I've looked at the code in
>> src/stand/forth, but unfortunately the language is foreign
>> to me.  Currently, one boots into FreeBSD, checks the
>> kern.sched.name, and then may need to edit /boot/loader.conf
>> to change to the other scheduler, and then reboot.
>>
> 
> Are you asking because of needing to repeatedly switch back and forth?
Yes.

One of the observations in the "Current ULE state
and plans" dog shed is that ULE should perform as
well as 4BSD, and so 4BSD should be deprecated
(which means 4BSD will bitrot).  4BSD simply works,
and in particularly, it works well in a HPC situation.

Well, if developers would like to see testing under
different loading situations, then make it easier to
switch from one scheduler to the other.

-- 
steve