qemu-discuss
[Top][All Lists]
Advanced

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

Re: What does qemu-img convert -W documentation mean?


From: Jakob Bohm
Subject: Re: What does qemu-img convert -W documentation mean?
Date: Wed, 26 May 2021 16:01:01 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:4.8) Goanna/20210402 Interlink/52.9.7762

On 2021-05-26 15:40, Richard W.M. Jones wrote:
Firstly there's a real interesting thread about nbdcopy vs qemu-img
convert performance:
https://listman.redhat.com/archives/libguestfs/2021-May/thread.html#00119

I have a question about qemu-img convert -W flag.  The documentation
says:

  -W  Allow out-of-order writes to the destination.  This  option  im‐
      proves performance, but is only recommended for preallocated de‐
      vices like host devices or other raw block devices.

I don't understand why out of order writes are bad for things like raw
files and qcow2 files, or for non-preallocated block devices.
Wouldn't they always be a win?

Rich.

Out of order writes to things that allocate one block at a time from the
lower layer would cause the mapping from virtual clusters to clusters at
the lower layer to befragmented, literally out of order, which hurts
performanceof future access.


Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded




reply via email to

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