All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities
@ 2017-07-18 10:39 bugzilla-daemon
  2017-07-20 18:53 ` [Bug 196409] " bugzilla-daemon
                   ` (37 more replies)
  0 siblings, 38 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-07-18 10:39 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

            Bug ID: 196409
           Summary: kvm_amd nested pagetable gpu passthrough performance
                    oddities
           Product: Virtualization
           Version: unspecified
    Kernel Version: 4.10.8-1
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: efeu@markju.com
        Regression: No

The hardware I was testing with:
AMD Ryzen R7 1700
Gigabyte GA-AX370-Gaming 5
different GPUs
Windows10 x64 Guest

But this bug is reproducable on AMD FX series too.

While community is discussing for a while about this bug, I haven't found it
here. Based on our discussion here:
http://www.spinics.net/lists/kvm/msg149446.html

While npt is enabled a passed through GPU is giving much less performance as
expected. Here some test results the community already did:

First Heaven benchmark with ultra settings on 1920x1080:

- DirectX 11:
  - npt=0: 87.0 fps
  - npt=1: 78.4 fps (10% drop)
- DirectX 9:
  - npt=0: 100.0 fps
  - npt=1: 66.4 fps (33% drop)
- OpenGL:
  - npt=0: 82.5 fps
  - npt=1: 35.2 fps (58% drop)

Heaven Benchmark again, this time with low settings on 1280x720:

- DirectX 11:
  - npt=0: 182.5 fps
  - npt=1: 140.1 fps (25% drop)
- DirectX 9:
  - npt=0: 169.2 fps
  - npt=1: 74.1 fps (56% drop)
- OpenGL:
  - npt=0: 202.8 fps
  - npt=1: 45.0 fps (78% drop)

PerformanceTest 9.0 3d benchmark:

- DirectX 9:
  - npt=0: 157 fps
  - npt=1: 13 fps (92% drop)
- DirectX 10:
  - npt=0: 220 fps
  - npt=1: 212 fps (4% drop)
- DirectX 11:
  - npt=0: 234 fps
  - npt=1: 140 fps (40% drop)
- DirectX 12:
  - npt=0: 88 fps (scored 35 because of the penalized FPS of not being
able to run at 4k)
  - npt=1: 4.5 fps (scored 1, 95% drop)
- GPU Compute:
  - Mandel:
    - npt=0: ~= 2000 fps
    - npt=1: ~= 2000 fps
  - Bitonic Sort:
    - npt=0: ~= 153583696.0 elements/sec
    - npt=1: ~= 106233376.0 elements/sec (31% drop)
  - QJulia4D:
    - npt=0: ~= 1000 fps
    - npt=1: ~= 1000 fps
  - OpenCL:
    - npt=0: ~= 750 fps
    - npt=1: ~= 220 fps
Some more data from 3DMark benchmarks:

Time Spy(DirectX 12):
- Graphics test 1:
  - npt=0: 37.65 FPS
  - npt=1: 24.22 FPS (36% drop)
- Graphics test 2:
  - npt=0: 33.05 FPS
  - npt=1: 29.65 FPS (10% drop)
- CPU test:
  - npt=0: 17.35 FPS
  - npt=1: 12.03 FPS (31% drop)

Fire Strike(DirectX 11):
- Graphics test 1:
  - npt=0: 80.56 FPS
  - npt=1: 41.89 FPS (49% drop)
- Graphics test 2:
  - npt=0: 70.64 FPS
  - npt=1: 60.75 FPS (14% drop)
- Physics test:
  - npt=0: 50.14 FPS
  - npt=1: 5.78 FPS (89% drop)
- Combined test:
  - npt=0: 32.83 FPS
  - npt=1: 17.70 FPS (47% drop)

Sky Diver(DirectX 11):
- Graphics test 1:
  - npt=0: 248.81 FPS
  - npt=1: 173.63 FPS (31% drop)
- Graphics test 2:
  - npt=0: 250.49 FPS
  - npt=1: 124.84 FPS (51% drop)
- Physics test:
  - 8 threads:
    - npt=0: 140.93 FPS
    - npt=1: 119.08 FPS (15% drop)
  - 24 threads:
    - npt=0: 110.22 FPS
    - npt=1: 74.55 FPS (33% drop)
  - 48 threads:
    - npt=1: 71.56 FPS
    - npt=1: 45.93 FPS (36% drop)
  - 96 threads:
    - npt=0: 41.04 FPS
    - npt=1: 24.81 FPS (40% drop)
- Combined test:
  - npt=0: 75.65 FPS
  - npt=1: 50.45 FPS (33% drop)

I compared the performance with XEN and found out there is no performance
impact, so the bug should be in the nested pagetable implementation in kvm_amd
module and not a hardware related issue in AMD-Vi.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
@ 2017-07-20 18:53 ` bugzilla-daemon
  2017-07-26  7:33 ` bugzilla-daemon
                   ` (36 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-07-20 18:53 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Michael (michael.osmolski@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.osmolski@gmail.com

--- Comment #1 from Michael (michael.osmolski@gmail.com) ---
I too have this NPT issue with Ryzen 1800x and KVM latest kernel.
It's incredible that no-one has managed to resolve this yet.
GPU performance is absolutely dire with npt=1 and CPU is so bad with npt=0. So
loss/loss situation.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
  2017-07-20 18:53 ` [Bug 196409] " bugzilla-daemon
@ 2017-07-26  7:33 ` bugzilla-daemon
  2017-07-26  8:59 ` bugzilla-daemon
                   ` (35 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-07-26  7:33 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Thomas (thbeck84@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thbeck84@gmail.com

--- Comment #2 from Thomas (thbeck84@gmail.com) ---
Please look into this well documented issue, it makes the new AMD platform very
unattractive for advanced virtualization. 

This is very unfortunate because the nature of Ryzen (many cores, competitive
IPC, good value, inofficial ECC support) would be excellent for this.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
  2017-07-20 18:53 ` [Bug 196409] " bugzilla-daemon
  2017-07-26  7:33 ` bugzilla-daemon
@ 2017-07-26  8:59 ` bugzilla-daemon
  2017-07-26 13:52 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-07-26  8:59 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

imatiimba@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imatiimba@gmail.com

--- Comment #3 from imatiimba@gmail.com ---
I'm also having this issue.  

AMD Ryzen R7 1700  
Asus Prime B350-Plus  
Nvidia 970  
Host: Arch Linux Kernel 4.11.9  
Guest: Windows 10 x64  

Adding to the info collected by efeu seems like the bug isn't specific to
Ryzen.  
The first bug report is 9 years old.  
https://sourceforge.net/p/kvm/bugs/230/

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-07-26  8:59 ` bugzilla-daemon
@ 2017-07-26 13:52 ` bugzilla-daemon
  2017-07-26 16:34 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-07-26 13:52 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

durok@cock.li changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |durok@cock.li

--- Comment #4 from durok@cock.li ---
Same problem here.

AMD Ryzen R7 1700
Gigabyte GA-AX370-Gaming 5
GT 570
R9 290x
Host: Arch
Guest: Windows 8.1/10

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-07-26 13:52 ` bugzilla-daemon
@ 2017-07-26 16:34 ` bugzilla-daemon
  2017-07-27 10:40 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-07-26 16:34 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #5 from Andrey (dark.vvorth@gmail.com) ---
Confirmed with:

AMD Ryzen 5 1600
Gigabyte AB350 Gaming 3
GTX 750 for host
GTX 1050 Ti for guest
Arch Linux as a host, Windows 10 as a guest.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-07-26 16:34 ` bugzilla-daemon
@ 2017-07-27 10:40 ` bugzilla-daemon
  2017-08-01  5:10 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-07-27 10:40 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #6 from Michael (michael.osmolski@gmail.com) ---
Threadripper just around the corner and noone here knows the answer to the
KVM/NPT/AMD issue. Shame really, I think quite a few folk will switch to Intel
if this isn't fixed soon.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-07-27 10:40 ` bugzilla-daemon
@ 2017-08-01  5:10 ` bugzilla-daemon
  2017-08-18  6:48 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-08-01  5:10 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

mfadom99@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mfadom99@hotmail.com

--- Comment #7 from mfadom99@hotmail.com ---
Same issue with kernel 4.10 - 4.12 here.

CPU - AMD Ryzen 7 1700
MB - Asus Prime x370 Pro
Host GPU - NVidia GTX 750ti
VFIO GPU - AMD Radeon RX480
Host OS - Manjaro 17.2
Guest OS - Windows 10

With npt=1, everything is fast, except GPU fps is 10-15 in Skyrim
with npt=0, everything is slow, GPU fps is ~30 in Skyrim

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-08-01  5:10 ` bugzilla-daemon
@ 2017-08-18  6:48 ` bugzilla-daemon
  2017-08-21 18:12 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-08-18  6:48 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Symon (bierhumpen@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bierhumpen@gmail.com

--- Comment #8 from Symon (bierhumpen@gmail.com) ---
Same Problems here :(

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-08-18  6:48 ` bugzilla-daemon
@ 2017-08-21 18:12 ` bugzilla-daemon
  2017-08-25 14:33 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-08-21 18:12 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

JohnSmith (eldiablodivino@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eldiablodivino@gmail.com

--- Comment #9 from JohnSmith (eldiablodivino@gmail.com) ---
Same problem here. This issue should be a very high priority. It basically
destroys GPU passthrough on Ryzen CPUs.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (8 preceding siblings ...)
  2017-08-21 18:12 ` bugzilla-daemon
@ 2017-08-25 14:33 ` bugzilla-daemon
  2017-08-27 10:09 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-08-25 14:33 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

maspe (maspe36@gmx.de) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maspe36@gmx.de

--- Comment #10 from maspe (maspe36@gmx.de) ---
Same problem for me :(

Ubuntu 17.04 - all mainline kernels up to 4.13-rc6

CPU - AMD Ryzen 7 1700
MB - Asus Prime x370 Pro
Host GPU - NVidia GTX 1050ti
passthrough GPU - AMD Radeon RX480
Host OS - Ubuntu 17.04
Guest OS - Windows 10

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (9 preceding siblings ...)
  2017-08-25 14:33 ` bugzilla-daemon
@ 2017-08-27 10:09 ` bugzilla-daemon
  2017-08-27 15:58 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-08-27 10:09 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Duarte Pousa (pousaduarte@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pousaduarte@gmail.com

--- Comment #11 from Duarte Pousa (pousaduarte@gmail.com) ---
Behaviour confirmed in OpenSUSE Tumbleweed, both in the distribution provided
kernels and mainline.

Current Kernel Version: 4.12
Tested Kernel Versions: 4.11,4.12

CPU - AMD Ryzen 7 1700
MB - MSI x370 SLI PLUS PRO
Host GPU - AMD Radeon RX 560
Guest GPU - NVIDIA GTX 750 ti
Host OS - OpenSUSE Tumbleweed
Guest OS - Windows 10 LTSB 2016

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (10 preceding siblings ...)
  2017-08-27 10:09 ` bugzilla-daemon
@ 2017-08-27 15:58 ` bugzilla-daemon
  2017-08-28 21:11 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-08-27 15:58 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Dennis (dennis@gaebler.tech) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dennis@gaebler.tech

--- Comment #12 from Dennis (dennis@gaebler.tech) ---
I have the same problems.

Current Kernel Version: 4.12.8
Tested Kernel Versions: 4.10, 4.11, 4.12

CPU - AMD Ryzen 7 1700
MB - ASRock X370 Taichi
Host GPU - Nvidia GT1030
Guest GPU - Nvidia GTX 980 Ti
Host OS - Fedora 26 Workstation
Guest OS - Windows 10 Education

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (11 preceding siblings ...)
  2017-08-27 15:58 ` bugzilla-daemon
@ 2017-08-28 21:11 ` bugzilla-daemon
  2017-08-30  8:36 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-08-28 21:11 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

georg.markowitsch@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |georg.markowitsch@gmail.com

--- Comment #13 from georg.markowitsch@gmail.com ---
Same problem here

CPU - AMD Ryzen 7 1700
MB - ASRock X370 Killer SLI
Host GPU - AMD Radeon HD6850
Guest GPU - Nvidia GTX 1080 Ti
Host OS - Fedora 26 Workstation
Guest OS - Windows 10 Pro

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (12 preceding siblings ...)
  2017-08-28 21:11 ` bugzilla-daemon
@ 2017-08-30  8:36 ` bugzilla-daemon
  2017-08-31 11:58 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-08-30  8:36 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

John Kelley (john@kelley.ca) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john@kelley.ca

--- Comment #14 from John Kelley (john@kelley.ca) ---
I am also experiencing the above mentioned issue with very similar performance
impact. I am currently not using the virtualization features due to this
performance bug with AMD Nested Page Tables.

CPU - AMD Ryzen 7 1800x
MB - Asus PRIME X370-PRO
Host GPU - AMD Radeon 480
Guest GPU - AMD Radeon r290
Host OS - Arch Linux, 4.11.9 kernel (Previously 4.9, 4.10)
Guest OS - Windows 10 Pro Anniversary Edition

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (13 preceding siblings ...)
  2017-08-30  8:36 ` bugzilla-daemon
@ 2017-08-31 11:58 ` bugzilla-daemon
  2017-09-01 13:50 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-08-31 11:58 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

ML (martin@lilleoen.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin@lilleoen.net

--- Comment #15 from ML (martin@lilleoen.net) ---
Also the same problem.

CPU - AMD Ryzen 7 1700 & TR 1950X
MB - Gigabyte Gaming 5 & Asrock X399 Fatality Pro
Host GPU - AMD RX 570 & RX 460
Guest GPU - Nvidia 980Ti & 1080ti
Host OS - Fedora 26 Workstation
Guest OS - Windows 10 Pro

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (14 preceding siblings ...)
  2017-08-31 11:58 ` bugzilla-daemon
@ 2017-09-01 13:50 ` bugzilla-daemon
  2017-09-02  8:50 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-01 13:50 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

sddearjack (pavel.kondjukov@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pavel.kondjukov@gmail.com

--- Comment #16 from sddearjack (pavel.kondjukov@gmail.com) ---
Had to reply, affected by the same problem, annoying as hell, because I cant
find a solution or how to adapt to this *bug.

CPU: R7 1700x
MB: X370 Taichi
Host GPU: RX 550
Guest GPU: 980 ti
Host OS: Gentoo, Arch, Fedora.
Guest OS: Windows 10 Pro

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (15 preceding siblings ...)
  2017-09-01 13:50 ` bugzilla-daemon
@ 2017-09-02  8:50 ` bugzilla-daemon
  2017-09-02 18:44 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-02  8:50 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

EPalmer (ethan.palmer@pangarinda.net.au) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ethan.palmer@pangarinda.net
                   |                            |.au

--- Comment #17 from EPalmer (ethan.palmer@pangarinda.net.au) ---
I'm also having this issue, currently still using my old machine in the
meantime.

CPU:            Ryzen 1700
MB:             Gigabyte X370 Gaming 5
Host GPU:       Radeon 7870 (PITCAIRN)
Guest GPU:      Radeon 290X (HAWAII)
Host OS:        Ubuntu 16.04 (Kernel 4.11.0-14-generic Ubuntu)
Guest OS:       Windows 10/Windows 8.1/Windows 7

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (16 preceding siblings ...)
  2017-09-02  8:50 ` bugzilla-daemon
@ 2017-09-02 18:44 ` bugzilla-daemon
  2017-09-05 15:31 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-02 18:44 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Iwanovich (iwanovich@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iwanovich@gmail.com

--- Comment #18 from Iwanovich (iwanovich@gmail.com) ---
Dealing with the same problem here.

CPU - AMD Ryzen 5 1600
Motherboard - Gigabyte AX370 Gaming 5
Host GPU - MSI Nvidia GT710 2GB
Guest GPU - Gainward Nvidia GTX 1050Ti 4GB
Host OS - Fedora 26, kernel 4.12.8.
Guest OS - Microsoft Windows 10

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (17 preceding siblings ...)
  2017-09-02 18:44 ` bugzilla-daemon
@ 2017-09-05 15:31 ` bugzilla-daemon
  2017-09-08  9:58 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-05 15:31 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Tiit (itvend@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |itvend@gmail.com

--- Comment #19 from Tiit (itvend@gmail.com) ---
Dealing with the exact same problem here.

CPU - AMD Ryzen 7 1700X
Motherboard - MSI X370 Gaming Carbon Pro
Host GPU - Any Random GPU
Guest GPU - MSI GTX 1080
Host OS - Fedora 26, kernel 4.13
Guest OS - Microsoft Windows 10

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (18 preceding siblings ...)
  2017-09-05 15:31 ` bugzilla-daemon
@ 2017-09-08  9:58 ` bugzilla-daemon
  2017-09-09  4:16 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-08  9:58 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Fruhwirth Clemens (clemens@endorphin.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clemens@endorphin.org

--- Comment #20 from Fruhwirth Clemens (clemens@endorphin.org) ---
For a fix, I am publicly offering a bounty expiring 2017/11/01 of 0.02 Bitcoin
(~100$ at the current price) redeemable by the person on the respective git
commit.

Maybe a good starting point is grepping through the code for "npt_enabled" and
doing some random guesswork, and/or introducing more performance counter at
host or guest to increase visibility. Maybe we can take apart a benchmark and
identity the operation that is slow.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (19 preceding siblings ...)
  2017-09-08  9:58 ` bugzilla-daemon
@ 2017-09-09  4:16 ` bugzilla-daemon
  2017-09-13 20:57 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-09  4:16 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #21 from Andrey (dark.vvorth@gmail.com) ---
(In reply to Fruhwirth Clemens from comment #20)
> For a fix, I am publicly offering a bounty expiring 2017/11/01 of 0.02
> Bitcoin (~100$ at the current price) redeemable by the person on the
> respective git commit.
> 

Another $100 from me.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (20 preceding siblings ...)
  2017-09-09  4:16 ` bugzilla-daemon
@ 2017-09-13 20:57 ` bugzilla-daemon
  2017-09-13 21:27 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-13 20:57 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Allison (patrickett@protonmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |patrickett@protonmail.com

--- Comment #22 from Allison (patrickett@protonmail.com) ---
(In reply to Fruhwirth Clemens and Andrey from comment #20-21)
>> For a fix, I am publicly offering a bounty expiring 2017/11/01 of 0.02
>> Bitcoin (~100$ at the current price) redeemable by the person on the
>> respective git commit.
> 
>Another $100 from me.

Another $25 from me.
In bitcoin that is, and sorry I couldn't give more. Will update if I can get
more.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (21 preceding siblings ...)
  2017-09-13 20:57 ` bugzilla-daemon
@ 2017-09-13 21:27 ` bugzilla-daemon
  2017-09-15  7:30 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-13 21:27 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Paolo Bonzini (bonzini@gnu.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini@gnu.org

--- Comment #23 from Paolo Bonzini (bonzini@gnu.org) ---
Guys, stop spamming the bug.  AMD is looking at it.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (22 preceding siblings ...)
  2017-09-13 21:27 ` bugzilla-daemon
@ 2017-09-15  7:30 ` bugzilla-daemon
  2017-09-24  8:09 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-15  7:30 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #24 from efeu (efeu@markju.com) ---
(In reply to Paolo Bonzini from comment #23)
> Guys, stop spamming the bug.  AMD is looking at it.

Source?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (23 preceding siblings ...)
  2017-09-15  7:30 ` bugzilla-daemon
@ 2017-09-24  8:09 ` bugzilla-daemon
  2017-09-24 10:43 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-24  8:09 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #25 from efeu (efeu@markju.com) ---
@Paolo
There is neither an official AMD statemant nor a confirmation on this issue.
You have spoken to an AMD developer? What they told you?

I mean the only thing beeing of interest is how long it will take to be fixed
1 month?, 1 year?, another 10 years?, never?

I mean this issue is not only about GPU passthrough, all PCI-E devices I've
tested are affected, those are: 
-SATA-Storage-/SAS-Raid-Controller-Cards (slow-downs/hangs in transfer)
-PCI-E SSDs (slow-downs/hangs in transfer)
-Network-Cards (slow-downs/hangs in transfer)
-TV-Cards (hangs in (hardware decoded) streams)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (24 preceding siblings ...)
  2017-09-24  8:09 ` bugzilla-daemon
@ 2017-09-24 10:43 ` bugzilla-daemon
  2017-09-24 11:48 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-24 10:43 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

hzzhan9@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hzzhan9@gmail.com

--- Comment #26 from hzzhan9@gmail.com ---
(In reply to efeu from comment #24)
> (In reply to Paolo Bonzini from comment #23)
> > Guys, stop spamming the bug.  AMD is looking at it.
> 
> Source?

I guess this one https://community.amd.com/thread/215931. I saw an id "ray_m"
with the AMD logo and the title "Technical Support Engineer" replied "We are
researching the issue ..." several months ago.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (25 preceding siblings ...)
  2017-09-24 10:43 ` bugzilla-daemon
@ 2017-09-24 11:48 ` bugzilla-daemon
  2017-09-24 12:25 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-24 11:48 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #27 from efeu (efeu@markju.com) ---
Well this is my thread on the AMD board and I have talked to ray_m directly, he
"escalated" the issue, that's it. But ray_m did not receive anything from his
developers, so this suggests on "noone is working on this issue" to me.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (26 preceding siblings ...)
  2017-09-24 11:48 ` bugzilla-daemon
@ 2017-09-24 12:25 ` bugzilla-daemon
  2017-09-24 12:28 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-24 12:25 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #28 from sddearjack (pavel.kondjukov@gmail.com) ---
Main concern is it software or hardware side. Some sources tell that Nested
page tables performance(AMD) is 10 years old *bug. So they are unable to fix
it, someone is being paid by someone not to look in this problem, not a major
problem for consumer market?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (27 preceding siblings ...)
  2017-09-24 12:25 ` bugzilla-daemon
@ 2017-09-24 12:28 ` bugzilla-daemon
  2017-09-24 12:59 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-24 12:28 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #29 from Dennis (dennis@gaebler.tech) ---
(In reply to sddearjack from comment #28)
> Main concern is it software or hardware side. Some sources tell that Nested
> page tables performance(AMD) is 10 years old *bug. So they are unable to fix
> it, someone is being paid by someone not to look in this problem, not a
> major problem for consumer market?

Since there doesn't seem to a problem in Xen or ESXi, doesn't that point to a
software problem?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (28 preceding siblings ...)
  2017-09-24 12:28 ` bugzilla-daemon
@ 2017-09-24 12:59 ` bugzilla-daemon
  2017-09-26 14:12 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-24 12:59 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #30 from efeu (efeu@markju.com) ---
We already know that this is in kvm_amd module.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (29 preceding siblings ...)
  2017-09-24 12:59 ` bugzilla-daemon
@ 2017-09-26 14:12 ` bugzilla-daemon
  2017-10-09 10:19 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-09-26 14:12 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

Fawwal (ian.montgomery@outlook.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian.montgomery@outlook.com

--- Comment #31 from Fawwal (ian.montgomery@outlook.com) ---
Came here to give my support for this.  Looking to make one box to do it all. I
think Ryzen is a perfect choice. I'm going to hold off for now, wait a few
months for a solution. If ya'll think it will take longer to find a solution
than that I may just go for a typical two processor xenon build if no one can
find a solution in my time frame.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (30 preceding siblings ...)
  2017-09-26 14:12 ` bugzilla-daemon
@ 2017-10-09 10:19 ` bugzilla-daemon
  2017-10-13 18:44 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-10-09 10:19 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

badOne (andizhigh@gmx.de) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andizhigh@gmx.de

--- Comment #32 from badOne (andizhigh@gmx.de) ---
I also noticed heavy performance loss with my Ryzen 1700X and KVM. Disabling
npt completely is no option either, it justs slows down the CPU a ton (which
totally makes sense)

My specs are:
 - Ryzen 1700X
 - ASUS Prime x370 Pro
 - GPU0: GTX 1050 (host)
 - GPU1: GTX 1070 (guest)

I also experimented with CPU pinning, mounting a whole SSD instead of just
using a virtual disk, trying different drivers, settings, etc.

Nothing of the above seemed to change anything. With npt=1 some games are
running fine (e.g. League of Legends), some are running ok (e.g. Path of Exile)
and some are running extremely bad (e.g. Player Unknown's Battlegrounds, GTA 5,
CS:GO, etc.)

I looked into the code but I'm not able to dive into the project due to the
lack of time.

This is a major issue in my opinion and AMD + the guys from KVM should look
into this together. Intel got it running, too. In addition with Xen it's
working perfectly but I really don't like using Xen, I like KVM a lot more.

Please fix this issue. If help is needed just contact me, I will when time
allows it.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (31 preceding siblings ...)
  2017-10-09 10:19 ` bugzilla-daemon
@ 2017-10-13 18:44 ` bugzilla-daemon
  2017-10-24 23:42 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-10-13 18:44 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

benjamin@verboven.one changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benjamin@verboven.one

--- Comment #33 from benjamin@verboven.one ---
Came here to give my support for this.

My setup
Ryzen 1700X
MSI x370 gaming pro carbon
GPU0: Asus RX550
GPU1: MSI RX580


Hope this will be fixed soon.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (32 preceding siblings ...)
  2017-10-13 18:44 ` bugzilla-daemon
@ 2017-10-24 23:42 ` bugzilla-daemon
  2017-10-25 10:44 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-10-24 23:42 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #34 from Nick Sarnie (commendsarnex@gmail.com) ---
Hi all,

Just a quick update. A workaround has been found. Please see the following
post:
https://lists.linuxfoundation.org/pipermail/iommu/2017-October/024823.html

Please note that this patch is only a workaround, is incorrect in some cases
and cannot be merged upstream in this form. But, it's a start and you can make
this change locally to workaround the GPU performance hit.


Thanks,
Sarnex

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (33 preceding siblings ...)
  2017-10-24 23:42 ` bugzilla-daemon
@ 2017-10-25 10:44 ` bugzilla-daemon
  2017-10-25 18:46 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-10-25 10:44 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #35 from Benjamin (benjamin@verboven.one) ---
That is awesome news!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (34 preceding siblings ...)
  2017-10-25 10:44 ` bugzilla-daemon
@ 2017-10-25 18:46 ` bugzilla-daemon
  2017-10-26 15:11 ` bugzilla-daemon
  2017-10-27  8:34 ` bugzilla-daemon
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-10-25 18:46 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #36 from Nick Sarnie (commendsarnex@gmail.com) ---
Another update, a better patch from Paolo is here:

https://marc.info/?l=kvm&m=150891016802546&w=2

Sarnex

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (35 preceding siblings ...)
  2017-10-25 18:46 ` bugzilla-daemon
@ 2017-10-26 15:11 ` bugzilla-daemon
  2017-10-27  8:34 ` bugzilla-daemon
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-10-26 15:11 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #37 from Nick Sarnie (commendsarnex@gmail.com) ---
Paolo has submitted a final patch here:

https://patchwork.kernel.org/patch/10027525/

People who put up a bounty should prepare to pay out (to Geoff because Paolo
said so) :)

Sarnex

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [Bug 196409] kvm_amd nested pagetable gpu passthrough performance oddities
  2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
                   ` (36 preceding siblings ...)
  2017-10-26 15:11 ` bugzilla-daemon
@ 2017-10-27  8:34 ` bugzilla-daemon
  37 siblings, 0 replies; 39+ messages in thread
From: bugzilla-daemon @ 2017-10-27  8:34 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196409

--- Comment #38 from Fruhwirth Clemens (clemens@endorphin.org) ---
As promised, I paid out my bounty here:
https://blockchain.info/tx/91077ba4e7be1ab303b591efa268f194ab186112caa014576a65a26d69eb1dd2
More payout information for geoff@ is posted here:
https://www.reddit.com/r/VFIO/comments/78i3jx/possible_fix_for_the_npt_issue_discussed_on_iommu/doxtwyn/

Thanks again for working on this.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2017-10-27  8:34 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-18 10:39 [Bug 196409] New: kvm_amd nested pagetable gpu passthrough performance oddities bugzilla-daemon
2017-07-20 18:53 ` [Bug 196409] " bugzilla-daemon
2017-07-26  7:33 ` bugzilla-daemon
2017-07-26  8:59 ` bugzilla-daemon
2017-07-26 13:52 ` bugzilla-daemon
2017-07-26 16:34 ` bugzilla-daemon
2017-07-27 10:40 ` bugzilla-daemon
2017-08-01  5:10 ` bugzilla-daemon
2017-08-18  6:48 ` bugzilla-daemon
2017-08-21 18:12 ` bugzilla-daemon
2017-08-25 14:33 ` bugzilla-daemon
2017-08-27 10:09 ` bugzilla-daemon
2017-08-27 15:58 ` bugzilla-daemon
2017-08-28 21:11 ` bugzilla-daemon
2017-08-30  8:36 ` bugzilla-daemon
2017-08-31 11:58 ` bugzilla-daemon
2017-09-01 13:50 ` bugzilla-daemon
2017-09-02  8:50 ` bugzilla-daemon
2017-09-02 18:44 ` bugzilla-daemon
2017-09-05 15:31 ` bugzilla-daemon
2017-09-08  9:58 ` bugzilla-daemon
2017-09-09  4:16 ` bugzilla-daemon
2017-09-13 20:57 ` bugzilla-daemon
2017-09-13 21:27 ` bugzilla-daemon
2017-09-15  7:30 ` bugzilla-daemon
2017-09-24  8:09 ` bugzilla-daemon
2017-09-24 10:43 ` bugzilla-daemon
2017-09-24 11:48 ` bugzilla-daemon
2017-09-24 12:25 ` bugzilla-daemon
2017-09-24 12:28 ` bugzilla-daemon
2017-09-24 12:59 ` bugzilla-daemon
2017-09-26 14:12 ` bugzilla-daemon
2017-10-09 10:19 ` bugzilla-daemon
2017-10-13 18:44 ` bugzilla-daemon
2017-10-24 23:42 ` bugzilla-daemon
2017-10-25 10:44 ` bugzilla-daemon
2017-10-25 18:46 ` bugzilla-daemon
2017-10-26 15:11 ` bugzilla-daemon
2017-10-27  8:34 ` bugzilla-daemon

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.