From nobody Sat Feb 24 06:41:40 2024 X-Original-To: freebsd-virtualization@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 4Thcjy38wJz5C8fY for ; Sat, 24 Feb 2024 06:41:58 +0000 (UTC) (envelope-from mark@exonetric.com) Received: from relay.exonetric.net (relay0.exonetric.net [178.250.72.161]) by mx1.freebsd.org (Postfix) with ESMTP id 4Thcjy0wM6z45pN for ; Sat, 24 Feb 2024 06:41:58 +0000 (UTC) (envelope-from mark@exonetric.com) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (22.pool92-172-210.dynamic.orange.es [92.172.210.22]) by relay.exonetric.net (Postfix) with ESMTPSA id 8075A2D47C; Sat, 24 Feb 2024 06:41:51 +0000 (GMT) From: Mark Blackman Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_6B35707E-D8C1-420E-AF5E-322444DCFFB5" List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: Best way to have a FreeBSD VM for automated testing? Date: Sat, 24 Feb 2024 07:41:40 +0100 In-Reply-To: <163e57a9-0b61-414c-a8f7-109f5ac90f69@durchholz.org> Cc: "freebsd-virtualization@FreeBSD.org" To: Jo Durchholz References: <163e57a9-0b61-414c-a8f7-109f5ac90f69@durchholz.org> X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12290, ipnet:178.250.72.0/21, country:GB] X-Rspamd-Queue-Id: 4Thcjy0wM6z45pN --Apple-Mail=_6B35707E-D8C1-420E-AF5E-322444DCFFB5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 23 Feb 2024, at 20:17, Jo Durchholz wrote: >=20 > I see the boot process from a vanilla VM-IMAGES image takes multiple = seconds; can this be sped up to just a few seconds, or do I need to run = the setup and create a VM snapshot at which the VM starts for each test = run? If an Amazon firecracker environment works for you, there=E2=80=99s = https://www.freebsd.org/status/report-2023-04-2023-06/boot-performance/ = of course, there=E2=80=99s more to booting than the kernel. I=E2=80=99d = guess some of those improvements could apply to more generic VM = hypervisors too. - Mark= --Apple-Mail=_6B35707E-D8C1-420E-AF5E-322444DCFFB5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On 23 Feb = 2024, at 20:17, Jo Durchholz <jo@durchholz.org> wrote:

I see = the boot process from a vanilla VM-IMAGES image takes multiple seconds; = can this be sped up to just a few seconds, or do I need to run the setup = and create a VM snapshot at which the VM starts for each test = run?

If an Amazon firecracker = environment works for you, there=E2=80=99s https://www.freebsd.org/status/report-2023-04-2023-06/boot-performa= nce/ of course, there=E2=80=99s more to booting than the = kernel. I=E2=80=99d guess some of those improvements could apply to more = generic VM hypervisors too.

- = Mark
= --Apple-Mail=_6B35707E-D8C1-420E-AF5E-322444DCFFB5--