From: Gilberto Nunes Subject: Re: Remus and Kemari... Date: Thu, 21 Jan 2010 08:57:37 -0200 Message-ID: <201001210857.37946.gilberto.nunes@selbetti.com.br> References: <4B4F0581.30005@selbetti.com.br> <201001210840.35666.gilberto.nunes@selbetti.com.br> <20100121104327.GQ2861@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1005256880==" Return-path: In-Reply-To: <20100121104327.GQ2861@reaktio.net> 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 --===============1005256880== Content-Type: multipart/alternative; boundary="Boundary-01=_hMDWLJFxVjRnNTk" Content-Transfer-Encoding: 7bit --Boundary-01=_hMDWLJFxVjRnNTk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Em Quinta-feira 21 Janeiro 2010, =E0s 08:43:27, Pasi K=E4rkk=E4inen escreve= u: > 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 escre= veu: > > > > > > > > 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 / LVM) > > > > > > that can influence on performance. > > > > > > But the interesting thing is that when Remus is not running the > > > > > > VM is light even with 512M of memory. And look what I'm talking > > > > > > 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 fla= ky > > > > > in some way, or you have a loaded dom0. > > > > > > > > My network between primary and backup server is a dedicate network, > > > > 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 >=20 > So it's not using much CPU. right... indeed I have just one VM running right now... My server has 8G=20 amount of memory and it is a Intel Xeon E3113 3.00 GHZ >=20 > > MEM(k) > > 7226368 > > > > MEM(%) > > 86.2 >=20 > Did you configure dom0_mem=3D for Xen? Yes! It's dangerous or not!! >=20 > See: > http://wiki.xensource.com/xenwiki/XenBestPractices >=20 > Or is there something in dom0 using all the memory for real? no... all clean... :) > Run "top" in dom0, and sort by memory usage by pressing shift+m. >=20 > > 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 dom0 > > > 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!!!! >=20 > You can still use multiple cores on your VMs. >=20 > 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. So, in theoretical way, Remus would running properly with this adjust right= !=20 (sorry, I using now KDE 4 on opensuse, and I cannot yet configure my keyboa= rd=20 proerly, so the dor question go always from my board...rsrsrsr...) Thanks for all.... >=20 > -- Pasi >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >=20 =2D-=20 Gilberto Nunes Ferreira TI Selbetti Gest=E3o de Documentos Telefone: +55 (47) 3441-6004 Celular: +55 (47) 8861-6672=20 --Boundary-01=_hMDWLJFxVjRnNTk Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Em Quinta-f= eira 21 Janeiro 2010, =E0s 08:43:27, Pasi K=E4rkk=E4inen escreveu:

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

> > E= m Quinta-feira 21 Janeiro 2010, =E0s 08:16:55, voc=EA escreveu:

> >

> > H= i Pasi

> >

> > &= 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 escr= eveu:

> > &= gt; >

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

> > &= gt; >

> > &= gt; > > On Thursday, 14 January 2010 at 09:52, gilberto nunes wrote:<= /p>

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

> > &= gt; > > > He leaves the VM very slow. I'm using a partition with D= RBD /

> > &= 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 runn= ing 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 for me)=

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

> > &= 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 X= P

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

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

> > &= gt; >

> > &= gt; > Right

> > &= gt; >

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

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

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

> > &= gt; > > 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 capacity or= flaky

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

> > &= gt; >

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

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

> > &= gt;

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

> >

> > W= ell, I try too with crossover network cable, in Giga Ethernet, but I

> > h= ave the same...

> >

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

> > &= 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 high

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

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

> >

> > O= k... I run xm top and get this:

> >

> > N= AME

> > D= omain-0

> >

> > S= TATE

> > -= =2D---r

> >

> > C= PU(sec)

> > 1= 35

> >

> >

> > C= PU(%)

> > 0= =2E6

>

> So it'= s not using much CPU.

right... in= deed I have just one VM running right now... My server has 8G amount of mem= ory and it is a Intel Xeon E3113 3.00 GHZ

>

> > M= EM(k)

> > 7= 226368

> >

> > M= EM(%)

> > 8= 6.2

>

> Did yo= u configure dom0_mem=3D for Xen?

Yes! It's d= angerous or not!!

>

> See:

> http:/= /wiki.xensource.com/xenwiki/XenBestPractices

>

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

no... all c= lean... :)

> Run "t= op" in dom0, and sort by memory usage by pressing shift+m.

>

> > M= AXME(k)

> > n= o limit

> >

> > M= AXMEM(%)

> > n= /a

> >

> > V= CPUS

> > 2=

> >

> > S= omething wrong!!!

> >

> > &= gt;>> I'd recommend using single-processor dom0 and guest to start wi= th,

> > &= gt;>> and

> > &= gt;>>

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

> > &= gt; >

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

> > &= gt; > 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 dom0

> > &= gt; 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

> > m= ulti- core processors to my VM's!!!!

>

> You ca= n 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.

So, in theoretical way, Remus would running properly w= ith 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 bo= ard...rsrsrsr...)

Thanks for = all....

>

> -- Pas= i

>

>

> ______= _________________________________________

> Xen-de= vel mailing list

> Xen-de= vel@lists.xensource.com

> http:/= /lists.xensource.com/xen-devel

>


--

Gilberto Nu= nes Ferreira

TI

Selbetti Ge= st=E3o de Documentos

Telefone: += 55 (47) 3441-6004

Celular: +5= 5 (47) 8861-6672

--Boundary-01=_hMDWLJFxVjRnNTk-- --===============1005256880== 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 --===============1005256880==--