From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Remus and Kemari... Date: Thu, 21 Jan 2010 12:43:27 +0200 Message-ID: <20100121104327.GQ2861@reaktio.net> References: <4B4F0581.30005@selbetti.com.br> <201001210812.21529.gilberto.nunes@selbetti.com.br> <20100121101655.GO2861@reaktio.net> <201001210840.35666.gilberto.nunes@selbetti.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <201001210840.35666.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: Gilberto Nunes Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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: >=20 > Hi Pasi >=20 > > 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 / L= VM. > > > > > 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... > >=20 > > Not sure if Fast Ethernet is enough for Remus syncing? >=20 > Well, I try too with crossover network cable, in Giga Ethernet, but I h= ave the=20 > same... >=20 > >=20 > > > I do not understand wath you say about that "I have a loaded dom0".= On > > > fact, Xen always have a loaded dom0, right! > >=20 > > 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. >=20 > Ok... I run xm top and get this: >=20 > NAME =20 > Domain-0 >=20 > STATE=09 > -----r >=20 > CPU(sec)=20 > 135 >=20 >=20 > CPU(%) =20 > 0.6 >=20 So it's not using much CPU. > MEM(k) =20 > 7226368 >=20 > MEM(%) > 86.2 >=20 Did you configure dom0_mem=3D for Xen?=20 See: http://wiki.xensource.com/xenwiki/XenBestPractices Or is there something in dom0 using all the memory for real?=20 Run "top" in dom0, and sort by memory usage by pressing shift+m. > MAXME(k) > no limit >=20 > MAXMEM(%) > n/a >=20 > VCPUS=20 > 2 >=20 > Something wrong!!! >=20 > >>> 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 way= s to > > > me, I'll appreciate... > >=20 > > See: > > http://wiki.xensource.com/xenwiki/XenCommonProblems > >=20 > > 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?" >=20 > I see... However, this procedure do not take alway the beneficity of mu= lti- > core processors to my VM's!!!! >=20 You can still use multiple cores on your VMs. If you don't want to dedicate a core only for dom0, at least configure th= e=20 domain weights so that dom0 is guaranteed to get enough CPU time. -- Pasi