Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2022 21:40:21 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: zfs compression on a volume
Message-ID:  <CAOtMX2j6i6ukiXTueRh5hnocJbiL_Ca89ME8o0RS3McnWrDaTQ@mail.gmail.com>
In-Reply-To: <Y2XIpJ%2BHiBj7QcC1@openbsd.local>
References:  <Y2XIpJ%2BHiBj7QcC1@openbsd.local>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000e861e105ecb0f3e0
Content-Type: text/plain; charset="UTF-8"

The cycles are wasted because the data is incompressible.

On Fri, Nov 4, 2022, 8:21 PM void <void@f-m.fm> wrote:

> Hi fs@
>
> If a vm is created in bhyve on a freebsd host, and that vm is
> zvol-backed, and the guest itself is encrypted with for
> example lukfs(?) if it's linux, if the zvol compression
> is set to for example zstd, does the vol get compressed,
> or are cycles wasted compressing the uncompressible?
>
> TIA,
>
>

--000000000000e861e105ecb0f3e0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>The cycles are wasted because the data is incompress=
ible.<br><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_att=
r">On Fri, Nov 4, 2022, 8:21 PM void &lt;<a href=3D"mailto:void@f-m.fm">voi=
d@f-m.fm</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi fs@<br>
<br>
If a vm is created in bhyve on a freebsd host, and that vm is<br>
zvol-backed, and the guest itself is encrypted with for<br>
example lukfs(?) if it&#39;s linux, if the zvol compression<br>
is set to for example zstd, does the vol get compressed,<br>
or are cycles wasted compressing the uncompressible?<br>
<br>
TIA,<br>
<br>
</blockquote></div></div></div>

--000000000000e861e105ecb0f3e0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2j6i6ukiXTueRh5hnocJbiL_Ca89ME8o0RS3McnWrDaTQ>