From nobody Sat Jan 31 21:37:52 2026 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4f3R7Y42GXz6QWLG for ; Sat, 31 Jan 2026 21:38:01 +0000 (UTC) (envelope-from kargls@comcast.net) Received: from resqmta-c2p-569298.sys.comcast.net (resqmta-c2p-569298.sys.comcast.net [IPv6:2001:558:fd00:56::4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4f3R7W4hK6z3SPV for ; Sat, 31 Jan 2026 21:37:59 +0000 (UTC) (envelope-from kargls@comcast.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=comcast.net header.s=20190202a header.b="get/1RVr"; dmarc=pass (policy=reject) header.from=comcast.net; spf=pass (mx1.freebsd.org: domain of kargls@comcast.net designates 2001:558:fd00:56::4 as permitted sender) smtp.mailfrom=kargls@comcast.net Received: from resomta-c2p-555662.sys.comcast.net ([96.102.18.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-c2p-569298.sys.comcast.net with ESMTPS id mIQcvf1FT8NVumIfBvcnrW; Sat, 31 Jan 2026 21:37:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1769895473; bh=tpBvkkTpeBVJ1DPggzG4QHbfMxBVnR/gipnGpOQkvQM=; h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From: Content-Type:Xfinity-Spam-Result; b=get/1RVrgA/Y8VosAfQJS6z3BIE86nAHhlgn0W851x/un/n6aUKXUrcOvJc364prn HPCaO7tK3I+ru7AuOIoiov7Xbqx6iCysIY1N594U6fmJnahCokap6Io35iOy4APGFE a2MwBYCBATjVe7X3WikGseFsxEJmAgAdZVLAYg/HGrBQZKUU31nuoRKVsLobnbyZcT tJAnYOeKVmfdnYBqSXjvG37ffJgzV80TegOrEa7afw+sS1/VhL03cbhvajmaOyVS3A BkHI0RUda1Bfp2BN56YOlZZRlh/FF6bCKCt5l5AD4KfvOO0O1rfuFVrvDcqzWNuWZL xbcOIjMGWl63Q== Received: from [10.0.0.30] ([73.97.237.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-c2p-555662.sys.comcast.net with ESMTPSA id mIfAvdsO5HXPmmIfAvor0H; Sat, 31 Jan 2026 21:37:52 +0000 Message-ID: Date: Sat, 31 Jan 2026 13:37:52 -0800 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Selecting the scheduler from boot menu To: freebsd-hackers@freebsd.org References: Content-Language: en-US From: Steve Kargl In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfCoUvL07ymsY1qvsA0sVByMPybUNDh/Xj+MmQ7pzEcFiGkHzERmK1KdLmzFZPlffKrFieGw8IH9JUP5WMjHZILHkEqJ5fE0tF5dEwt3oPPtdLkn068Hj OagGU1oXpanDvyeXy9RS1IbpR7R1ELFU3IY707jEn7MaPI778pXDovUEJL68FfDooy5FMw8yHs+hUg== X-Spamd-Result: default: False [-1.08 / 15.00]; HFILTER_HELO_5(3.00)[resqmta-c2p-569298.sys.comcast.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.982]; DMARC_POLICY_ALLOW(-0.50)[comcast.net,reject]; R_DKIM_ALLOW(-0.20)[comcast.net:s=20190202a]; R_SPF_ALLOW(-0.20)[+ip6:2001:558:fd00:56::/64]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[2001:558:fd00:56::4:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[comcast.net]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[comcast.net]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[comcast.net:+]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US]; DWL_DNSWL_NONE(0.00)[comcast.net:dkim] X-Rspamd-Queue-Id: 4f3R7W4hK6z3SPV X-Spamd-Bar: - 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