From: Gilberto Nunes Subject: Re: Remus and Kemari... Date: Thu, 21 Jan 2010 20:13:54 -0200 Message-ID: <201001212013.54936.gilberto.nunes@selbetti.com.br> References: <4B4F0581.30005@selbetti.com.br> <20100121104327.GQ2861@reaktio.net> <201001210857.37946.gilberto.nunes@selbetti.com.br> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1302539984==" Return-path: In-Reply-To: <201001210857.37946.gilberto.nunes@selbetti.com.br> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1302539984== Content-Type: multipart/alternative; boundary="Boundary-01=_iGNWLOLI00ZkzpC" Content-Transfer-Encoding: 7bit --Boundary-01=_iGNWLOLI00ZkzpC Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Well Pasi and others... I do not know whats happen... I follow each instruction contents on this ma= il=20 and other ones and remus crash again! However, I already compile Xen 3.3 testing with Kemari patch and Kemari sho= w=20 more stable that Remus.... Maybe I am wrong with this option, but I will remain with Kemari :) Thanks Em Qui 21 Jan 2010, =E0s 08:57:37, Gilberto Nunes escreveu: > Em Quinta-feira 21 Janeiro 2010, =E0s 08:43:27, Pasi K=E4rkk=E4inen escre= veu: > > On Thu, Jan 21, 2010 at 08:40:35AM -0200, Gilberto Nunes wrote: > > > Em Quinta-feira 21 Janeiro 2010, =E0s 08:16:55, voc=EA escreveu: > > > > > > Hi Pasi > > > > > > > On Thu, Jan 21, 2010 at 08:12:21AM -0200, Gilberto Nunes wrote: > > > > > Em Quarta-feira 20 Janeiro 2010, =E0s 22:20:17, Brendan Cully > > > > > escreveu: > > > > > > > > > > Hi Brendan... > > > > > > > > > > > On Thursday, 14 January 2010 at 09:52, gilberto nunes wrote: > > > > > > > I installed the Remus but had some problems. > > > > > > > He leaves the VM very slow. I'm using a partition with DRBD / > > > > > > > LVM. May even be that you say that has many layers (DRBD / LV= M) > > > > > > > that can influence on performance. > > > > > > > But the interesting thing is that when Remus is not running t= he > > > > > > > VM is light even with 512M of memory. And look what I'm talki= ng > > > > > > > about a Windows 2003 Standard Edition. > > > > > > > The Remus to stop working inexplicably (at least for me) > > > > > > > and let the VM's started in a state of the two nodes ... > > > > > > > > > > > > It's taken me a while to get Xen unstable running again, but now > > > > > > that I have I can't reproduce any of these problems with an XP > > > > > > guest. It remains responsive while Remus is running, and doesn't > > > > > > fail over unless I kill it. > > > > > > > > > > Right > > > > > > > > > > > Disk access isn't likely to make a huge performance difference > > > > > > (although I should say, simply parking a Remus VM on top of DRBD > > > > > > is not safe, since there is no way of rolling back changes that > > > > > > have been written since the most recent checkpoint). > > > > > > > > > > What you suggest... NFS! > > > > > > > > > > > It sounds like your network > > > > > > link between the primary and backup is either low capacity or > > > > > > flaky in some way, or you have a loaded dom0. > > > > > > > > > > My network between primary and backup server is a dedicate networ= k, > > > > > make with a dedicate fast ethernet switch... > > > > > > > > Not sure if Fast Ethernet is enough for Remus syncing? > > > > > > Well, I try too with crossover network cable, in Giga Ethernet, but I > > > have the same... > > > > > > > > I do not understand wath you say about that "I have a loaded dom0= ". > > > > > On fact, Xen always have a loaded dom0, right! > > > > > > > > I bet he meant "do you have high load on dom0", aka do you have high > > > > cpu usage in dom0? Try running "xm top" to figure out. And also > > > > normal "top" in dom0. > > > > > > Ok... I run xm top and get this: > > > > > > NAME > > > Domain-0 > > > > > > STATE > > > -----r > > > > > > CPU(sec) > > > 135 > > > > > > > > > CPU(%) > > > 0.6 > > > > So it's not using much CPU. >=20 > right... indeed I have just one VM running right now... My server has 8G > amount of memory and it is a Intel Xeon E3113 3.00 GHZ >=20 > > > MEM(k) > > > 7226368 > > > > > > MEM(%) > > > 86.2 > > > > Did you configure dom0_mem=3D for Xen? >=20 > Yes! It's dangerous or not!! >=20 > > See: > > http://wiki.xensource.com/xenwiki/XenBestPractices > > > > Or is there something in dom0 using all the memory for real? >=20 > no... all clean... :) >=20 > > Run "top" in dom0, and sort by memory usage by pressing shift+m. > > > > > MAXME(k) > > > no limit > > > > > > MAXMEM(%) > > > n/a > > > > > > VCPUS > > > 2 > > > > > > Something wrong!!! > > > > > > >>> I'd recommend using single-processor dom0 and guest to start with, > > > >>> and > > > >>> > > > > > > pinning the VCPUs to their own separate physical cores. > > > > > > > > > > I see. But how I do this!! I am a newbie. If you can point some > > > > > ways to me, I'll appreciate... > > > > > > > > See: > > > > http://wiki.xensource.com/xenwiki/XenCommonProblems > > > > > > > > There's a chapter called "How can I limit the number of vcpus my do= m0 > > > > has?" and "Can I dedicate a cpu core (or cores) only for dom0?" > > > > > > I see... However, this procedure do not take alway the beneficity of > > > multi- core processors to my VM's!!!! > > > > You can still use multiple cores on your VMs. > > > > If you don't want to dedicate a core only for dom0, at least configure > > the domain weights so that dom0 is guaranteed to get enough CPU time. >=20 > So, in theoretical way, Remus would running properly with this adjust > right! (sorry, I using now KDE 4 on opensuse, and I cannot yet configure > my keyboard proerly, so the dor question go always from my > board...rsrsrsr...) >=20 > Thanks for all.... >=20 > > -- Pasi > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel >=20 =2D-=20 Gilberto Nunes Ferreira Selbetti Gest=E3o de Documentos Suporte TI Telefone: +55 (47) 3441-6004 Celular: +55 (47) 8861-6672 MSN: gilbertonunesferreira@hotmail.com --Boundary-01=_iGNWLOLI00ZkzpC Content-Type: text/html; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable

Well Pasi a= nd others...

I do not kn= ow whats happen... I follow each instruction contents on this mail and othe= r ones and remus crash again!

However, I = already compile Xen 3.3 testing with Kemari patch and Kemari show more stab= le that Remus....

Maybe I am = wrong with this option, but I will remain with Kemari :)

Thanks

Em Qui 21 J= an 2010, =E0s 08:57:37, Gilberto Nunes escreveu:

> Em Qui= nta-feira 21 Janeiro 2010, =E0s 08:43:27, Pasi K=E4rkk=E4inen escreveu:

> > O= n Thu, Jan 21, 2010 at 08:40:35AM -0200, Gilberto Nunes wrote:

> > &= gt; Em Quinta-feira 21 Janeiro 2010, =E0s 08:16:55, voc=EA escreveu:

> > &= gt;

> > &= gt; Hi Pasi

> > &= gt;

> > &= gt; > On Thu, Jan 21, 2010 at 08:12:21AM -0200, Gilberto Nunes wrote:

> > &= gt; > > Em Quarta-feira 20 Janeiro 2010, =E0s 22:20:17, Brendan Cully=

> > &= gt; > > escreveu:

> > &= gt; > >

> > &= gt; > > Hi Brendan...

> > &= gt; > >

> > &= gt; > > > On Thursday, 14 January 2010 at 09:52, gilberto nunes wr= ote:

> > &= gt; > > > > I installed the Remus but had some problems.

> > &= gt; > > > > He leaves the VM very slow. I'm using a partition w= ith DRBD /

> > &= gt; > > > > LVM. May even be that you say that has many layers = (DRBD / LVM)

> > &= gt; > > > > that can influence on performance.

> > &= gt; > > > > But the interesting thing is that when Remus is not= running the

> > &= gt; > > > > VM is light even with 512M of memory. And look what= I'm talking

> > &= gt; > > > > about a Windows 2003 Standard Edition.

> > &= gt; > > > > The Remus to stop working inexplicably (at least fo= r me)

> > &= gt; > > > > and let the VM's started in a state of the two node= s ...

> > &= gt; > > >

> > &= gt; > > > It's taken me a while to get Xen unstable running again,= but now

> > &= gt; > > > that I have I can't reproduce any of these problems with= an XP

> > &= gt; > > > guest. It remains responsive while Remus is running, and= doesn't

> > &= gt; > > > fail over unless I kill it.

> > &= gt; > >

> > &= gt; > > Right

> > &= gt; > >

> > &= gt; > > > Disk access isn't likely to make a huge performance diff= erence

> > &= gt; > > > (although I should say, simply parking a Remus VM on top= of DRBD

> > &= gt; > > > is not safe, since there is no way of rolling back chang= es that

> > &= gt; > > > have been written since the most recent checkpoint).

> > &= gt; > >

> > &= gt; > > What you suggest... NFS!

> > &= gt; > >

> > &= gt; > > > It sounds like your network

> > &= gt; > > > link between the primary and backup is either low capaci= ty or

> > &= gt; > > > flaky in some way, or you have a loaded dom0.

> > &= gt; > >

> > &= gt; > > My network between primary and backup server is a dedicate ne= twork,

> > &= gt; > > make with a dedicate fast ethernet switch...

> > &= gt; >

> > &= gt; > Not sure if Fast Ethernet is enough for Remus syncing?

> > &= gt;

> > &= gt; Well, I try too with crossover network cable, in Giga Ethernet, but I

> > &= gt; have the same...

> > &= gt;

> > &= gt; > > I do not understand wath you say about that "I have a loaded = dom0".

> > &= gt; > > On fact, Xen always have a loaded dom0, right!

> > &= gt; >

> > &= gt; > I bet he meant "do you have high load on dom0", aka do you have hi= gh

> > &= gt; > cpu usage in dom0? Try running "xm top" to figure out. And also

> > &= gt; > normal "top" in dom0.

> > &= gt;

> > &= gt; Ok... I run xm top and get this:

> > &= gt;

> > &= gt; NAME

> > &= gt; Domain-0

> > &= gt;

> > &= gt; STATE

> > &= gt; -----r

> > &= gt;

> > &= gt; CPU(sec)

> > &= gt; 135

> > &= gt;

> > &= gt;

> > &= gt; CPU(%)

> > &= gt; 0.6

> >

> > S= o it's not using much CPU.

>

> right.= =2E. indeed I have just one VM running right now... My server has 8G

> amount= of memory and it is a Intel Xeon E3113 3.00 GHZ

>

> > &= gt; MEM(k)

> > &= gt; 7226368

> > &= gt;

> > &= gt; MEM(%)

> > &= gt; 86.2

> >

> > D= id you configure dom0_mem=3D for Xen?

>

> Yes! I= t's dangerous or not!!

>

> > S= ee:

> > h= ttp://wiki.xensource.com/xenwiki/XenBestPractices

> >

> > O= r is there something in dom0 using all the memory for real?

>

> no... = all clean... :)

>

> > R= un "top" in dom0, and sort by memory usage by pressing shift+m.

> >

> > &= gt; MAXME(k)

> > &= gt; no limit

> > &= gt;

> > &= gt; MAXMEM(%)

> > &= gt; n/a

> > &= gt;

> > &= gt; VCPUS

> > &= gt; 2

> > &= gt;

> > &= gt; Something wrong!!!

> > &= gt;

> > &= gt; >>> I'd recommend using single-processor dom0 and guest to sta= rt with,

> > &= gt; >>> and

> > &= gt; >>>

> > &= gt; > > > pinning the VCPUs to their own separate physical cores.<= /p>

> > &= gt; > >

> > &= gt; > > I see. But how I do this!! I am a newbie. If you can point so= me

> > &= gt; > > ways to me, I'll appreciate...

> > &= gt; >

> > &= gt; > See:

> > &= gt; > http://wiki.xensource.com/xenwiki/XenCommonProblems

> > &= gt; >

> > &= gt; > There's a chapter called "How can I limit the number of vcpus my d= om0

> > &= gt; > has?" and "Can I dedicate a cpu core (or cores) only for dom0?"

> > &= gt;

> > &= gt; I see... However, this procedure do not take alway the beneficity of

> > &= gt; multi- core processors to my VM's!!!!

> >

> > Y= ou can still use multiple cores on your VMs.

> >

> > I= f you don't want to dedicate a core only for dom0, at least configure

> > t= he domain weights so that dom0 is guaranteed to get enough CPU time.

>

> So, in= theoretical way, Remus would running properly with this adjust

> right= ! (sorry, I using now KDE 4 on opensuse, and I cannot yet configure

> my ke= yboard proerly, so the dor question go always from my

> board= =2E..rsrsrsr...)

>

> Thanks= for all....

>

> > -= =2D Pasi

> >

> >

> > _= ______________________________________________

> > X= en-devel mailing list

> > X= en-devel@lists.xensource.com

> > h= ttp://lists.xensource.com/xen-devel

>


--

Gilberto Nunes Ferreira

Selbetti Gest=E3o de Documentos

Suporte TI

Telefone: +55 (47) 3441-6004

Celular: +55 (47) 8861-6672

MSN: gilbertonunesferreira@hotmail.co= m

--Boundary-01=_iGNWLOLI00ZkzpC-- --===============1302539984== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1302539984==--