this patch solves the problem by calculation an average bandwidth.

- Dietmar

> -----Original Message-----
> From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On
> Behalf Of Dietmar Maurer
> Sent: Dienstag, 29. September 2009 16:37
> To: kvm
> Subject: RE: migrate_set_downtime bug
> 
> Seems the bwidth calculation is the problem. The code simply does:
> 
> bwidth = (bytes_transferred - bytes_transferred_last) / timediff
> 
> but I assume network traffic is buffered, so calculated bwidth is
> sometimes much too high.
> 

Attachment: migrate.diff
Description: migrate.diff

Reply via email to