[pve-devel] drive-mirror, avoid pause if target storage is slow (block_set_io_throttle ? )
Alexandre DERUMIER
aderumier at odiso.com
Wed Jan 23 10:43:39 CET 2013
>> You already asked on the qemu-devel list?
Not yet.
My first tests seem to work, but I think it's difficult to find the good limit value (maybe it can be an vm config option, or param of qm move ?)
We can easily detect if target storage is too slow, $stat->{offset} goes up and down
copy 2227175424 bytes of 34359738368 bytes
copy 2227175424 bytes of 34359738368 bytes
copy 2230321152 bytes of 34359738368 bytes
copy 2236612608 bytes of 34359738368 bytes
copy 2238709760 bytes of 34359738368 bytes
copy 2248146944 bytes of 34359738368 bytes
copy 2238709760 bytes of 34359738368 bytes
copy 2236612608 bytes of 34359738368 bytes
copy 2234515456 bytes of 34359738368 bytes
copy 2234515456 bytes of 34359738368 bytes
copy 2240806912 bytes of 34359738368 bytes
copy 2243952640 bytes of 34359738368 bytes
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>, pve-devel at pve.proxmox.com
Envoyé: Mercredi 23 Janvier 2013 10:06:06
Objet: RE: [pve-devel] drive-mirror, avoid pause if target storage is slow (block_set_io_throttle ? )
> I'm looking to find a way to get block-mirror correctly finish if target is slower
> than source.
>
> Currently Michael have proposed to pause the vm,
>
> But maybe can we temporarily reduce the write speed on the source vm with
> block_set_io_throttle (bps_wr or iops_wr) ?
You already asked on the qemu-devel list?
More information about the pve-devel
mailing list