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] (XEN 3.2.1) HVM W2000K + XP DOM using nearly 100% of the XEN

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] (XEN 3.2.1) HVM W2000K + XP DOM using nearly 100% of the XEN CPU
From: Alexander Junghans <xen@xxxxxxxxxxxxx>
Date: Mon, 28 Apr 2008 12:29:27 +0200
Delivery-date: Mon, 28 Apr 2008 03:27:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Organization: Leukefeld GmbH
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080227)
Hi,

I am using  for years with paravirtrual Linux domains nearly without a clue.

With HVM Domains running W2K or XP I have the problem that the virtual CPU is always nearly 100% while the guest is doing nothing. I don't know about W2003.

I see this by using xentop, showing the CPU usage or counting the cpu
seconds.

I dont know what I am doing wrong:

Is there some think I am missing with apci?
Or is this caused by missing PV Drivers?

The problem is having more then 3 HVMs running, all
is getting slow because every HVM tries to get all
the CPU,  also when idling...

XEN 3.2.1 build from Source on Debian ETCH:

<- my hvm conf ->
kernel  = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory  = '1024'
device_model='/usr/lib/xen/bin/qemu-dm'
name    = 'vstation1'
uid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9"
vcpus=2
pae=0
acpi=1
vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=br-v2, model=ne2k_pci' ]
keymap = 'de'
disk    = [ 'phy:/dev/mapper/group1-vstation1,ioemu:hda,w',
           'file:/root/xp-uni.iso,ioemu:hdd:cdrom,w' ]

boot='d'
usb = 1
usbdevice = 'tablet'
vnc=1
vncviewer=1

<- The way i buld xen ->

apt-get install iproute bridge-utils python-twisted binutils zlib1g-dev
python-dev transfig bzip2 screen ssh debootstrap libcurl3-dev
libncurses5-dev x-dev build-essential gettext

apt-get install pciutils-dev mercurial gawk less bin86 bcc elks-libc

apt-get install libc6-xen

cd /usr/src/
hg clone http://xenbits.xensource.com/xen-3.2-testing.hg
cd xen-3.2-testing.hg/

make xen
make tools
make install-xen
make install-tools

make linux-2.6-xen0-build
cp ./build-linux-2.6.18-xen0_x86_32/.config 2.6.18-xen0.config.orig

make linux-2.6-xenU-build
make linux-2.6-xenU-install
ln -s /boot/vmlinuz-2.6.18.8-xenU /boot/vmlinuz-2.6-xenU
cp ./build-linux-2.6.18-xenU_x86_32/.config 2.6.18-xenU.config.orig


<-- Kernel DOM0 -->
make linux-2.6-xen0-config CONFIGMODE=menuconfig KERNELS="linux-2.6-xen0"
make linux-2.6-xen0-build
make linux-2.6-xen0-install
depmod 2.6.18.8-xen0
<-- Kernel DOM0 -->

<-- Kernel DOMU -->
make linux-2.6-xenU-config CONFIGMODE=menuconfig KERNELS="linux-2.6-xenU"
make linux-2.6-xenU-build
make linux-2.6-xenU-install
depmod 2.6.18.8-xenU
<-- Kernel DOMU -->

apt-get install lvm2
update-grub
....

Thanks in advance!

Alexander Junghans.




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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] (XEN 3.2.1) HVM W2000K + XP DOM using nearly 100% of the XEN CPU, Alexander Junghans <=