From nobody Thu Jan 22 12:27:41 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 4dxgLv2sKLz6Pm2m for ; Thu, 22 Jan 2026 12:27:51 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dxgLt4wX4z3vKG; Thu, 22 Jan 2026 12:27:50 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; none Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 60MCRghn050579; Thu, 22 Jan 2026 04:27:48 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bsdforge.com; s=bsdforge; t=1769084868; x=1769085468; r=y; bh=2RfVcDeAvqsYSL3ncLvz+vtysXaibwH4FUBtofj4LAM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=SFOcFddO0L5hSNKPove0T6LKUEmcHOmmc7Zju1L48n6ULG89dm9EhJipOQuQwn7yW E6i3bpXlM07b58kVIpVqPpU7m70IBPJdoHt57sDSSqUwV2Z7qnQHxKiQ4DTfPHsTj0 CXizQRRJwaULtrVBgCOdwA7l/yko/6zrD00r5KKNrGQQv3UAiaQaN8H293rDmdTSGO +zrg3Xm/mJuTwglJ98vHcU21zd/EB0YRxAS6WfETRGYA9/vuaOu3LEEexkNPNHjo/G u4OI0OZAbvTHfd2/Y2Z7y6/+zzGgK3z+JbGQ9b3+7hV/CnVNKGi6PDgCxxRS7F3qQ0 nMRXKf9qIBKyA== 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 Date: Thu, 22 Jan 2026 04:27:41 -0800 From: Chris To: Olivier Certner Cc: freebsd-hackers@freebsd.org Subject: Re: Current ULE state and plans (was Re: HMP scheduling on FreeBSD) In-Reply-To: <3289267.VPuetLRq1i@ravel> References: <0Ng09S3rEB0BvT9vzHqVKU7rWxoad96kjEc7U2LCwDFJKmmswXujip7qbRlo_BIhNKcI7d-2CUHdp9Dxr3-7hhafpD6uagJSFUCjtC9qRr4=@proton.me> <3453224.qJGKkgxtO6@ravel> <3289267.VPuetLRq1i@ravel> User-Agent: UDNSMS/17.0 Message-ID: X-Sender: bsd-lists@bsdforge.com Content-Type: multipart/mixed; boundary="=_e042dd5a5895f6cf2da7c670cfca94c2" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dxgLt4wX4z3vKG --=_e042dd5a5895f6cf2da7c670cfca94c2 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2026-01-22 01:25, Olivier Certner wrote: > Hi, Hello, Oliver. I greatly appreciate you're having responded. I'd like to start by saying that this is what I heard > Once these problems are fixed, it's likely that, experiments confirming, > there won't be any more reason to keep 4BSD around. One of my personal > goals is to deprecate 4BSD in 16 if possible, as it is more and more > irrelevant on modern machines and seems too lightly tested. So let me put it another way. I *did* read the entire dialog in your first announcement -- really! But somehow, the quote above is what stood out and what I felt I needed to address. I heard all your discoveries and plans for ULE. I understand you feel that if your understanding(s) are correct. That 4BSD will no longer be relevant. I'm not convinced. I'm not an oracle. But 45 years hacking on this stuff leads me to think that one size won't fit all. But prove me wrong, I double-dog dare you. :) Seriously. I'd be only too happy to find my suspicions are wrong. I couldn't be happier that you feel you've found the time to (hopefully) address this. But if it doesn't measure up. I don't want to be left w/o another option. That's my only concern. You need metrics? As I stated in my reply here > I'd like to suggest that we take a whole other look at this and how we might > *all* make contributions to improve FreeBSDs scheduler or schedulers. > These contributions might only be to present actual use cases, and or the > results of those use cases. IOW you've got it. That was exactly the point I was attempting to make there. As to this ahem.. discussion. I don't know you and you don't know me. I guess this is how we're getting to know one another. If you did know me. You'd know that I speak directly. But please don't mistake that for attitude. Something I will readily admit, does not translate well in text. I'd love to meet you and hope to do so at one of the FreeBSD events this year. As this will be the first year I'll have a chance to attend one or more. --Chris > >> > Hmm... >> Hoowee. That's some passive aggressive stuff, right there. ;) > > Yes. And? > > My skepticism mostly comes from what you're saying, and also not saying (see > below), in this thread. But I won't hide it also comes in part from an > interaction we had about two years ago where you showed approximately the > same > traits as in this thread. > > Now reading what you wrote below, in retrospect "Hmm..." was *way* too nice. > Anyway. > >> You have gone to great lengths to indicate that you have put alot of time >> and effort into spearheading the task of improving ULE scheduling and that >> your findings will dictate it's outcome. >> Even to the demise of 4BSD: >> >> > Once these problems are fixed, it's likely that, experiments confirming, >> > there won't be any more reason to keep 4BSD around. One of my personal >> > goals is to deprecate 4BSD in 16 if possible, as it is more and more >> > irrelevant on modern machines and seems too lightly tested. >> >> You clearly have an axe to grind. > > Not at all. It's very likely you have problems with reading/understanding. > Do > you see the words "likely", "experiments confirming", "if possible", "seems" > in > your quotation? Why did I bother to write them, in your opinion? Contrast > that > with your use of "dictate". You are removing every nuance in what I said > initially, and ignoring what happened after in this thread. This is just > dishonest. > > Some of my meta-goals are to maintain schedulers to the highest quality and > lessen > the maintenance/testing burden. Perhaps I should have stated that first, > but not > sure it would have prevented you from scaring yourself. Considering > deprecating > 4BSD is a natural consequence, for reasons that I have already developed in > this > thread and that I'm not going to repeat here. > >> IMHO I find it astounding that you're so dismissive toward 4BSDs relevance. >> You're quick to dismiss anyone's suggestion to the contrary. With the >> possible exception of Steve. > > Not only are you talking past me, but now putting words in my mouth. Even > better. > Confirming my initial skepticism about your real intentions. > > I am saying that 4BSD has fundamental limitations that cannot be fixed, and > that > ULE was intended to fix. They are mostly evident in circumstances of high > load > (lots of processes being created/terminating) and in terms of interactivity. > I > already posted a couple of links in support of that. > > I've been on the contrary asking for feedback on who uses 4BSD, and why. > But, as > should have been obvious, responding just "it works better for me" is only a > small > piece of information, and not enough. Especially when this statement is > based on > tests performed years ago. > > While we are at it, here's something you did not answer: > >> > FWIW we use 4BSD exclusively on some 1,200 servers. As it has proven to >> > return the best results for our own use case, >> > as well as our clients use cases. >> >> Results measured how? When was the last time a comparison was made? > > It's almost funny that you dare accuse me of dismissing "suggestions" given: > 1. I said I would like that we go further than "suggestions", in the form of > scenarios, numbers, etc., in other words, any tangible, objective, and > ultimately > actionable data. This actually proves that I'm taking into account the > feedbacks. > 2. I've looked at the only evidence provided in this thread, Steve's, and > responded to him after a quick analysis (that I see typical symptoms of > problem > number 2; that he should test after the fixes, as they are likely to fix his > scenario for a large part, if not entirely, but we will need tests to be > 100% > sure). > 3. You don't bother to provide any details when asked to. Despite which, > I've > perfectly heard your point of view, contrary to what you're claiming. But > for > now, it is just that, an opinion and a very vague report that we are even > not sure > still applies today. > >> You have zero knowledge of anyone else's use case for choosing 4BSD over >> ULE. > > And now personal attacks. What do you know about what I know? "zero > knowledge"? > Are you sure, especially after what I answered to Steve? > >> This is not taking an objective view on scheduling. Nor does >> it make a good case for your "improvements" on ULE. > > That's your opinion, apparently based on no technical knowledge of the > matter, as > you said yourself elsewhere. > > Planned improvements to ULE are based on multiple analyses (theoretical, and > some > practical use cases). > >> But scheduling is the epitome of objectivity and nothing in this thread >> suggests >> objectivity. > > You're not really reading, and actually putting on me your very own > deficiencies. > >> I'd like to suggest that we take a whole other look at this and how we >> might >> *all* make contributions to improve FreeBSDs scheduler or schedulers. >> These contributions might only be to present actual use cases, and or the >> results of those use cases. > > A "whole other look"? Presenting actual use cases, and results? > > Are you really kidding us? > > This is what I've been asking from the start, and you didn't bother to > answer. > > Oh, excuse me, I forgot that you were not really reading. > >> A predisposition to nuke 4BSD does not suggest a >> well conceived plan for improving the scheduling/schedulers on FreeBSD. >> We may well discover that one-true-scheduler is not practical and that >> having >> several is a more realistic choice. > > Then I have a scoop for you: Nobody serious in the scheduling field has > ever > thought that there is a one-true scheduler. > > That said, a lot of OSes, including FreeBSD, have proved that, in practice, > a > single scheduler can adapt to most workloads (more or less imperfectly), and > this > is what we are aiming at with ULE. > > There are some fundamental traits that must be present for a scheduler to > deal > with highly concurrent workloads. Traits that ULE has and that 4BSD does > not > have. But scheduling does not stop there, it also relies on a lot of > important > details, some of which ULE got wrong. > > Again, same question as for Steve: Can you please explain what the point of > keeping 4BSD is if it's not better than ULE in anything (assuming we can get > to > that point, which isn't the case right now)? I have some answers of my own, > but > I'd like to hear yours. > >> It is for this reason (I assume) that we discovered that 4BSD achieved >> better >> results in "flattening" the graph than ULE. This is the reason I chose to >> defend >> 4BSD. > > Repeating my previous questions: > 1. On which metrics was this assessment based on? > 2. When was this assessment performed? > >> My concerns are pragmatic. > > This is absolutely not what you are showing so far, as far as the community > is concerned. > >> Let's "reboot" this thread. What do you say? :) > > I say it's mostly your attitude that needs a reboot. What do you think of > going > through this thread again and read it carefully with an honest mind, and > finally > becoming constructive by exposing your use case and measurements with > greater > details, instead of sneak attacks as well as suggestions and insinuations on > topics you do not have technical command of? And committing to testing ULE > again > once the fixes have been done? --=_e042dd5a5895f6cf2da7c670cfca94c2 Content-Transfer-Encoding: 7bit Content-Type: application/pgp-keys; name=0xE512722F.asc Content-Disposition: attachment; filename=0xE512722F.asc; size=3074 -----BEGIN PGP PUBLIC KEY BLOCK----- mQENBGf/G0IBCADARuJc6IcwOe3jv7dQsP1X/EIHvCFExPbTmlMNFMXbMMccQUnV o8ayEn+wmTvPhw7uL3PDk7DQs16W1sN2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