[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: Problem on slow keystroke response - guest on Xen box


  • To: Javier Barroso <javibarroso@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Stephen Liu <satimis@xxxxxxxxx>
  • Date: Tue, 2 Dec 2008 21:47:16 +0800 (CST)
  • Cc:
  • Delivery-date: Tue, 02 Dec 2008 05:47:59 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=PjB0gQ6l1OfPe8yfk1bjopf1G5jPv59HOCwewKlVh+7pOqCLv5Lfljmof3M6ZS0XU8aRbUn1x3IjbBd5Xrn4OMAYhq2ILMb/adKSYGbv2xdLh6gBcNzjr8VBh/mWqB7ruVg6LU0Q0+9u0KD1hDenWkUr5JK8atkkgISdy1oj5eU=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

--- Javier Barroso <javibarroso@xxxxxxxxx> wrote:

> Hi Stephen (sorry, I should responsed to the list ...)


Hi Javier,


Never mind.  I'm now replying your mail cc xen-user mailing list.


> On Tue, Dec 2, 2008 at 9:36 AM, Stephen Liu <satimis@xxxxxxxxx>
> wrote:
> 
> > Hi Javier,
> >
> >
> > Thanks for your advice.
> >
> >
> > --- Javier Barroso <javibarroso@xxxxxxxxx> wrote:
> >
> > > On Fri, Nov 28, 2008 at 2:32 AM, Stephen Liu <satimis@xxxxxxxxx>
> > > wrote:
> > >
> > > > Hi folks,
> > > >
> > > >
> > > > Host - Debian Etch
> > > > Guests - Debian Etch.
> > > >
> > > >
> > > > Performed following steps to create duplicate guest, a mail
> server.
> > > >
> > > >
> > > > 1)
> > > > # cp /etc/xen/guest-1.cfg /etc/xen/guest-2.cfg
> > > >
> > > >
> > > > edit guest-2.cfg changing the settings of:-
> > > > disk =
> ['file:/vserver/domains/guest-2_directory/disk.img,hda1,w',
> > > > 'file:/vserver/domains/guest-2_directory/swap.img,hda2,w']
> > >
> > > I'd recomend lvm better than files for perfomance
> >
> >
> > Could you please explain in more detail?  Thanks.
> 
> 
> In xen list commets it:

http://lists.xensource.com/archives/cgi-bin/mesg.cgi?a=xen-users&i=ed123fa30807311235i747a62aamcfdada5860d1ea1c%40mail.gmail.com


Thanks for your link.  I have bonnie++ installed.


To check disk image on my system whether;

# mount /vserver/domains/image_directory/disk.img /media/test1


and then run;
# bonnie++ -s 5808 -d /media/test1 -u root
???

(remark : file size should be double RAM for good results)


Can I create LVM image on my system?  If YES please advise how.  TIA


- snip -


> > I don't have those directories/file here.
> >
> >
> > # find / -name udev -type d
> > # find / -name rules.d -type d
> > # locate z25_network_persistent
> >
> > All without printout.
> >
> >
> > OS - Debian Etch
> >
> >
> > > > 4)
> > > > Restart guest-2 and login with new data.  The new mail server,
> > > guest-2,
> > > > is working.
> > > >
> > > >
> > > > But occasionally I found running both guest-1 and guest-2
> > > > simultaneously slow response to keystroke will occur on either
> of
> > > them.
> > > >  I have to sit back and wait.  Please advise where shall I
> check
> > > and
> > > > how to fix this problem?  TIA
> > >
> > > Are they Only slow when you have both system up ?
> >
> >
> > Not only slow on keystroke response but the mouse pointer seems
> > vibrating not under control.  After removing the mac address on the
> > .cfg file problem gone.  Each time on starting the guest a dynamic
> mac
> > address will be assigned.
> 
> But if you write two macs diferents on cfg your machines should be
> fine,
> without a new dynamic mac every time.
> 
> With udev (xen-tools won't install it on etch) package installed:
> # cat  /etc/udev/rules.d/z25_persistent-net.rules
> # This file was automatically generated by the
> /lib/udev/write_net_rules
> # program, probably run by the persistent-net-generator.rules rules
> file.
> #
> # You can modify it, as long as you keep each rule on a single line.
> # MAC addresses must be written in lowercase.
> 
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:16:3e:22:61:ce",
> NAME="eth0"


Installed udev on repo.


# cat /etc/udev/rules.d/z25_persistent-net.rules
# This file was automatically generated by the
/lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules
file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:16:3e:64:8f:5e",
NAME="eth0"


Whether put 00:16:3e:64:8f:5e on /etc/xen/*.cfg file as;

vif  = [ 'ip=192.168.0.211', '00:16:3e:64:8f:5e' ]
???


TIA


B.R.
Stephen L




Send instant messages to your online friends http://uk.messenger.yahoo.com 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.