qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] block: Change bdrv_commit to handle multipl


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v2] block: Change bdrv_commit to handle multiple sectors at once
Date: Mon, 19 Jul 2010 11:05:36 +0100

On Mon, Jul 19, 2010 at 10:59 AM, Kevin Wolf <address@hidden> wrote:
> bdrv_commit copies the image to its backing file sector by sector, which
> is (surprise!) relatively slow. Let's take a larger buffer and handle more
> sectors at once if possible.
>
> With a 1G qcow2 file, this brought the time bdrv_commit takes down from
> 5:06 min to 1:14 min for me.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---

Looks good.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]