[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata upd
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates |
Date: |
Sun, 10 May 2015 18:10:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 10/05/2015 18:02, Stefan Weil wrote:
>> Since the default qemu-img convert case isn't slowed down, I
>> would think that correctness trumps performance. Nevertheless,
>> it's a huge difference.
>
> I doubt that the convert case isn't slowed down.
The *default* convert case isn't slowed down because "qemu-img convert"
defaults to the "unsafe" cache mode.
The *non-default* convert case with flushes was slowed down indeed: 2x
in total (if you include the final flush done by bdrv_close), and 10x if
you only consider the sequential write part of convert.
Paolo
> Writing to a tmpfs as it was obviously done for the test is not a
> typical use case.
> With real hard disks I expect a significant slowdown.
>
> Stefan
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, (continued)
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, Kevin Wolf, 2015/05/08
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, phoeagon, 2015/05/08
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, Stefan Weil, 2015/05/08
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, phoeagon, 2015/05/08
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, phoeagon, 2015/05/08
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, Stefan Weil, 2015/05/09
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, phoeagon, 2015/05/09
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, Paolo Bonzini, 2015/05/10
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, Stefan Weil, 2015/05/10
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, phoeagon, 2015/05/10
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, Stefan Weil, 2015/05/10
- Re: [Qemu-devel] [PATCH v4] block/vdi: Use bdrv_flush after metadata updates, phoeagon, 2015/05/10
Re: [Qemu-devel] [Qemu-block] [PATCH v3] block/vdi: Use bdrv_flush after metadata updates, Kevin Wolf, 2015/05/08
Re: [Qemu-devel] [PATCH v3] block/vdi: Use bdrv_flush after metadata updates, Max Reitz, 2015/05/08