On Fri, Sep 1, 2023 at 9:02 AM Richard W.M. Jones <rjo...@redhat.com> wrote:

> On Fri, Sep 01, 2023 at 07:10:59AM -0500, Richard Shaw wrote:
> > Drive by comment because I found this thread interesting...
> >
> > What compression level was used for zstd? My understanding is that higher
> > levels take longer to compress but decompression time remains virtually
> the
> > same.
>
> Seems to be the default level?  Or at least it doesn't seem like it is
> being set.  Can you tell from this code:
>
>
> https://gitlab.com/qemu-project/qemu/-/blob/17780edd81d27fcfdb7a802efc870a99788bd2fc/block/qcow2-threads.c#L176


Yeah didn't see anything referencing the `compression_level` property, and
the default is 3. If compression performance doesn't matter as much I would
try increasing it to maybe 9? The levels are 1 to 22 but I'm sure there's a
diminishing return.

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to