From owner-freebsd-questions@freebsd.org Sun Sep 12 04:41:30 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 9D46A67D757 for ; Sun, 12 Sep 2021 04:41:30 +0000 (UTC) (envelope-from mark@tinka.africa) Received: from the-host.tinka.africa (the-host.tinka.africa [105.22.37.14]) (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 4H6cQ12sRNz3Cqd for ; Sun, 12 Sep 2021 04:41:29 +0000 (UTC) (envelope-from mark@tinka.africa) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tinka.africa; s=tinka; h=Content-Transfer-Encoding:Content-Type:In-Reply-To :MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=X7vMIjvw6IY5Y9KfS5x/GJQjOsZ4m63rqTl47pKQxic=; b=PUJgcA9vBzBvvGEE11VL4fYptg GIydU2Giy2znERiyIXMh5VqjE3Lqv/cEsPnaYg6v+W10TGOrwxQkZA6NKJDniL/PrpdpFnCcv7HRx cBI89gXd4CSVTgK5+wsWTIj0g4LK3Bz7DWywWDdvf4gKlI8caAnAghCtTPpHVfo9xLbJHLkNuSegi Qf+IMClDsKJOORZ9G/VZcSPv98byWmWDZf55wwyg3fosqNE7PLYgueSuENWtTDfqgoTaymREsvWG1 iEfzsSBte0wqxj5XQE/gAcnCew+GDnokta2CwwnE5me0Li0IYCeLmWriACrxBP/zb3c6ThY5XIqqI 20LPYVPQ==; Received: from [127.0.0.1] (helo=Marks-MacBook-Pro.local) by the-host.tinka.africa with esmtp (Exim 4.94) (envelope-from ) id QZB10V-0011I2-G8 for freebsd-questions@freebsd.org; Sun, 12 Sep 2021 06:41:19 +0200 Subject: Re: boot/shutdown times To: freebsd-questions@freebsd.org References: From: Mark Tinka Message-ID: <45aa7fb7-4235-5483-cbd4-059132bc730c@tinka.africa> Date: Sun, 12 Sep 2021 06:41:19 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4H6cQ12sRNz3Cqd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tinka.africa header.s=tinka header.b=PUJgcA9v; dmarc=pass (policy=none) header.from=tinka.africa; spf=pass (mx1.freebsd.org: domain of mark@tinka.africa designates 105.22.37.14 as permitted sender) smtp.mailfrom=mark@tinka.africa X-Spamd-Result: default: False [-2.15 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tinka.africa:s=tinka]; FREEFALL_USER(0.00)[mark]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:105.22.37.14]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[tinka.africa:+]; HFILTER_HELO_2(1.00)[the-host.tinka.africa]; DMARC_POLICY_ALLOW(-0.50)[tinka.africa,none]; NEURAL_HAM_SHORT(-0.15)[-0.147]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:37100, ipnet:105.16.0.0/12, country:MU]; 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: Sun, 12 Sep 2021 04:41:30 -0000 On 9/12/21 02:14, Tomasz CEDRO wrote: > My FreeBSD box boots/shutdowns quickly. I would say way faster than > Linux (i.e. (L)Ubuntu or Kali). Since I started using ZFS root I never > even had to fsck. > > I noticed that replacing HDD with SSD brings dramatic speed up to the > whole system even on older machines. M2 SSD are even faster (assuming > hardware has support for it). > > I can also see a dramatic difference in boot/shutdown/work speed of > Lubuntu Linux when working on a machine using SSD (very fast), HDD > (standard), SD card (slow), and USB3.0 Pendrive (extremely slow like > 20x slower than HDD). This also depends on kernel version and built in > configuration. > > Linux uses initramfs. That may be the source of speed up? Maybe with > FreeBSD you could put its boot and/or base into ramfs I wonder how > would that speed things up? :-) I've found that the fastest way to improve boot-up times is running FreeBSD on a VM. I don't care so much about shutdown times, even though those are pretty respectable. Mark.