Skip to contentSkip to conversation

GPU Pass Through Comment - DomU GPU Performance Regression after Reboot - Workaround

Xen-users Tobias Geiger 2 participants 2 messages Feb 24, 2012

lore
Share & tools
lore
#0 lore raw

Hi!

after the first disappointment about the FirePro-Driver not solving my issue, i fiddled around with this problem and finally found a solution which solves the Performance-Regression i'm experiencing in my setup;

The Problem is: GPU Performance degrades to about 10% after a DomU Reboot (GPU is ATI, but this also happend with a NVIDIA iirc , so no ATI-specific Problem).

The Workaround: too easy :) Simply "Eject" the GPU after Windows has booted - the screen goes black, it re-initializes the Card and re-attaches after a few seconds. From then on Performance is back to normal.
Ejecting is done via the little Device-Manager Icon in the Taskbar (this one:
http://www.technipages.com/wp-content/uploads/2011/01/Windows-7-Remove-
Hardware-option.pngwww.technipages.com/wp-content/uploads/2011/01/Windows-7- Remove-Hardware-option.png )

To Automate this, i used a little tool called "DevEject" from heise.de - it's "OpenSource" Licensed and works even in Win7-64:
ftp://ftp.heise.de/pub/ct/listings/0316-208.zip
There may be other Tools/Scripting solutions via WSH/Powershell/VBS/CMD/...

Greetings!
Tobias

Am Donnerstag, 23. Februar 2012, 01:39:08 schrieb [email protected]:

Quoted 10 lines

After reading many posts on GPU pass through failing on reboot of the domU, I questioned AMD and they responded with:

This is the known and documented issue with hypervisor - Resolved issues (release notes) with driver 8.83.5.4 and above - May see system hang on restart with some hypervisors. Consider using a more recent firepro driver at support.amd.com.

ray

#1 lore raw
Quoted 4 lines · Tobias Geiger

Hi!

after the first disappointment about the FirePro-Driver not solving my

issue, i

Quoted 1 line

fiddled around with this problem and finally found a solution which

solves the

Quoted 3 lines

Performance-Regression i'm experiencing in my setup;

The Problem is: GPU Performance degrades to about 10% after a DomU Reboot

(GPU

Quoted 1 line

is ATI, but this also happend with a NVIDIA iirc , so no ATI-specific

Problem).

Quoted 2 lines

The Workaround: too easy :) Simply "Eject" the GPU after Windows has

booted -

Quoted 1 line

the screen goes black, it re-initializes the Card and re-attaches after a

few

Quoted 2 lines

seconds. From then on Performance is back to normal. Ejecting is done via the little Device-Manager Icon in the Taskbar (this

one:

Quoted 2 lines

http://www.technipages.com/wp-content/uploads/2011/01/Windows-7-Remove-

Hardware-option.pngwww.technipages.com/wp-content/uploads/2011/01/Windows-7-

Quoted 3 lines

Remove-Hardware-option.png )

To Automate this, i used a little tool called "DevEject" from heise.de -

it's

Quoted 3 lines

"OpenSource" Licensed and works even in Win7-64:
ftp://ftp.heise.de/pub/ct/listings/0316-208.zip
There may be other Tools/Scripting solutions via

WSH/Powershell/VBS/CMD/...

Quoted 4 lines

Greetings!
Tobias

Thanks for sharing! Glad you found a simple workaround.

That said, I still think it's the 'fault' of... uh, something in dom0. Maybe the backend that actually handled the booting of the Windows domU needs to relinquish its grip... or maybe it sent the signal of 'device eject' too early, so the Windows subsystem is not yet ready...

... or maybe Windows itself sucks :-P

Anyways, I am not currently using GPU pass-through, but your explanation (and the fine tool you linked to) definitely will go into my personal KnowledgeBase :-)

Rgds,

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel