From: "Jin Cui" Subject: vga passthrough on some graphic card result in guest slow Date: Wed, 4 May 2011 16:43:46 +0800 Message-ID: <000601cc0a37$62005610$662614ac@asia.corp.platform.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1239513194==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============1239513194== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01CC0A7A.6FC43800" This is a multi-part message in MIME format. ------=_NextPart_000_0003_01CC0A7A.6FC43800 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hello, I have tried vga passthrough on my open suse11.4(xen4.0.2) today. (vga = card: nvidia QuadroFX5800) After enable vga passthrough, the guest = VM(windows2003x64) becomes very slow for any operation including OS = startup, mouse moving. And the guest's CPU utilization always keeps = high(40% +), it should be consumed by windows kernel because I didn't = see any process use such cpu resource from task manager. But this issue = is not happen on another QuadroFX1800 machine, does vga passthrough = depends on graphic hardware? since 5800 has 4G video memory but 1800 = only has 768M. My guest configuration as below: name=3D"w2k3x64_2" description=3D"None" uuid=3D"dd12d5fa-57d0-9a56-8cbb-44495f9fecd3" memory=3D4096 maxmem=3D4096 vcpus=3D4 on_poweroff=3D"destroy" on_reboot=3D"restart" on_crash=3D"destroy" localtime=3D1 keymap=3D"en-us" builder=3D"hvm" device_model=3D"/usr/lib/xen/bin/qemu-dm" kernel=3D"/usr/lib/xen/boot/hvmloader" boot=3D"c" disk=3D[ 'phy:/dev/lvm/win2003,hda,w',] vif=3D[ 'mac=3D00:16:3e:7b:07:29,bridge=3Dbr0,model=3Drtl8139', ] gfx_passthru=3D1 pci=3D['03:00.0'] stdvga=3D0 vnc=3D1 vncunused=3D1 viridian=3D0 usb=3D1 acpi=3D1 pae=3D1 usbdevice=3D'tablet' serial=3D"pty" Thank you, Jin ------=_NextPart_000_0003_01CC0A7A.6FC43800 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Hello,
 
I have tried vga passthrough on my = open=20 suse11.4(xen4.0.2) today. (vga card: nvidia QuadroFX5800) = After enable vga=20 passthrough, the guest VM(windows2003x64) becomes very slow for any=20 operation including OS startup, mouse moving. And the guest's = CPU=20 utilization always keeps high(40% +), it should be consumed by windows = kernel=20 because I didn't see any process use such cpu resource from = task=20 manager. But this issue is not happen on another QuadroFX1800 = machine,=20 does vga passthrough depends on graphic hardware? since 5800 has 4G = video memory=20 but 1800 only has 768M. My guest configuration as below:
 
name=3D"w2k3x64_2"
description=3D"None"
uuid=3D"dd12d5fa-5= 7d0-9a56-8cbb-44495f9fecd3"
memory=3D4096
maxmem=3D4096
vcpus=3D= 4
on_poweroff=3D"destroy"
on_reboot=3D"restart"
on_crash=3D"dest= roy"
localtime=3D1
keymap=3D"en-us"
builder=3D"hvm"
device_model=3D"/usr/lib/xen/bin/qemu-dm"
= kernel=3D"/usr/lib/xen/boot/hvmloader"
boot=3D"c"
disk=3D[=20 'phy:/dev/lvm/win2003,hda,w',]
vif=3D[=20 'mac=3D00:16:3e:7b:07:29,bridge=3Dbr0,model=3Drtl8139',=20 ]
gfx_passthru=3D1
pci=3D['03:00.0']
stdvga=3D0
vnc=3D1
vncunused=3D1
viridian=3D0
usb=3D= 1
acpi=3D1
pae=3D1
usbdevice=3D'tablet'
serial=3D"pty"
 
Thank you,
Jin
------=_NextPart_000_0003_01CC0A7A.6FC43800-- --===============1239513194== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1239513194==--