All of lore.kernel.org
 help / color / mirror / Atom feed
From: Georg Bege <therion@ninth-art.de>
To: Gordan Bobic <gordan@bobich.net>
Cc: xen-devel@lists.xen.org
Subject: Re: Fwd: Re:  Xen 4.3 / 4.4 - concurrent APIs, VGA Passthru
Date: Sat, 02 Aug 2014 12:49:28 +0200	[thread overview]
Message-ID: <53DCC238.3030707@ninth-art.de> (raw)
In-Reply-To: <db89a3bb992d1bbde102b22cefe87f13@mail.shatteredsilicon.net>

Hello again

Well so far I can now tell, I tested it on WinXP x64 quite a lot
- most things are working.
Including AAA games like Witcher 2, I didnt try a very memory consuming
game yet.
But I dont really think that I have the same bug you are refering to -
in WinXP x64 the /PATCHTPR boot flag did help greatly, it really boosted
the performance to near native.
I dont think I encountered any memory usage, used like applications
consuming the first 4GB of the DomU.

Im trying to figure what to do for Windows 7, its working good too -
even with VGA Passthrough,
but its almost always consuming 33%-80% CPU usage for no reason...

I also stumpled upon the issue that if you reboot a VGA Passthru DomU
then that the GFX adapter looses performance (which was explained
somewhere in the docs already).
Atm. all this is done with Xen 4.4 - Im not sure why I would go back to
Xen 4.3, Xen is improving greatly over each version I think, that older
versions have more (unfixed) issues is quite logical.

I just wonder what I can do for Win7 performance wise so that I can test
things like Borderlands 2 you referred to... or any other high memory
usage application.

regards,
Georg

Am 29.07.2014 14:22, schrieb Gordan Bobic:
> On 2014-07-29 12:52, Georg Bege wrote:
>> Am 29.07.2014 12:38, schrieb Gordan Bobic:
>>> On 2014-07-29 08:39, Georg Bege wrote:
>>>> Am 29.07.2014 09:10, schrieb Gordan Bobic:
>>>>> On 07/29/2014 02:12 AM, Georg Bege wrote:
>
>>>>>> no with Xen 4.3 its not working to me, in Win XP64 I get kinda
>>>>>> abstract
>>>>>> distortions in the screen,
>>>>>
>>>>> That sounds suspiciously like the IOMEM memory stomp I see with my
>>>>> motherboard.
>>>>>
>>>>>> not much later then I get a kernel panic on Dom0 regarding IRQ16
>>>>>> (like
>>>>>> sth IRC16: no body cared.. oops) the kernel gets damaged by it and
>>>>>> then
>>>>>> the whole machine works like in slow-motion (everything X11,
>>>>>> moving of
>>>>>> the mouse etc.) all I can do then is hard reboot...
>>>>>
>>>>> I have seen the interrupt issue before but _only_ when I xl destroy
>>>>> the domUs. It never happened on a clean shutdown/reboot of domUs. The
>>>>> interrupt you mention - does it happen to be the IRQ used by your USB
>>>>> controller?
>>>> Im not sure but the IRQ 16 is used by:
>>>>  16:    2065542          0          0          0          0
>>>> 0          0          0  xen-pirq-ioapic-level  ehci_hcd:usb1,
>>>> snd_emu10k1, nouveau
>>>
>>> ehci_hcd:usb1 sounds like USB.
>>>
>>> If you look at lspci -vvv, look for "IRQ 16". It should match.
>>>
>> Yes you're right, it is - however Im quite suprised how many devices
>> share that same Interrupt.
>>
>> Interrupt: pin A routed to IRQ 16:
>>
>> 00:1a.0 USB controller: Intel Corporation C600/X79 series chipset USB2
>> Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
>> 02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host
>> Controller (rev 04) (prog-if 30 [XHCI])
>> 03:00.0 VGA compatible controller: NVIDIA Corporation GF100GL [Quadro
>> 5000] (rev a3) (prog-if 00 [VGA controller])
>> 04:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce
>> 210] (rev a2) (prog-if 00 [VGA controller])
>> 05:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic
>> SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
>> 0a:00.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
>> (rev 04)
>>
>> Is this normal?
>
> It sounds a bit high, but it's not implausible.
>
> On my machine this shows:
> for irq in `lspci -vvv | grep IRQ | sed -e 's/.*IRQ //' | sort -un`; do
>   echo -n "IRQ $irq: ";
>   lspci -vvv | grep IRQ | sed -e 's/.*IRQ //' | grep "^$irq$" | wc -l;
> done
>
> IRQ 16: 1
> IRQ 18: 3
> IRQ 19: 2
> IRQ 21: 1
> IRQ 22: 1
> IRQ 23: 2
> IRQ 24: 2
> IRQ 29: 1
> IRQ 36: 1
> IRQ 37: 1
> IRQ 38: 1
> IRQ 39: 1
> IRQ 40: 1
> IRQ 212: 1
> IRQ 213: 1
> IRQ 214: 1
> IRQ 215: 1
>
> So IRQ 18 is used by 3 devices, all of which are on the
> ICH10 SB chip (2x USB, 1x SMBus).
>
> What surprises me slightly more is the devices that are
> sharing IRQs on your system. It almost looks like at least 4
> PCIe slots are sharing the same interrupt, which is somewhat
> unusual.
>
>> I've to check out the other stuff, I'll reply again once I did that -
>> but might take till tomorrow.
>
> Please do. I'd be interested to hear if you are in fact
> hitting the same bug as me, as it is rather obscure and
> unusual.
>
> Gordan

  reply	other threads:[~2014-08-02 10:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <53D5C00E.5040706@ninth-art.de>
2014-07-28 14:10 ` Fwd: Re: Xen 4.3 / 4.4 - concurrent APIs, VGA Passthru Georg Bege
2014-07-28 14:34   ` jacek burghardt
2014-07-28 15:01   ` Gordan Bobic
     [not found]     ` <53D6F500.1010806@ninth-art.de>
     [not found]       ` <53D748DC.10209@bobich.net>
     [not found]         ` <53D74F9E.6010508@ninth-art.de>
     [not found]           ` <bb4d5eb4f453e5596f696eb93c3f7df5@mail.shatteredsilicon.net>
2014-07-29 11:52             ` Georg Bege
2014-07-29 12:22               ` Gordan Bobic
2014-08-02 10:49                 ` Georg Bege [this message]
2014-08-03  9:49                   ` Gordan Bobic
     [not found]                     ` <53DE0A73.9040304@ninth-art.de>
2014-08-03 10:20                       ` Fwd: " Georg Bege
2014-08-04  8:18                       ` Gordan Bobic
2014-08-04 19:30                         ` Georg Bege
2014-08-18 15:26                         ` Georg Bege
2014-08-18 15:45                           ` Gordan Bobic
2014-08-18 21:13                             ` Richie
2014-08-19 10:31                               ` Gordan Bobic
2014-08-03  9:57                   ` James Harper
2014-08-03  1:09             ` Georg Bege
2014-08-03  9:40               ` Gordan Bobic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53DCC238.3030707@ninth-art.de \
    --to=therion@ninth-art.de \
    --cc=gordan@bobich.net \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.