Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2021 22:03:35 +0000
From:      Chris Rees <crees@bayofrum.net>
To:        dev-commits-src-all@freebsd.org, Baptiste Daroussin <bapt@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 77e1ccbee3ed - main - rc: implement parallel boot
Message-ID:  <6D4FCE07-B996-430C-8EA8-6CB37A6DEEE8@bayofrum.net>
In-Reply-To: <202102231027.11NARYYE041280@gitrepo.freebsd.org>
References:  <202102231027.11NARYYE041280@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 23 February 2021 10:27:34 GMT, Baptiste Daroussin <bapt@FreeBSD=2Eorg> =
wrote:
>The branch main has been updated by bapt:
>
>URL:
>https://cgit=2EFreeBSD=2Eorg/src/commit/?id=3D77e1ccbee3ed6c837929e4e232f=
d07f95bfc8294
>
>commit 77e1ccbee3ed6c837929e4e232fd07f95bfc8294
>Author:     Rick Parrish <unitrunker@gmail=2Ecom>
>AuthorDate: 2021-02-07 06:15:21 +0000
>Commit:     Baptiste Daroussin <bapt@FreeBSD=2Eorg>
>CommitDate: 2021-02-23 10:16:53 +0000
>
>    rc: implement parallel boot
>   =20
>    take advantage of the rcorder -p argument to implement parallel
>    booting in rc=2E
>   =20
>    According to the author non scientific tests:
>    on a Core 2 Duo with spinning disk:
>   =20
>    | 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     |
>   =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=2E=2E722d7fe35884 100644
>--- a/libexec/rc/rc
>+++ b/libexec/rc/rc
>@@ -91,19 +91,31 @@ if ! [ -e ${firstboot_sentinel} ]; then
> 	skip_firstboot=3D"-s firstboot"
> fi
>=20
>+# rc_parallel_start default is "NO"
>+rc_parallel_start=3D${rc_parallel_start:-NO}

Should this go in defaults/rc=2Econf?

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D4FCE07-B996-430C-8EA8-6CB37A6DEEE8>