This is a multi-part message in MIME format.
------=_NextPartTM-000-63f4ff93-f297-42cb-8e2f-bb3b2498361c
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Von: users-bounces(a)ovirt.org [users-bounces(a)ovirt.org]" im
Auftrag v=
on "Darrell Budic [budic(a)onholyground.com]=0A=
Gesendet: Freitag, 13. Februar 2015 19:03=0A=
An: Nicolas Ecarnot=0A=
Cc: users=0A=
Betreff: Re: [ovirt-users] How long do your migrations last?=0A=
=0A=
I=92m under the impression it depends more on the hosts memory assignment=
=0A=
than disk size. libvirt has to synchronize that over your networking
setu=
p. Your =0A=
times sound like mine over 1G ethernet with a 9000 MTU, most of my
machin=
es =0A=
are 1-4GB ram. I=92ve another setup with a 10G backend that can
migrate l=
arger =0A=
machines much faster. Things that do a lot of memory access
(databases, s=
ay) =0A=
or use more of their allocated memory, tend to take longer to migrate
as =
it=92s =0A=
more work for libvirt to get it synchronized.=0A=
=0A=
A 10G+ backend is the best way to speed this up, and there are libvirt va=
riables
=0A=
you can tweak to allocate more bandwidth to a migration (and the # of
sim=
ultaneous =0A=
migrations you allow). I think the defaults are 3 at max of 30% of
your a=
vailable =0A=
bandwidth. I don=92t think this takes bonds into account, so if you
have =
bonded =0A=
connections, you may be able to allocate more % or allow more
simultaneou=
s=0A=
migrations. Keep in mind that if you=92re sharing bandwidth/media
with iS=
CSI, that =0A=
some bandwidth will be needed there as well, how much depends on your
sto=
rage =0A=
load. A dedicated NIC could definitely help, especially if you=92re
tryin=
g to tune libvirt for this.=0A=
=0A=
-Darrell=0A=
=0A=
> On Feb 13, 2015, at 8:53 AM, Nicolas Ecarnot <nicolas(a)ecarnot.net> wrot=
e:=0A=
>=0A=
> Hello list,=0A=
>=0A=
> Our storage domains are iSCSI on dedicated network, and when migrating =
VMs,
the duration varies according to the size of the vDisks.=0A=
>=0A=
> The smallest VMs are migrated in about 20 seconds, while the biggest on=
e may
take more than 5 or 10 minutes.=0A=
> The average duration is 90 seconds.=0A=
>=0A=
> Questions :=0A=
>=0A=
> 1- Though I may have understood that the task of migration was made by =
the
SPM, I don't know what it actually does? (which bytes goes where)=0A=
>=0A=
> 2- Do our times sound OK, or does it look like improvable?=0A=
>=0A=
> 3- What bottleneck should I investigate? I'm thinking about the dedicat=
ed hardware NICs setup of the hosts, the SAN, the MTU has already been setu=
p at 9000...=0A=
>=0A=
> Any ideas welcomed.=0A=
>=0A=
> --=0A=
Nicolas Ecarnot=0A=
=0A=
If we speak about migration of VMs - relocating qemu process -=0A=
than speed depends mostly on memory change pressure. The=0A=
more changes per second the more restart the process needs.=0A=
Best solution to speed it up is to enlarge migration_max_bandwidth=0A=
in /etc/vdsm/vdsm.conf from default 30MB/s to something higher.=0A=
We use 150Mb/s in 10Gbit network. With default we have seen =0A=
migrations that will not come to an end.=0A=
=0A=
When talking about disks. It depends on how many disks you=0A=
have attached to a single VM. The more disks and the more =0A=
similar their sizes they are the faster you can migrate/operate=0A=
on them.=0A=
=0A=
For example take a SAP system with 3 disks of 20GB system=0A=
20 GB executables and 300GB database. When issung disk=0A=
operations (like snapshots) they will start in parallel for each disk. =0A=
Disk operations will finish earlier for smaller disks. So in the end=0A=
you will have only one operation left that may take hours.=0A=
=0A=
E.g. delete snapshot will start at ~220MB/s when running with=0A=
three disks and end at ~60MB/s when only one disk snapshot =0A=
deletion is active.=0A=
=0A=
Best regards.=0A=
=0A=
Markus=
------=_NextPartTM-000-63f4ff93-f297-42cb-8e2f-bb3b2498361c
Content-Type: text/plain;
name="InterScan_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="InterScan_Disclaimer.txt"
****************************************************************************
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
Vorstand:
Kadir Akin
Dr. Michael Höhnerbach
Vorsitzender des Aufsichtsrates:
Hans Kristian Langva
Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
executive board:
Kadir Akin
Dr. Michael Höhnerbach
President of the supervisory board:
Hans Kristian Langva
Registry office: district court Cologne
Register number: HRB 52 497
****************************************************************************
------=_NextPartTM-000-63f4ff93-f297-42cb-8e2f-bb3b2498361c--