this patch solves the problem by calculation an average bandwidth. - Dietmar > -----Original Message----- > From: kvm-owner@xxxxxxxxxxxxxxx [mailto:kvm-owner@xxxxxxxxxxxxxxx] 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