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] Fwd: DomU performance problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Fwd: DomU performance problem
From: "Jia Rao" <rickenrao@xxxxxxxxx>
Date: Wed, 26 Mar 2008 12:29:26 -0400
Delivery-date: Wed, 26 Mar 2008 09:30:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=5F6sdjBqXHIqU1wyTClq/lSGqgsNTkq/UUjFpJ38jE8=; b=VysXfcuOn9l5pjuolsCNYvGtKEaMVfHPqvPJc+EXaY/e5MJ8TutcNFBflwclzSmggzov3Wnoz3MpFihjh86SO5yK4HJgZ2zEw5xrkper8q66TtjtXmNTgcDWncOBaMV9BgoHZWCyWc82FwW6oZ6s2Q8p7D/R2SZJJ2W1HkqHFDw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NwwGN0xwsL/Gzc6CHAxXFa4ZXaI2WD4Ar0XQrXEPByX+0LCs9Cy7ragXHMDyLmHKVALrtI9Hhges2qEB5fXAfR5wjPWYIP24zFtdFR6JsZSDH8YwdKjPHADP6eyPbel1SznbAKWAm3vTj0PtVcx52B0ycBPjF/FWfIuAJAe/n+4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <994429490803251659w12f0f4a6p889557e301fe0b26@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <994429490803251659w12f0f4a6p889557e301fe0b26@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
In case some of you may have the similar problem. I fixed the problem and the solution is:

The reason why the console sometimes stagenates is that the vitual MAC address is not set correctly. Followed by the suggestion in http://wiki.xensource.com/xenwiki/XenNetworking.

I changed the MAC address (both in cfg file and the /mnt/etc/sysconfig/network-scripts/ifcfg-eth0) to suggested range: 00:16:3e:xx:xx:xx
That fixed my problem.

Best,
Jia.

---------- Forwarded message ----------
From: Jia Rao <rickenrao@xxxxxxxxx>
Date: Tue, Mar 25, 2008 at 7:59 PM
Subject: DomU performance problem
To: xen-users@xxxxxxxxxxxxxxxxxxx


Hi,

I just created a para DomU by copying the OS in dom0 (I do not want to setup the environment for domU again.).
It starts up successfully, however after some time running, I find some problems.

I log into domU through "ssh", sometimes the ssh console losts its response. But it can come back again after some time and everything is OK again.
It seems that there is a performance problem in my domU (although I did not run any busy application on it, just the console.).

Does any of you have some idea? I thought it might be a network problem of disk problem. I used loopback file as the domU disk.

My machine configuration as well as the VM configuration are listed below:

CPU: Xeon 3060 2.4G dual core.
MEM: 2G. (dom0 1.5G domU 512M).
OS: CentOS 5.0 X86_64.
Xen: 3.1 compiled from source.

VM configuration:
################################################################
#
#  Configuration file for the Xen instance VM1, created on
# Thu Jan 31 22:13:01 2008.
#


#
#  Kernel + memory size
#
kernel = '/boot/vmlinuz-2.6.18-xen'

#ramdisk="/boot/initrd-xen.img"
memory  = '512'


#
#  Disk device(s).
#
root    = '/dev/xvda1 ro'

disk    = [ 'tap:aio:/home/jrao/images/VM3_para_disk.img,xvda1,w', 'tap:aio:/home/jrao/images/VM3_para_swap.img,xvda2,w']

#
#  Hostname
#
name    = 'VM3_para'
#
#  Networking
#
#dhcp = 'dhcp'
vif  = ['mac=00:1D:09:0D:A1:1C, bridge=xenbr0, ip=172.21.14.197']
gateway="172.20.1.1"
netmask="255.252.0.0"
#ip="172.21.14.196"
#vif0 = ['']
#ip = "http://172.21.4.196"
#extra='xencons=tty'
#serial="tty"
#bootloader="/usr/bin/pygrub"
#
#  Behaviour
#acpi=1
#vnc=1
#pae=1
>on_reboot   = 'restart'
on_crash    = 'restart'
###########################################################

Any help will be appreciated.

Jia.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>