[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 00/13] qcow2: space preallocation and COW imp
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v1 00/13] qcow2: space preallocation and COW improvements |
Date: |
Tue, 23 May 2017 09:35:08 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 05/19/2017 04:34 AM, Anton Nefedov wrote:
> This pull request is to address a few performance problems of qcow2 format:
>
> 1. non cluster-aligned write requests (to unallocated clusters) explicitly
> pad data with zeroes if there is no backing data. This can be avoided
> and the whole clusters are preallocated and zeroed in a single
> efficient write_zeroes() operation, also providing better host file
> continuity
>
> 2. moreover, efficient write_zeroes() operation can be used to preallocate
> space megabytes ahead which gives noticeable improvement on some storage
> types (e.g. distributed storages where space allocation operation is
> expensive)
>
> 3. preallocating/zeroing the clusters in advance makes possible to enable
> simultaneous writes to the same unallocated cluster, which is beneficial
> for parallel sequential write operations which are not cluster-aligned
>
> Performance test results are added to commit messages (see patch 3, 12)
And now Berto has posted parallel patches. I'm not sure which ones to
focus on, or if you can work it out between you on the best approach
forward...
https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg05236.html
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH v1 04/13] qcow2: preallocation at image expand, (continued)
- [Qemu-devel] [PATCH v1 06/13] qcow2: truncate preallocated space, Anton Nefedov, 2017/05/19
- [Qemu-devel] [PATCH v1 08/13] qcow2: handle_prealloc(): find out if area zeroed by earlier preallocation, Anton Nefedov, 2017/05/19
- [Qemu-devel] [PATCH v1 09/13] qcow2: fix misleading comment about L2 linking, Anton Nefedov, 2017/05/19
- [Qemu-devel] [PATCH v1 07/13] qcow2: check space leak at the end of the image, Anton Nefedov, 2017/05/19
- [Qemu-devel] [PATCH v1 11/13] qcow2-cluster: make handle_dependencies() logic easier to follow, Anton Nefedov, 2017/05/19
- [Qemu-devel] [PATCH v1 13/13] iotest 046: test simultaneous cluster write error case, Anton Nefedov, 2017/05/19
- [Qemu-devel] [PATCH v1 10/13] qcow2-cluster: slightly refactor handle_dependencies(), Anton Nefedov, 2017/05/19
- [Qemu-devel] [PATCH v1 12/13] qcow2: allow concurrent unaligned writes to the same clusters, Anton Nefedov, 2017/05/19
- Re: [Qemu-devel] [PATCH v1 00/13] qcow2: space preallocation and COW improvements,
Eric Blake <=