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

[Xen-users] Fwd: DomU performance problem


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Jia Rao" <rickenrao@xxxxxxxxx>
  • Date: Wed, 26 Mar 2008 12:29:26 -0400
  • Delivery-date: Wed, 26 Mar 2008 09:30:00 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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