Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2023 09:21:29 +0200
From:      infoomatic <infoomatic@gmx.at>
To:        freebsd-fs@freebsd.org
Subject:   Re: performance impact of various compression schemes on a zvol
Message-ID:  <c9f1b0a3-2cf8-4209-89a8-77e9b501e394@gmx.at>
In-Reply-To: <ZS8Lt5wGKc6vIRrf@int21h>
References:  <ZS8Lt5wGKc6vIRrf@int21h>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18.10.23 00:33, void wrote:
> What's the perfomance penalty on zvols of compression?
> The impact on the host?

This totally depends on your data. I did some tests on our mailserver,
and for us it boiled down to:

*) use lz4 if performance is very important, and compression rate not so
much. We found that the impact of lz4 is so fast that our workloads were
quite faster than any test without compression, so I would say you can
set lz4 in any way (lz4 is very fast on detecting incrompressible data)

*) use between zstd-6 and zstd-9 (not too much difference in our tests)
if you want a nice balance where performance is not too much affected
and we reach a nice level of compression, however, of course your
definition of "maximum performance penalty" may be different.

You could check out lzbench.


Regards,
Robert




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c9f1b0a3-2cf8-4209-89a8-77e9b501e394>