From owner-dev-commits-src-all@freebsd.org Mon Mar 8 09:44:16 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EAF3956BCED; Mon, 8 Mar 2021 09:44:15 +0000 (UTC) (envelope-from agh@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (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 "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DvD2265hjz3tdb; Mon, 8 Mar 2021 09:44:10 +0000 (UTC) (envelope-from agh@riseup.net) Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DvD203TZ8zDrL7; Mon, 8 Mar 2021 01:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1615196648; bh=9Cs97QBmWFjv33SHmenp4cBTqCK7P0cB1uIWRwIXRlw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=oVlsDCeKzX4vNnMWGj69AMADTGkZXIH65Z6IRDvLNHE0X4HIMWscpcWFSNLsA+/oe wam26U336oCGxcm3mnC8zDT59jrFae/Pl1n07do8lnzWg8e+Qq/Y7fEvc5LTsQeCs9 mfxokgMal6OSzGl1aPvC0yGsdQdHvIT1N4ISNsGc= X-Riseup-User-ID: 0A0EBF42FDD35DCF63E231CAA4A3059EAD9135C1AED763365B01EC14C05E7180 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4DvD201QXkz1xmR; Mon, 8 Mar 2021 01:44:08 -0800 (PST) MIME-Version: 1.0 Date: Mon, 08 Mar 2021 01:44:08 -0800 From: Alastair Hogge To: Cy Schubert Cc: Chris Rees , dev-commits-src-all@freebsd.org, Baptiste Daroussin , src-committers@freebsd.org, dev-commits-src-main@freebsd.org, Rick Parrish Subject: Re: git: 77e1ccbee3ed - main - rc: implement parallel boot In-Reply-To: <202103080716.1287GQWB055131@slippy.cwsent.com> References: <202102231027.11NARYYE041280@gitrepo.freebsd.org> <6D4FCE07-B996-430C-8EA8-6CB37A6DEEE8@bayofrum.net> <74fde23ead6719ac4e56dacb51bca6ed@bayofrum.net> <202103080716.1287GQWB055131@slippy.cwsent.com> Message-ID: <2ed29c1254d48c3724b944ba4a7d6f3c@riseup.net> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DvD2265hjz3tdb X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=oVlsDCeK; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of agh@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=agh@riseup.net X-Spamd-Result: default: False [-5.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.252.153.129:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[198.252.153.129:from:127.0.2.255]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEMAIL_CC(0.00)[bayofrum.net,freebsd.org,gmail.com]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[dev-commits-src-all,dev-commits-src-main] X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2021 09:44:16 -0000 On 2021-03-08 15:16, Cy Schubert wrote: > In message <74fde23ead6719ac4e56dacb51bca6ed@bayofrum.net>, Chris Rees > writes: >> Forgot to CC the actual author! >> >> On 2021-02-23 17:03, Chris Rees wrote: >> > Hi, >> > >> > On 23 February 2021 10:27:34 GMT, Baptiste Daroussin >> > wrote: >> >> The branch main has been updated by bapt: >> >> >> >> URL: >> >> https://cgit.FreeBSD.org/src/commit/?id=77e1ccbee3ed6c837929e4e232fd07f95b >> fc8294 >> >> >> >> commit 77e1ccbee3ed6c837929e4e232fd07f95bfc8294 >> >> Author: Rick Parrish >> >> AuthorDate: 2021-02-07 06:15:21 +0000 >> >> Commit: Baptiste Daroussin >> >> CommitDate: 2021-02-23 10:16:53 +0000 >> >> >> >> rc: implement parallel boot >> >> >> >> take advantage of the rcorder -p argument to implement parallel >> >> booting in rc. >> >> >> >> According to the author non scientific tests: >> >> on a Core 2 Duo with spinning disk: >> >> >> >> | Services enabled | before | after | saving | >> >> | 0 | 8s | 8s | 0 | >> >> | 1 | 13s | 13s | 0 | >> >> | 2 | 17s | 13s | 5 | >> >> | 3 | 23s | 13s | 10 | >> >> | 4 | 28s | 13s | 15 | >> >> | 5 | 33s | 13s | 20 | >> >> >> >> PR: 249192 >> >> MFC after: 3 weeks >> >> --- >> >> libexec/rc/rc | 49 ++++++++++++++++++++++++++++++++++--------------- >> >> 1 file changed, 34 insertions(+), 15 deletions(-) >> >> >> >> diff --git a/libexec/rc/rc b/libexec/rc/rc >> >> index 35db4a850516..722d7fe35884 100644 >> >> --- a/libexec/rc/rc >> >> +++ b/libexec/rc/rc >> >> @@ -91,19 +91,31 @@ if ! [ -e ${firstboot_sentinel} ]; then >> >> skip_firstboot="-s firstboot" >> >> fi >> >> >> >> +# rc_parallel_start default is "NO" >> >> +rc_parallel_start=${rc_parallel_start:-NO} >> > >> > Should this go in defaults/rc.conf? >> >> I think this should be in defaults/rc.conf-- the load_rc_config line is >> above it. >> >> Incidentally, is the plan for this to go into 13 *and* 12, or just 13? >> It's an exciting step! > > If this does go into 13 or 12, it should be tested in -CURRENT for longer > than three weeks. Probably six weeks. mountd on my NAS fails to load because unbound (via ports) is not yet responding to any name queries: [...] Starting mountd. Mar 8 02:35:13 fafnir mountd[67654]: can't get address info for host direwolf.local. Mar 8 02:35:13 fafnir mountd[67654]: bad host direwolf.local., skipping Mar 8 02:35:13 fafnir mountd[67654]: can't get address info for host nova.local. Mar 8 02:35:13 fafnir mountd[67654]: bad host nova.local., skipping Mar 8 02:35:13 fafnir mountd[67654]: can't get address info for host deimos.local. Mar 8 02:35:13 fafnir mountd[67654]: bad host deimos.local., skipping Mar 8 02:35:13 fafnir mountd[67654]: can't get address info for host koto.local. Mar 8 02:35:13 fafnir mountd[67654]: bad host koto.local., skipping Mar 8 02:35:13 fafnir mountd[67654]: bad exports list line '/exports -maproot': no valid entries Mar 8 02:35:13 fafnir mountd[67654]: can't get address info for host direwolf.local. Mar 8 02:35:13 fafnir mountd[67654]: bad host direwolf.local., skipping Mar 8 02:35:13 fafnir mountd[67654]: can't get address info for host nova.local. Mar 8 02:35:13 fafnir mountd[67654]: bad host nova.local., skipping Mar 8 02:35:13 fafnir mountd[67654]: can't get address info for host deimos.local. Mar 8 02:35:13 fafnir mountd[67654]: bad host deimos.local., skipping Mar 8 02:35:13 fafnir mountd[67654]: can't get address info for host koto.local. Mar 8 02:35:13 fafnir mountd[67654]: bad host koto.local., skipping Mar 8 02:35:13 fafnir mountd[67654]: bad exports list line 'V4: /exports direwolf.local. nova.local. deimos.local. koto.local.': no valid entries Starting nfsd. Mounting late filesystems:. Starting cron. Configuring vt: blanktime. Performing sanity check on sshd configuration. Starting sshd. [...]