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] Poor disk I/O with HVM stub domains

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Poor disk I/O with HVM stub domains
From: Brian Conway <xen@xxxxxxx>
Date: Thu, 9 Apr 2009 23:30:05 -0400
Delivery-date: Thu, 09 Apr 2009 20:30:57 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from:to :subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=KckT0Ir1mQafCXg9mRvnjc7zERX+bQZH5+NU4BJRhG4=; b=v1VoQHBnBVOOVgEnpxL0DOasQ813p4ruZJROlN2xUrlWnW0mlJWFEdg7wa5+hYUHlq n8rfRdWZXpSOKBinpD3/Yt0XnUZ3HhpACu5lKhFu006tBysu1AnferIxadBMumkHCeIg 4uW+UeZ7QiFxD0ye8vAFA5pq6Fu3kxM43XMfw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=mwCNCUvBL5F9z0giszo0EwTiSW5U8yrAnQ/l8VGnu4isU+bGxOO5cEjh0Ho1HU/eyV 6TL36C4291lV6nYUMd+qekSYDAmzRrUTTtiPrOst7yCIrIHD4nTyWol5BGBNLQJe+k/6 9w/MTRFD3DbtRiUbqiniCdb7CSlB2IPWwlMyg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Greetings.  I'm running Xen 3.3.1 on Debian Lenny with the packaged
2.6.26 dom0 kernel on amd64.  Based on some reading [1], I've been lead
to believe HVM device model domains can be a performance win, so I did
some testing on my setup (Intel E8400, 8 GB, single Seagate ES.2 drive,
idle dom0 and WinXP domU).  After following the stubdom README, I saw a
big performance drop-off immediately, so maybe my configuration needs
work.  A quick sequential read/write test with ATTO is below, as well as
configuration files.  The XP instances in question are all clean installs
with indexing turned off and otherwise idle (no significant CPU or disk
utilization).  Prior to jumping into stub domains, this setup has been
100% stable.

Native: http://www.zxvf.us/images/atto-native.jpg

HVM + tap:aio: http://www.zxvf.us/images/atto-hvm-tapaio.jpg

HVM + file:/: http://www.zxvf.us/images/atto-hvm-file.jpg

HVM + tap:aio + stubdom: http://www.zxvf.us/images/atto-hvm-tapaio-stubdom.jpg

HVM + file:/ + stubdom: repeatable blue screen on boot (Partmgr.sys)

-----
# cat winxptest 
kernel = "/usr/lib/xen/boot/hvmloader"
builder = "hvm"
name = "winxptest"
memory = "512"
disk = [ 'tap:aio:/home/xen/winxptest.img,ioemu:hda,w', ]
vif = [ 'type=ioemu,bridge=eth0', ]
vfb = ['type=vnc,vncunused=1']
localtime = 1
boot = "c"
on_reboot = 'restart'
on_crash = 'destroy'
-----
# cat winxpstub
kernel = "/usr/lib/xen/boot/hvmloader"
builder = "hvm"
device_model = "/usr/lib/xen/bin/stubdom-dm"
name = "winxpstub"
memory = "512"
vif = [ 'type=ioemu,bridge=eth0', ]
localtime = 1
boot = "c"
on_reboot = 'restart'
on_crash = 'destroy'
-----
# cat winxpstub-dm 
kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz"
disk = [ 'tap:aio:/home/xen/winxptest.img,hda,w', ]
vif = [ '', 'bridge=eth0', ]
vfb = ['type=vnc,vncunused=1']
-----

Thanks for any tips.

Brian Conway

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

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