[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/12] migration: do not detect zero page for co
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH 06/12] migration: do not detect zero page for compression |
Date: |
Tue, 19 Jun 2018 15:30:34 +0800 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
On Mon, Jun 04, 2018 at 05:55:14PM +0800, address@hidden wrote:
> From: Xiao Guangrong <address@hidden>
>
> Detecting zero page is not a light work, we can disable it
> for compression that can handle all zero data very well
Is there any number shows how the compression algo performs better
than the zero-detect algo? Asked since AFAIU buffer_is_zero() might
be fast, depending on how init_accel() is done in util/bufferiszero.c.
>From compression rate POV of course zero page algo wins since it
contains no data (but only a flag).
Regards,
--
Peter Xu
- [Qemu-devel] [PATCH 04/12] migration: introduce migration_update_rates, (continued)
[Qemu-devel] [PATCH 07/12] migration: hold the lock only if it is really needed, guangrong . xiao, 2018/06/04
[Qemu-devel] [PATCH 08/12] migration: do not flush_compressed_data at the end of each iteration, guangrong . xiao, 2018/06/04