Date: Sat, 24 Feb 2024 07:41:40 +0100 From: Mark Blackman <mark@exonetric.com> To: Jo Durchholz <jo@durchholz.org> Cc: "freebsd-virtualization@FreeBSD.org" <freebsd-virtualization@freebsd.org> Subject: Re: Best way to have a FreeBSD VM for automated testing? Message-ID: <DACDE582-C124-42EE-9CAF-76C3F46F6B4E@exonetric.com> In-Reply-To: <163e57a9-0b61-414c-a8f7-109f5ac90f69@durchholz.org> References: <163e57a9-0b61-414c-a8f7-109f5ac90f69@durchholz.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <jo@durchholz.org> 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 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: = after-white-space;"><div><br><blockquote type=3D"cite"><div>On 23 Feb = 2024, at 20:17, Jo Durchholz <jo@durchholz.org> wrote:</div><br = class=3D"Apple-interchange-newline"><div><span style=3D"caret-color: = rgb(0, 0, 0); font-family: Monaco; font-size: 10px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;">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?</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: Monaco; = font-size: 10px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;"></div></blockquote></div><br><div>If an Amazon firecracker = environment works for you, there=E2=80=99s <a = href=3D"https://www.freebsd.org/status/report-2023-04-2023-06/boot-perform= ance/">https://www.freebsd.org/status/report-2023-04-2023-06/boot-performa= nce/</a> 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.<br = id=3D"lineBreakAtBeginningOfMessage"></div><div><br></div><div>- = Mark</div></body></html>= --Apple-Mail=_6B35707E-D8C1-420E-AF5E-322444DCFFB5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DACDE582-C124-42EE-9CAF-76C3F46F6B4E>