WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Javier Barroso <javibarroso@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Problem on slow keystroke response - guest on Xen box
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <81c921f30812020128x79ada88ay40981e4b63ae96ec@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
--- 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

<Prev in Thread] Current Thread [Next in Thread>