Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]

> 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’s https://www.freebsd.org/status/report-2023-04-2023-06/boot-performance/ of course, there’s more to booting than the kernel. I’d guess some of those improvements could apply to more generic VM hypervisors too.

- Mark
[-- Attachment #2 --]
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br><blockquote type="cite"><div>On 23 Feb 2024, at 20:17, Jo Durchholz &lt;jo@durchholz.org&gt; wrote:</div><br class="Apple-interchange-newline"><div><span style="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="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’s&nbsp;<a href="https://www.freebsd.org/status/report-2023-04-2023-06/boot-performance/">https://www.freebsd.org/status/report-2023-04-2023-06/boot-performance/</a>&nbsp;of course, there’s more to booting than the kernel. I’d guess some of those improvements could apply to more generic VM hypervisors too.<br id="lineBreakAtBeginningOfMessage"></div><div><br></div><div>- Mark</div></body></html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DACDE582-C124-42EE-9CAF-76C3F46F6B4E>