All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Cc: kwolf@redhat.com, berto@igalia.com, qemu-block@nongnu.org,
	qemu-devel@nongnu.org, mreitz@redhat.com,
	Denis Plotnikov <dplotnikov@virtuozzo.com>,
	den@openvz.org
Subject: Re: [PATCH v5 4/5] qcow2: add zstd cluster compression
Date: Thu, 05 Mar 2020 13:10:00 +0100	[thread overview]
Message-ID: <87eeu7f1ev.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <e95bf0d3-7caf-91a1-b8cd-615d6d1a9d9d@virtuozzo.com> (Vladimir Sementsov-Ogievskiy's message of "Thu, 5 Mar 2020 12:56:40 +0300")

Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> writes:

> 04.03.2020 16:35, Denis Plotnikov wrote:
>> zstd significantly reduces cluster compression time.
>> It provides better compression performance maintaining
>> the same level of the compression ratio in comparison with
>> zlib, which, at the moment, is the only compression
>> method available.
>>
>> The performance test results:
>> Test compresses and decompresses qemu qcow2 image with just
>> installed rhel-7.6 guest.
>> Image cluster size: 64K. Image on disk size: 2.2G
>>
>> The test was conducted with brd disk to reduce the influence
>> of disk subsystem to the test results.
>> The results is given in seconds.
>>
>> compress cmd:
>>    time ./qemu-img convert -O qcow2 -c -o compression_type=[zlib|zstd]
>>                    src.img [zlib|zstd]_compressed.img
>> decompress cmd
>>    time ./qemu-img convert -O qcow2
>>                    [zlib|zstd]_compressed.img uncompressed.img
>>
>>             compression               decompression
>>           zlib       zstd           zlib         zstd
>> ------------------------------------------------------------
>> real     65.5       16.3 (-75 %)    1.9          1.6 (-16 %)
>> user     65.0       15.8            5.3          2.5
>> sys       3.3        0.2            2.0          2.0
>>
>> Both ZLIB and ZSTD gave the same compression ratio: 1.57
>> compressed image size in both cases: 1.4G
>>
>> Signed-off-by: Denis Plotnikov <dplotnikov@virtuozzo.com>
>> QAPI part:
>> Acked-by: Markus Armbruster <armbru@redhat.com>
>> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
>
> Looks a bit like I've reviewed only QAPI part, when actually my r-b is for full patch...
>
> May be
>
> Acked-by: Markus Armbruster <armbru@redhat.com>
>           [QAPI part]
> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

No objection.

We habitually use

  Acked-by: Markus Armbruster <armbru@redhat.com>
  Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

I'm okay with that, too.



  reply	other threads:[~2020-03-05 12:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-04 13:35 [PATCH v5 0/5] qcow2: Implement zstd cluster compression method Denis Plotnikov
2020-03-04 13:35 ` [PATCH v5 1/5] block/qcow2-threads: fix qcow2_decompress Denis Plotnikov
2020-03-04 13:35 ` [PATCH v5 2/5] qcow2: introduce compression type feature Denis Plotnikov
2020-03-04 14:56   ` Markus Armbruster
2020-03-05 19:11   ` Alberto Garcia
2020-03-04 13:35 ` [PATCH v5 3/5] qcow2: rework the cluster compression routine Denis Plotnikov
2020-03-06 10:31   ` Alberto Garcia
2020-03-04 13:35 ` [PATCH v5 4/5] qcow2: add zstd cluster compression Denis Plotnikov
2020-03-05  9:56   ` Vladimir Sementsov-Ogievskiy
2020-03-05 12:10     ` Markus Armbruster [this message]
2020-03-06 10:49   ` Alberto Garcia
2020-03-04 13:35 ` [PATCH v5 5/5] iotests: 287: add qcow2 compression type test Denis Plotnikov
2020-03-11  7:31 ` [PATCH v5 0/5] qcow2: Implement zstd cluster compression method Denis Plotnikov
     [not found]   ` <55afec29-1726-c36a-6d80-3dbd1839f0a6@redhat.com>
2020-03-11 17:30     ` Eric Blake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eeu7f1ev.fsf@dusky.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=berto@igalia.com \
    --cc=den@openvz.org \
    --cc=dplotnikov@virtuozzo.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vsementsov@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.