From owner-freebsd-questions@freebsd.org Mon Oct 4 13:39:37 2021 Return-Path: Delivered-To: freebsd-questions@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 83F8967EB68 for ; Mon, 4 Oct 2021 13:39:37 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HNMJm2N7Jz4nMj for ; Mon, 4 Oct 2021 13:39:36 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id 00703A1073 for ; Mon, 4 Oct 2021 14:39:28 +0100 (BST) Subject: Boot time improvements [Was: Re: boot/shutdown times] From: Arthur Chance To: FreeBSD-Questions References: <0b6bde6f-a27b-134c-8671-f8e5784319ea@qeng-ho.org> Message-ID: <6534df0f-e41e-5b6f-0dc3-32fb5357e415@qeng-ho.org> Date: Mon, 4 Oct 2021 14:39:26 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <0b6bde6f-a27b-134c-8671-f8e5784319ea@qeng-ho.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HNMJm2N7Jz4nMj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.244 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-2.70 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[qeng-ho.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.40)[-0.398]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2021 13:39:37 -0000 On 12/09/2021 14:02, Arthur Chance wrote: > On 12/09/2021 14:00, Arthur Chance wrote: >> On 12/09/2021 00:34, Brian Wood wrote: >>> I haven't measured, but it seems like boot and shutdown times >>> have improved over the years, but that they are still a lot slower >>> than Linux. Is there more that can be done to improve these >>> times? Thanks. >> >> I don't know about shutdown times, but Colin Percival has been doing a >> lot of work on boot times lately. Take a look at his recent Twitter feed >> (@cperciva), including entries like this >> >> https://twitter.com/cperciva/status/1435719945912868864 >> >> and this >> >> https://twitter.com/cperciva/status/1436452578536013828 >> > > [Forgot to copy reply to questions@] > > and also > > https://twitter.com/cperciva/status/1434743398489935875 > > https://twitter.com/cperciva/status/1435417195505278977 > As a follow up to that, a tweet from Colin (https://twitter.com/cperciva/status/1444910673893355525) a few hours ago says "Loader and kernel are around 2.7 seconds now. There's a breakdown of that time on the wiki: https://wiki.freebsd.org/BootTime" That's on an AWS c5.xlarge instance which he's using as a standard. I'm looking forward to seeing this work appearing in RELEASE in the future. -- Nothing teaches one not to try to stamp out burning thermite quite like real-life experience. — James Davis Nicoll