From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine Date: Thu, 8 Oct 2009 22:13:48 +0800 Message-ID: References: <4AA942BC.6080404@goop.org> <20090911160319.GJ31123@reaktio.net> <4AB025E4.1000303@goop.org> <20091008135952.GA29004@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0326963020==" Return-path: In-Reply-To: <20091008135952.GA29004@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com, space.time.universe@gmail.com List-Id: xen-devel@lists.xenproject.org --===============0326963020== Content-Type: multipart/alternative; boundary=00148536e6da79434904756d1203 --00148536e6da79434904756d1203 Content-Type: text/plain; charset=ISO-8859-1 Dear Konrad, Please refer to my replies under your questions below. Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com Email: space.time.universe@gmail.com MSN: teoenming@hotmail.com Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Thu, Oct 8, 2009 at 9:59 PM, Konrad Rzeszutek Wilk < konrad.wilk@oracle.com> wrote: > On Thu, Oct 08, 2009 at 09:48:20PM +0800, Mr. Teo En Ming (Zhang Enming) > wrote: > > Attached in this email are three JPEG screenshots showing disk I/O > benchmark > > results for pvops dom0 kernels 2.6.30-rc3, 2.6.31-rc6, and 2.6.31.1. > > Did you change the build-id of Xen between the tests? Meaning did you > check out a newer one between the releases? > No. I did not change the changesets of xen between the tests. > > What is your underlaying disk for your guest? > I am not using a disk image file. I am using LVM2 logical volume for my Win XP Home guest. > Did you flush the cache before you ran the tests? > echo 3 > /proc/sys/vm/drop_caches > No I did not. I am not aware of this requirement. > > Are you using stub-domain or normal QEMU? > I don't think I am using stub-domain. I should be using normal QEMU. > > What is the xm entry for the disk in your .xm. > Here is my Win XP Home Edition domU guest configuration: #import os, re #arch = os.uname()[4] #if re.search('64', arch): # arch_libdir = 'lib64' #else: # arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 3072 # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu. #shadow_memory = 8 name = "winxphome32" vif = [ 'bridge=eth0' ] acpi = 1 apic = 1 disk = [ 'phy:/dev/virtualmachines/winxphome32,hda,w', 'phy:/dev/sr0,hdc:cdrom,r' ] #device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' #device_model = '/usr/' + 'lib' + '/xen/bin/qemu-dm' device_model = 'qemu-dm' #----------------------------------------------------------------------------- # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot="cd" #sdl=0 #vnc=1 #vncconsole=1 #vncpasswd='' #serial='pty' #usbdevice='tablet' # onboard #pci = [ '00:02.0' ] # nvidia & firewire pci = [ '01:00.0','02:01.0' ] vcpus=2 # No passthrough #gfx_passthru=0 # onboard #gfx_passthru=1 # nvidia gfx_passthru=2 # Can only pass through one usb device at a time usb=1 # USB Unity Green Mouse #usbdevice = 'host:1bcf:0007' # USB A1pro Black Mouse usbdevice = 'host:15d9:0a41' # USB Keyboard #usbdevice = 'host:0603:00f2' # USB Sony IC Recorder #usbdevice = 'host:054c:0271' # USB Lexmark X1270 Color Printer #usbdevice = 'host:043d:00ff' # USB Lexmark X1270 Photo Scanner #usbdevice = 'host:043d:007d' # USB Lexmark X1270 Generic Hub #usbdevice = 'host:043d:007a' > > Are you using GPLV/Novell VMDK/etc accelerated drivers under Windows? > No. I don't think so. > > How many iterations of the disk I/O benchmark did you run? As in, are those > screenshots of the first run, or the average over a couple of them. > They are not averages. They are first runs. --00148536e6da79434904756d1203 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear Konrad,

Please refer to my replies under your questions below.<= br>
Thank you.

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatro= nics) BEng(Hons)(Mechanical Engineering)
Alma Maters:
(1) Singapore P= olytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blo= gspot.com
Email: sp= ace.time.universe@gmail.com
MSN: teoenming@hotmail.com
= Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of = Singapore

On Thu, Oct 8, 2009 at 9:59 PM,= Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
On Thu, Oct 08, 2009 at 09:48:20PM +0800, Mr. Teo En Ming (Zhang Enming) w= rote:
> Attached in this email are three JPEG screenshots showing disk I/O ben= chmark
> results for pvops dom0 kernels 2.6.30-rc3, 2.6.31-rc6, and 2.6.31.1.
Did you change the build-id of Xen between the tests? Meaning did you=
check out a newer one between the releases?

No. I = did not change the changesets of xen between the tests.
=A0

What is your underlaying disk for your guest?

I am= not using a disk image file. I am using LVM2 logical volume for my Win XP = Home guest.


Did you flush the cache before you ran the tests?
echo 3 > /proc/sys/vm/drop_caches

No I did not.= I am not aware of this requirement.
=A0

Are you using stub-domain or normal QEMU?

I don= 9;t think I am using stub-domain. I should be using normal QEMU.
=A0
=

What is the xm entry for the disk in your .xm.

Her= e is my Win XP Home Edition domU guest configuration:

#import os, re=
#arch =3D os.uname()[4]
#if re.search('64', arch):
#=A0= =A0=A0 arch_libdir =3D 'lib64'
#else:
#=A0=A0=A0 arch_libdir =3D 'lib'

kernel =3D "= /usr/lib/xen/boot/hvmloader"
builder=3D'hvm'
memory =3D = 3072

# Should be at least 2KB per MB of domain memory, plus a few M= B per vcpu.
#shadow_memory =3D 8
name =3D "winxphome32"
vif =3D [ '= bridge=3Deth0' ]
acpi =3D 1
apic =3D 1
disk =3D [ 'phy:/d= ev/virtualmachines/winxphome32,hda,w', 'phy:/dev/sr0,hdc:cdrom,r= 9; ]

#device_model =3D '/usr/' + arch_libdir + '/xen/bin/qemu-dm'= ;
#device_model =3D '/usr/' + 'lib' + '/xen/bin/qemu= -dm'
device_model =3D 'qemu-dm'

#--------------------= ---------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk,= cd-rom, floppy
boot=3D"cd"
#sdl=3D0
#vnc=3D1
#vnccon= sole=3D1
#vncpasswd=3D''

#serial=3D'pty'
#usbd= evice=3D'tablet'
# onboard
#pci =3D [ '00:02.0' ]
# nvidia & firewire
p= ci =3D [ '01:00.0','02:01.0' ]
vcpus=3D2
# No passthr= ough
#gfx_passthru=3D0
# onboard
#gfx_passthru=3D1
# nvidia
= gfx_passthru=3D2

# Can only pass through one usb device at a time
usb=3D1
# USB Un= ity Green Mouse
#usbdevice =3D 'host:1bcf:0007'
# USB A1pro B= lack Mouse
usbdevice =3D 'host:15d9:0a41'
# USB Keyboard
#= usbdevice =3D 'host:0603:00f2'
# USB Sony IC Recorder
#usbdevice =3D 'host:054c:0271'
# USB = Lexmark X1270 Color Printer
#usbdevice =3D 'host:043d:00ff'
#= USB Lexmark X1270 Photo Scanner
#usbdevice =3D 'host:043d:007d'=
# USB Lexmark X1270 Generic Hub
#usbdevice =3D 'host:043d:007a'<= br>=A0

Are you using GPLV/Novell VMDK/etc accelerated drivers under Windows?

No. I don't think so.
=A0

How many iterations of the disk I/O benchmark did you run? As in, are those=
screenshots of the first run, or the average over a couple of them.

They are not averages. They are first runs.




--00148536e6da79434904756d1203-- --===============0326963020== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0326963020==--