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

[Xen-users] (XEN 3.2.1) HVM W2000K + XP DOM using nearly 100% of the XEN CPU



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


 


Rackspace

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