From nobody Fri Mar 31 07:08:42 2023 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 4PnrxP6f08z423PC for ; Fri, 31 Mar 2023 07:08:57 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PnrxP09n0z4DHf for ; Fri, 31 Mar 2023 07:08:56 +0000 (UTC) (envelope-from julian@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 204.109.63.16 is neither permitted nor denied by domain of julian@freebsd.org) smtp.mailfrom=julian@freebsd.org; dmarc=none Received: from [192.168.0.18] ([73.223.42.188]) (authenticated bits=0) by vps1.elischer.org (8.17.1/8.15.2) with ESMTPSA id 32V78mGt018779 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT); Fri, 31 Mar 2023 00:08:48 -0700 (PDT) (envelope-from julian@freebsd.org) X-Authentication-Warning: vps1.elischer.org: Host [73.223.42.188] claimed to be [192.168.0.18] Message-ID: <4b92fb09-7083-f3c4-d503-f34d57d0a6d4@freebsd.org> Date: Fri, 31 Mar 2023 00:08:42 -0700 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/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: Periodic rant about SCHED_ULE To: George Mitchell , freebsd-hackers@freebsd.org References: Content-Language: en-US From: Julian Elischer In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[freebsd.org]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[julian]; ARC_NA(0.00)[]; ASN(0.00)[asn:36236, ipnet:204.109.60.0/22, country:US]; TO_DN_SOME(0.00)[]; TAGGED_RCPT(0.00)[freebsd]; MID_RHS_MATCH_FROM(0.00)[]; HAS_XAW(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PnrxP09n0z4DHf X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 3/26/23 11:24 AM, George Mitchell wrote: > On 3/25/23 23:42, Peter wrote: >> > > To oversimplify the discussion I've seen so far on this thread: > > It would be really nice if the schedulers were kernel loadable modules. > GSoC project? > > Whether SCHED_ULE or SCHED_4BSD should be the default scheduler in the > GENERIC kernel is a contentious discussion, but perhaps we need to have > that discussion.                                           -- George > When I abstracted out teh kernel scheduler ABI/API some time ago (25 years maybe?) I thought about making a loadable module but there were a lot of gotchas that stopped me. I can't even remember what they all were.  Maybe it might be more doable now.