From nobody Tue Mar 28 10:34:33 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 4Pm5f36wphz41kJt for ; Tue, 28 Mar 2023 10:34:35 +0000 (UTC) (envelope-from loo00013@umn.edu) Received: from mta-p8.oit.umn.edu (mta-p8.oit.umn.edu [134.84.196.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pm5f301Vsz4GlZ for ; Tue, 28 Mar 2023 10:34:35 +0000 (UTC) (envelope-from loo00013@umn.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=umn.edu header.s=google header.b=Fc7hOSpp; spf=pass (mx1.freebsd.org: domain of loo00013@umn.edu designates 134.84.196.208 as permitted sender) smtp.mailfrom=loo00013@umn.edu; dmarc=pass (policy=reject) header.from=umn.edu Received: from localhost (unknown [127.0.0.1]) by mta-p8.oit.umn.edu (Postfix) with ESMTP id 4Pm5f20Klcz9vC8w for ; Tue, 28 Mar 2023 10:34:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at umn.edu Received: from mta-p8.oit.umn.edu ([127.0.0.1]) by localhost (mta-p8.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LrI3-GHnmjYw for ; Tue, 28 Mar 2023 05:34:33 -0500 (CDT) Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p8.oit.umn.edu (Postfix) with ESMTPS id 4Pm5f15csLz9vC8r for ; Tue, 28 Mar 2023 05:34:33 -0500 (CDT) DMARC-Filter: OpenDMARC Filter v1.3.2 mta-p8.oit.umn.edu 4Pm5f15csLz9vC8r DKIM-Filter: OpenDKIM Filter v2.11.0 mta-p8.oit.umn.edu 4Pm5f15csLz9vC8r Received: by mail-il1-f197.google.com with SMTP id a17-20020a921a11000000b00325f9878441so4764798ila.7 for ; Tue, 28 Mar 2023 03:34:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umn.edu; s=google; t=1679999672; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=YSCIBvy1FjCnWgxFzMyZs1+Y9VQIoWci7el2OdmimUM=; b=Fc7hOSppdZ9gePqk15Z1s3ycBxmChoVF0fHBStoNrV7TDCoYkxp78BqieyTf5pZMkM 6vY1Ox0d3NibFyXCpdCFrq/4k84lftoVwh5+PZb72YdjipDxC1HNKchVJ6NVg1daMM78 lxCT48PaSRGGixjoLHCo1po0K6ND/M0xq/+smM4Li8wiPFoxLBuVyETNk244M98yZQfj EptFM0o6+s/n9taDF5D6vyLHhof2NbMqD3MG8P+JuqqjUeJ+eBcaxJ0JrNdibDi8g4ON zzRqOMhrxth/w08VSToDJ/L+4NNdlLggQiH11hsxJFEMzREfzEqJpY3+tXzibn3Ff52Z dmBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679999672; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YSCIBvy1FjCnWgxFzMyZs1+Y9VQIoWci7el2OdmimUM=; b=Ml+0jpcXOGOx2A4CSCXrmuTlAol9Al04eDSii4EqRpCjsRnA9U5McB1i61S1iTJxym BFt0xK92p3Vy36HjTG86vxTuZRnoS8JL5miLJ+V+GxGWkUSr0sFtXJ3tIr3P7E8wiOeX Eb1Qb9s9yVlpB0jEQOTQ9K+YeLclCzvgqzGsSRnRYlWLW6L+9sPPkbJu/hdkq1wm3dAB MdjXUBWHVAT3X2VmorWGjW9pQe6zwRSEAw2xpgEOWcKKWvjYx9KQu13xFluavacuTibS XGzdDoSu/wzBXscqSqdg2BfLlrwqXU2Ab6/+m7I70EdDGLFGrPm+luf6szkCvhroQvxJ iPag== X-Gm-Message-State: AAQBX9cC4Zf7Cz6jzUk2Y/7q+OU+O+6Lt+/XBaBvLTZKE7HCKV2wUnpN WCJlfmuGYGuIeiz3S3thtiFuSsZOIbTlW7bmnbM1JaYiZqaV8GIu8YtuQmFiNgQbvedptGNwgWD l61tHS0U6jSOw7IIM1N788nNe3BepYh/mSKj8tg== X-Received: by 2002:a6b:da0e:0:b0:75c:8ca2:c9dd with SMTP id x14-20020a6bda0e000000b0075c8ca2c9ddmr1816413iob.13.1679999672640; Tue, 28 Mar 2023 03:34:32 -0700 (PDT) X-Google-Smtp-Source: AKy350YsI/0n7Ws079Y2Ly18QbC3RK3zt7nWDbDgXLz98Uo48ZBjd1v1lSlb9ktCbol6MiybmZkFog== X-Received: by 2002:a6b:da0e:0:b0:75c:8ca2:c9dd with SMTP id x14-20020a6bda0e000000b0075c8ca2c9ddmr1816400iob.13.1679999672314; Tue, 28 Mar 2023 03:34:32 -0700 (PDT) Received: from [192.168.0.67] (97-116-81-233.mpls.qwest.net. [97.116.81.233]) by smtp.gmail.com with ESMTPSA id cl4-20020a0566383d0400b003ab21c8fa84sm9520800jab.121.2023.03.28.03.34.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 03:34:31 -0700 (PDT) Message-ID: Date: Tue, 28 Mar 2023 05:34:33 -0500 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 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 From: Shaun Loo Subject: Re: Periodic rant about SCHED_ULE To: George Mitchell Cc: freebsd-hackers@freebsd.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-5.70 / 15.00]; DWL_DNSWL_LOW(-1.00)[umn.edu:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[umn.edu,reject]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:134.84.196.192/27]; R_DKIM_ALLOW(-0.20)[umn.edu:s=google]; RCVD_IN_DNSWL_MED(-0.20)[134.84.196.208:from]; MIME_GOOD(-0.10)[text/plain]; TAGGED_RCPT(0.00)[freebsd]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.166.197:received]; DKIM_TRACE(0.00)[umn.edu:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:217, ipnet:134.84.0.0/16, country:US]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-Rspamd-Queue-Id: 4Pm5f301Vsz4GlZ X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N On Sun, Mar 26, 2023 at 1:24 PM George Mitchell > wrote: On 3/25/23 23:42, Peter wrote: > Quoting George Mitchell >: > > On 3/25/23 11:47, Peter wrote: >>> You're welcome. Can I get a success/failure report? >>> >>> >>> [...] >> Thanks for your help.  Regretfully, I have to report that the patch >> did not really help in my case (make buildworld while running dnetc). >> But I have belatedly realized that it's a really good idea to use >> make -j12 to build kernels and the world.  With 4BSD and dnetc >> running, I can now buildworld in 3512 seconds (down from 20477), and >> with ULE in 14193 seconds (down from 50290).  Peter's patch got it >> down to 13755 seconds. > > Thank You for testing. So at least it doesn't make things worse. > Back then 5 years ago when I made that, I think I've seen a few > more strange things in that code, but they didn't bother me immanently > at that point. Probably there is more work to do there... 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? I'm definitely eager to put forth a GSoC project to make schedulers into kernel modules! I'll be reviewing how to write kernel modules such that I'll be in a good position when GSoC comes. I've been checking this thread on-and off for the past few days so I definitely think I'm in a good position to work on exactly this! Is anyone in this thread willing and able to be my mentor? I'll try to come up with a compelling proposal in the next couple days or so to get an application in right before the April 4th deadline. --Shaun 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