Re: [ovirt-users] Problem starting VMs

Wolfgang=0D=0A >=0D=0A >=0D=0A >> -----Urspr=C3=BCngliche Nachricht----= -=0D=0A >> Von: Yaniv Kaul=C2=A0<ykaul@redhat.com <mailto:ykaul@redhat.co= m> >=0D=0A >> Gesendet: Die 23 August 2016 17:56=0D=0A >> An: Wolfgang Bu= cher <wolfgang.bucher@netland-mn.de <mailto:wolfgang.bucher@netland-mn.de=
=0D=0A >> CC: Michal Skrivanek <michal.skrivanek@redhat.com <mailto:mi= chal.skrivanek@redhat.com> >; users@ovirt.org <mailto:users@ovirt.org> (u= sers@ovirt.org <mailto:users@ovirt.org> ) <users@ovirt.org <mailto:users@= ovirt.org> >=0D=0A >>=0D=0A >> Betreff: Re: [ovirt-users] Problem startin= g VMs=0D=0A >>=0D=0A >>=0D=0A >>=0D=0A >> On Tue, Aug 23, 2016 at 6:40 PM= , Wolfgang Bucher <wolfgang.bucher@netland-mn.de <mailto:wolfgang.bucher@= netland-mn.de> > wrote:=0D=0A >>>=0D=0A >>> Hello=0D=0A >>>=0D=0A >>>=0D=0A=
in var log messages i get following :=0D=0A >>>=0D=0A >>>=0D=0A >>> = kernel: XFS: possible memory allocation deadlock in kmem_alloc (mode:0x25= 0)=0D=0A >>>=0D=0A >>>=0D=0A >>> I have this problem on 4 different hosts= =2E=0D=0A >>>=0D=0A >>>=0D=0A >>> This happens during copying files from = network to a thin provisioned disk, no problems with preallocated disks.=0D= =0A >>=0D=0A >>=0D=0A >> What kind of storage are you using=3F local stor= age=3F Even though, it makes little sense to me - the disk is a qcow2 dis= k, which shouldn't be very fragmented as you might think (qcow2 grows in = 64K chunks).=0D=0A >> It may grow and grow and grow (until you sparsify i= t), but that's not going to cause fragmentation. What causes it to be fra= gmented=3F Perhaps the internal qcow2 mapping is quite fragmented=3F=0D=0A= Y.=0D=0A >> =C2=A0=0D=0A >>>=0D=0A >>>=0D=0A >>> Thanks=0D=0A >>>=0D=0A= Wolfgang=0D=0A >>>=0D=0A >>>=0D=0A >>>> -----Urspr=C3=BCngliche Nach= richt-----=0D=0A >>>> Von: Michal Skrivanek=C2=A0<michal.skrivanek@redhat= =2Ecom <mailto:michal.skrivanek@redhat.com> >=0D=0A >>>> Gesendet: Die 23= August 2016 17:11=0D=0A >>>> An: Wolfgang Bucher <wolfgang.bucher@netlan= d-mn.de <mailto:wolfgang.bucher@netland-mn.de> >=0D=0A >>>> CC: Milan Zam= azal <mzamazal@redhat.com <mailto:mzamazal@redhat.com> >; users@ovirt.org= <mailto:users@ovirt.org> (users@ovirt.org <mailto:users@ovirt.org> ) <us= ers@ovirt.org <mailto:users@ovirt.org> >=0D=0A >>>> Betreff: Re: [ovirt-u= sers] Problem starting VMs=0D=0A >>>>=0D=0A >>>>=0D=0A >>>>> On 23 Aug 20= 16, at 11:06, Wolfgang Bucher <wolfgang.bucher@netland-mn.de <mailto:wolf= gang.bucher@netland-mn.de> > wrote:=0D=0A >>>>>=0D=0A >>>>> Thank's=0D=0A=
=0D=0A >>>>> but what do you mean with "initialization is finished=E2= =80=9D=0D=0A >>>>=0D=0A >>>>=0D=0A >>>> until it gets from WaitForLaunch = to PoweringUp state, effectively until the qemu process properly starts u=
michal=0D=0A >>>>=0D=0A >>>>>=0D=0A >>>>>=0D=0A >>>>>=0D=0A >>>>> W=
>=0D=0A >>>>>> > It's because of a high fragmented filessystem=20= =0D=0A >>>>>>=0D=0A >>>>>> I see, thank you for the explanation. In such = a case, it may take a lot=0D=0A >>>>>> of time before all the initializat= ion is finished.=0D=0A >>>>>>=0D=0A >>>>>> Regards,=0D=0A >>>>>> Milan=0D= =0A >>>>>=0D=0A >>>>> _______________________________________________=0D=0A= Users mailing list=0D=0A >>>>> Users@ovirt.org <mailto:Users@ovirt= =2Eorg>=20=0D=0A >>>>> http://lists.ovirt.org/mailman/listinfo/users <htt=
This is a multi-part message in MIME format. Your mail reader does not understand MIME message format. --=_-89LOhi9uxXuidix+NtQpnNUfCRH9Jb8wmXVxJhh7R72h1cm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello=0D=0A=0D=0A=0D=0A=0D=0Ai just changed xfs to ext4 and defragmantion= is much better then before, i will also try kernel lts from elrepo and t= est it again.=0D=0A=0D=0A=0D=0A=0D=0AThanks=0D=0A=0D=0A=0D=0A=0D=0AWolfga= ng=0D=0A=0D=0A=0D=0A=0D=0A-----Urspr=C3=BCngliche Nachricht-----=0D=0AVon= : Yaniv Kaul=C2=A0<ykaul@redhat.com>=0D=0AGesendet: Die 23 August 2016 19= :46=0D=0AAn: Wolfgang Bucher <wolfgang.bucher@netland-mn.de>=0D=0ACC: Cha= rles Gruener <cgruener@gruener.us>=0D=0ABetreff: Re: AW: [ovirt-users] Pr= oblem starting VMs=0D=0A=0D=0A=0D=0AOn Aug 23, 2016 7:33 PM, "Wolfgang Bu= cher" <wolfgang.bucher@netland-mn.de <mailto:wolfgang.bucher@netland-mn.d= e> > wrote:=0D=0A >=0D=0A > Hello=0D=0A >=0D=0A >=0D=0A > I am using loca= l storage with adaptec raid controller, disk format is raw=0D=0A=0D=0ARaw= is always raw-sparse, so that may explain this somehow, yet still odd th= at Windows installation would cause so much fragmentation.=0D=0A I wonder= if using the discard hook (and IDE or virtio-scsi) would help - or perha= ps using a qcow2 makes more sense (create a snapshot right after disk cre= ation for example).=0D=0A=0D=0A>=0D=0A >=0D=0A > image: e4d797d1-5719-48d= 0-891e-a36cd4a79c33=0D=0A > file format: raw=0D=0A > virtual size: 50G (5= 3687091200 bytes)=0D=0A > disk size: 8.5G=0D=0A >=0D=0A >=0D=0A > this is= a fresh installation of W2012 after installation i got with xfs_db -c fr= ag -r=C2=A0 /dev/sdb1:=0D=0A >=0D=0A > aktuell 407974, ideal 35, Untertei= lungsfaktor 99,99%=0D=0A=0D=0AAnd the XFS formatted with default paramete= rs=3F=0D=0A Y.=0D=0A=0D=0A>=0D=0A >=0D=0A > Thanks=0D=0A >=0D=0A >=0D=0A = p=0D=0A >>>>=0D=0A >>>>>=0D=0A >>>>> sometimes the vm crashes while copyi= ng files!=0D=0A >>>>=0D=0A >>>>=0D=0A >>>> when exactly=3F Can you descri= be exactly what you are doing and what is reported as a reason for crash.= When exactly does it crash and how=3F=0D=0A >>>>=0D=0A >>>> Thanks,=0D=0A= olfgang=0D=0A >>>>>=0D=0A >>>>>=0D=0A >>>>>> -----Urspr=C3=BCngliche Nach= richt-----=0D=0A >>>>>> Von: Milan Zamazal=C2=A0<mzamazal@redhat.com <mai= lto:mzamazal@redhat.com> >=0D=0A >>>>>> Gesendet: Die 23 August 2016 16:5= 9=0D=0A >>>>>> An: Wolfgang Bucher <wolfgang.bucher@netland-mn.de <mailto= :wolfgang.bucher@netland-mn.de> >=0D=0A >>>>>> CC: users@ovirt.org <mailt= o:users@ovirt.org> (users@ovirt.org <mailto:users@ovirt.org> ) <users@ovi= rt.org <mailto:users@ovirt.org> >=0D=0A >>>>>> Betreff: Re: AW: Problem s= tarting VMs=0D=0A >>>>>>=0D=0A >>>>>> Wolfgang Bucher <wolfgang.bucher@ne= tland-mn.de <mailto:wolfgang.bucher@netland-mn.de> > writes:=0D=0A >>>>>>= =0D=0A >>>>>> > the problem is "waiting for launch" takes up to 20 min.=0D= =0A >>>>>> >=0D=0A >>>>>> >=0D=0A >>>>>> > I did a lot of tests with some= vm's and th problem is:=0D=0A >>>>>> >=0D=0A >>>>>> >=0D=0A >>>>>> > 1.=C2= =A0 create a win2012 server=0D=0A >>>>>> >=0D=0A >>>>>> > 2. attache a ne= w disk (thin provision)=0D=0A >>>>>> >=0D=0A >>>>>> > 3. fill the disk fr= om network share with about 100G=0D=0A >>>>>> >=0D=0A >>>>>> > 4. shutdow= n the vm=0D=0A >>>>>> >=0D=0A >>>>>> > 5. reboot host and try starting th= e vm (takes a lot of time until launch)=0D=0A >>>>>> >=0D=0A >>>>>> >=0D=0A= p://lists.ovirt.org/mailman/listinfo/users>=20=0D=0A >>>>=0D=0A >>>>=0D=0A=
=0D=0A >>> _______________________________________________=0D=0A >>> = Users mailing list=0D=0A >>> Users@ovirt.org <mailto:Users@ovirt.org>=20=0D= =0A >>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt= =2Eorg/mailman/listinfo/users>=20=0D=0A >>>=0D=0A >>=0D=0A=0D=0A --=_-89LOhi9uxXuidix+NtQpnNUfCRH9Jb8wmXVxJhh7R72h1cm Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
</span></p>=0A<p style=3D"padding: 0; margin: 0;"><span style=3D"font-si= ze: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"><br /></span><= /p>=0A<p style=3D"padding: 0; margin: 0;"><span style=3D"font-size: 12pt;= font-family: tahoma,arial,helvetica,sans-serif;">Thanks<br /></span></p>= =0A<p style=3D"padding: 0; margin: 0;"><span style=3D"font-size: 12pt; fo= nt-family: tahoma,arial,helvetica,sans-serif;"><br /></span></p>=0A<p sty= le=3D"padding: 0; margin: 0;"><span style=3D"font-size: 12pt; font-family= : tahoma,arial,helvetica,sans-serif;">Wolfgang<br /></span></p>=0A<p styl= e=3D"padding: 0; margin: 0;"><span style=3D"font-size: 12pt; font-family:= tahoma,arial,helvetica,sans-serif;"><br /></span></p>=0A<blockquote styl= e=3D"border-left: 2px solid #325FBA; padding-left: 5px; margin: 0px 5px;"= <span style=3D"font-family: tahoma,arial,helvetica,sans-serif; font-size= : 10pt;">-----Ursprüngliche Nachricht-----<br /><span><strong>Von:</= strong> Yaniv Kaul <ykaul@redhat.com></span><br /><span><stron= g>Gesendet:</strong> Die 23 August 2016 19:46</span><br /><span><strong>A= n:</strong> Wolfgang Bucher <wolfgang.bucher@netland-mn.de></span><= br /><span><strong>CC:</strong> Charles Gruener <cgruener@gruener.us&g= t;</span><br /><span><strong>Betreff:</strong> Re: AW: [ovirt-users] Prob= lem starting VMs</span><br /><br /></span><!-- begin sanitized html -->=0A= <p></p>=0A<p>On Aug 23, 2016 7:33 PM, "Wolfgang Bucher" <<a href=3D"ma= ilto:wolfgang.bucher@netland-mn.de" target=3D"_blank" title=3D"Der extern= e Link wird in einem neuen Fenster geöffnet">wolfgang.bucher@netland= -mn.de</a>> wrote:<br /> ><br /> > Hello<br /> ><br /> ><b= r /> > I am using local storage with adaptec raid controller, disk for= mat is raw</p>=0A<p>Raw is always raw-sparse, so that may explain this so= mehow, yet still odd that Windows installation would cause so much fragme= ntation.<br /> I wonder if using the discard hook (and IDE or virtio-scsi= ) would help - or perhaps using a qcow2 makes more sense (create a snapsh= ot right after disk creation for example).</p>=0A<p>><br /> ><br />= > image: e4d797d1-5719-48d0-891e-a36cd4a79c33<br /> > file format:= raw<br /> > virtual size: 50G (53687091200 bytes)<br /> > disk siz= e: 8.5G<br /> ><br /> ><br /> > this is a fresh installation of = W2012 after installation i got with xfs_db -c frag -r /dev/sdb1:<br= /> ><br /> > aktuell 407974, ideal 35, Unterteilungsfaktor 99,99%<= /p>=0A<p>And the XFS formatted with default parameters=3F<br /> Y.</p>=0A= <p>><br /> ><br /> > Thanks<br /> ><br /> ><br /> > Wol= fgang<br /> ><br /> ><br /> >> -----Ursprüngliche Nachri= cht-----<br /> >> Von: Yaniv Kaul <<a href=3D"mailto:ykaul@= redhat.com" target=3D"_blank" title=3D"Der externe Link wird in einem neu= en Fenster geöffnet">ykaul@redhat.com</a>><br /> >> Gesende= t: Die 23 August 2016 17:56<br /> >> An: Wolfgang Bucher <<a hre= f=3D"mailto:wolfgang.bucher@netland-mn.de" target=3D"_blank" title=3D"Der= externe Link wird in einem neuen Fenster geöffnet">wolfgang.bucher@= netland-mn.de</a>><br /> >> CC: Michal Skrivanek <<a href=3D"= mailto:michal.skrivanek@redhat.com" target=3D"_blank" title=3D"Der extern= e Link wird in einem neuen Fenster geöffnet">michal.skrivanek@redhat= =2Ecom</a>>; <a href=3D"mailto:users@ovirt.org" target=3D"_blank" titl= e=3D"Der externe Link wird in einem neuen Fenster geöffnet">users@ov= irt.org</a> (<a href=3D"mailto:users@ovirt.org" target=3D"_blank" title=3D= "Der externe Link wird in einem neuen Fenster geöffnet">users@ovirt.= org</a>) <<a href=3D"mailto:users@ovirt.org" target=3D"_blank" title=3D= "Der externe Link wird in einem neuen Fenster geöffnet">users@ovirt.= org</a>><br /> >><br /> >> Betreff: Re: [ovirt-users] Prob= lem starting VMs<br /> >><br /> >><br /> >><br /> >&= gt; On Tue, Aug 23, 2016 at 6:40 PM, Wolfgang Bucher <<a href=3D"mailt= o:wolfgang.bucher@netland-mn.de" target=3D"_blank" title=3D"Der externe L= ink wird in einem neuen Fenster geöffnet">wolfgang.bucher@netland-mn= =2Ede</a>> wrote:<br /> >>><br /> >>> Hello<br /> &g= t;>><br /> >>><br /> >>> in var log messages i ge= t following :<br /> >>><br /> >>><br /> >>> ke= rnel: XFS: possible memory allocation deadlock in kmem_alloc (mode:0x250)= <br /> >>><br /> >>><br /> >>> I have this pro= blem on 4 different hosts.<br /> >>><br /> >>><br /> &g= t;>> This happens during copying files from network to a thin provi= sioned disk, no problems with preallocated disks.<br /> >><br /> &g= t;><br /> >> What kind of storage are you using=3F local storage= =3F Even though, it makes little sense to me - the disk is a qcow2 disk, = which shouldn't be very fragmented as you might think (qcow2 grows in 64K= chunks).<br /> >> It may grow and grow and grow (until you sparsif= y it), but that's not going to cause fragmentation. What causes it to be = fragmented=3F Perhaps the internal qcow2 mapping is quite fragmented=3F<b= r /> >> Y.<br /> >> <br /> >>><br /> >>&= gt;<br /> >>> Thanks<br /> >>><br /> >>> Wolfg= ang<br /> >>><br /> >>><br /> >>>> -----Urs=
>>>>>> ><br /> >>>>>> ><br />= >>>>>> > I did a lot of tests with some vm's and th=
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://ww= w.w3.org/TR/html4/loose.dtd"><html>=0A<head>=0A <meta name=3D"Generator"= content=3D"Zarafa WebApp v7.2.4-28">=0A <meta http-equiv=3D"Content-Typ= e" content=3D"text/html; charset=3Dutf-8">=0A <title>AW: AW: [ovirt-user= s] Problem starting VMs</title>=0A</head>=0A<body>=0A<p style=3D"padding:= 0; margin: 0;"><span style=3D"font-size: 12pt; font-family: tahoma,arial= ,helvetica,sans-serif;">Hello<br /></span></p>=0A<p style=3D"padding: 0; = margin: 0;"><span style=3D"font-size: 12pt; font-family: tahoma,arial,hel= vetica,sans-serif;"><br /></span></p>=0A<p style=3D"padding: 0; margin: 0= ;"><span style=3D"font-size: 12pt; font-family: tahoma,arial,helvetica,sa= ns-serif;">i just changed xfs to ext4 and defragmantion is much better th= en before, i will also try kernel lts from elrepo and test it again.<br /= prüngliche Nachricht-----<br /> >>>> Von: Michal Skrivan= ek <<a href=3D"mailto:michal.skrivanek@redhat.com" target=3D"_bla= nk" title=3D"Der externe Link wird in einem neuen Fenster geöffnet">= michal.skrivanek@redhat.com</a>><br /> >>>> Gesendet: Die = 23 August 2016 17:11<br /> >>>> An: Wolfgang Bucher <<a hr= ef=3D"mailto:wolfgang.bucher@netland-mn.de" target=3D"_blank" title=3D"De= r externe Link wird in einem neuen Fenster geöffnet">wolfgang.bucher= @netland-mn.de</a>><br /> >>>> CC: Milan Zamazal <<a hr= ef=3D"mailto:mzamazal@redhat.com" target=3D"_blank" title=3D"Der externe = Link wird in einem neuen Fenster geöffnet">mzamazal@redhat.com</a>&g= t;; <a href=3D"mailto:users@ovirt.org" target=3D"_blank" title=3D"Der ext= erne Link wird in einem neuen Fenster geöffnet">users@ovirt.org</a> = (<a href=3D"mailto:users@ovirt.org" target=3D"_blank" title=3D"Der extern= e Link wird in einem neuen Fenster geöffnet">users@ovirt.org</a>) &l= t;<a href=3D"mailto:users@ovirt.org" target=3D"_blank" title=3D"Der exter= ne Link wird in einem neuen Fenster geöffnet">users@ovirt.org</a>>= ;<br /> >>>> Betreff: Re: [ovirt-users] Problem starting VMs<= br /> >>>><br /> >>>><br /> >>>>> = On 23 Aug 2016, at 11:06, Wolfgang Bucher <<a href=3D"mailto:wolfgang.= bucher@netland-mn.de" target=3D"_blank" title=3D"Der externe Link wird in= einem neuen Fenster geöffnet">wolfgang.bucher@netland-mn.de</a>>= wrote:<br /> >>>>><br /> >>>>> Thank's<br = /> >>>>><br /> >>>>> but what do you mean w= ith "initialization is finished”<br /> >>>><br /> >&= gt;>><br /> >>>> until it gets from WaitForLaunch to Po= weringUp state, effectively until the qemu process properly starts up<br = /> >>>><br /> >>>>><br /> >>>>>= sometimes the vm crashes while copying files!<br /> >>>><br = /> >>>><br /> >>>> when exactly=3F Can you descri= be exactly what you are doing and what is reported as a reason for crash.= When exactly does it crash and how=3F<br /> >>>><br /> >&= gt;>> Thanks,<br /> >>>> michal<br /> >>>><= br /> >>>>><br /> >>>>><br /> >>>&= gt;><br /> >>>>> Wolfgang<br /> >>>>><br= /> >>>>><br /> >>>>>> -----Ursprün= gliche Nachricht-----<br /> >>>>>> Von: Milan Zamazal&n= bsp;<<a href=3D"mailto:mzamazal@redhat.com" target=3D"_blank" title=3D= "Der externe Link wird in einem neuen Fenster geöffnet">mzamazal@red= hat.com</a>><br /> >>>>>> Gesendet: Die 23 August 20= 16 16:59<br /> >>>>>> An: Wolfgang Bucher <<a href=3D= "mailto:wolfgang.bucher@netland-mn.de" target=3D"_blank" title=3D"Der ext= erne Link wird in einem neuen Fenster geöffnet">wolfgang.bucher@netl= and-mn.de</a>><br /> >>>>>> CC: <a href=3D"mailto:us= ers@ovirt.org" target=3D"_blank" title=3D"Der externe Link wird in einem = neuen Fenster geöffnet">users@ovirt.org</a> (<a href=3D"mailto:users= @ovirt.org" target=3D"_blank" title=3D"Der externe Link wird in einem neu= en Fenster geöffnet">users@ovirt.org</a>) <<a href=3D"mailto:user= s@ovirt.org" target=3D"_blank" title=3D"Der externe Link wird in einem ne= uen Fenster geöffnet">users@ovirt.org</a>><br /> >>>>= >> Betreff: Re: AW: Problem starting VMs<br /> >>>>>= ><br /> >>>>>> Wolfgang Bucher <<a href=3D"mailto= :wolfgang.bucher@netland-mn.de" target=3D"_blank" title=3D"Der externe Li= nk wird in einem neuen Fenster geöffnet">wolfgang.bucher@netland-mn.= de</a>> writes:<br /> >>>>>><br /> >>>>&= gt;> > the problem is "waiting for launch" takes up to 20 min.<br /= problem is:<br /> >>>>>> ><br /> >>>>&g= t;> ><br /> >>>>>> > 1. create a win2012= server<br /> >>>>>> ><br /> >>>>>>= ; > 2. attache a new disk (thin provision)<br /> >>>>>&= gt; ><br /> >>>>>> > 3. fill the disk from networ= k share with about 100G<br /> >>>>>> ><br /> >>= ;>>>> > 4. shutdown the vm<br /> >>>>>> = ><br /> >>>>>> > 5. reboot host and try starting = the vm (takes a lot of time until launch)<br /> >>>>>> = ><br /> >>>>>> ><br /> >>>>>> &= gt;<br /> >>>>>> > It's because of a high fragmented= filessystem <br /> >>>>>><br /> >>>>>&g= t; I see, thank you for the explanation. In such a case, it may take a lo= t<br /> >>>>>> of time before all the initialization is= finished.<br /> >>>>>><br /> >>>>>> = Regards,<br /> >>>>>> Milan<br /> >>>>><= br /> >>>>> ______________________________________________= _<br /> >>>>> Users mailing list<br /> >>>>>= ; <a href=3D"mailto:Users@ovirt.org" target=3D"_blank" title=3D"Der exter= ne Link wird in einem neuen Fenster geöffnet">Users@ovirt.org</a><br= /> >>>>> <a href=3D"http://lists.ovirt.org/mailman/listin= fo/users" target=3D"_blank" title=3D"Der externe Link wird in einem neuen= Fenster geöffnet">http://lists.ovirt.org/mailman/listinfo/users</a>= <br /> >>>><br /> >>>><br /> >>><br /> &= gt;>> _______________________________________________<br /> >>= ;> Users mailing list<br /> >>> <a href=3D"mailto:Users@ovirt= =2Eorg" target=3D"_blank" title=3D"Der externe Link wird in einem neuen F= enster geöffnet">Users@ovirt.org</a><br /> >>> <a href=3D"h= ttp://lists.ovirt.org/mailman/listinfo/users" target=3D"_blank" title=3D"= Der externe Link wird in einem neuen Fenster geöffnet">http://lists.= ovirt.org/mailman/listinfo/users</a><br /> >>><br /> >></p=
=0A<!-- end sanitized html --></blockquote>=0A</body>=0A</html> --=_-89LOhi9uxXuidix+NtQpnNUfCRH9Jb8wmXVxJhh7R72h1cm--
participants (1)
-
Wolfgang Bucher