Re: [PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-07-15 Thread Koenig, Christian
Am 13.07.19 um 22:24 schrieb Felix Kuehling: Am 2019-04-30 um 1:03 p.m. schrieb Koenig, Christian: The only real solution I can see is to be able to reliable kill shaders in an OOM situation. Well, we can in fact preempt our compute shaders with low latency. Killing a KFD process will do

Re: [PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-07-13 Thread Felix Kuehling
Am 2019-04-30 um 1:03 p.m. schrieb Koenig, Christian: >>> The only real solution I can see is to be able to reliable kill shaders >>> in an OOM situation. >> Well, we can in fact preempt our compute shaders with low latency. >> Killing a KFD process will do exactly that. > I've taken a look at

Re: [PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-05-02 Thread Koenig, Christian
Am 30.04.19 um 19:25 schrieb Kuehling, Felix: > [SNIP] To sum it up the requirement of using almost all system memory by a GPU is simply not possible upstream and even in any production system rather questionable. >>> It should be doable with userptr, which now uses unpinned pages

Re: [PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-04-30 Thread Kuehling, Felix
On 2019-04-30 1:03 p.m., Koenig, Christian wrote: > Am 30.04.19 um 17:36 schrieb Kuehling, Felix: >> On 2019-04-30 5:32 a.m., Christian König wrote: >>> [CAUTION: External Email] >>> >>> Am 30.04.19 um 01:16 schrieb Kuehling, Felix: On 2019-04-29 8:34 a.m., Christian König wrote: > Am

Re: [PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-04-30 Thread Koenig, Christian
Am 30.04.19 um 17:36 schrieb Kuehling, Felix: > On 2019-04-30 5:32 a.m., Christian König wrote: >> [CAUTION: External Email] >> >> Am 30.04.19 um 01:16 schrieb Kuehling, Felix: >>> On 2019-04-29 8:34 a.m., Christian König wrote: Am 28.04.19 um 09:44 schrieb Kuehling, Felix: > From: Kent

Re: [PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-04-30 Thread Kuehling, Felix
On 2019-04-30 5:32 a.m., Christian König wrote: > [CAUTION: External Email] > > Am 30.04.19 um 01:16 schrieb Kuehling, Felix: >> On 2019-04-29 8:34 a.m., Christian König wrote: >>> Am 28.04.19 um 09:44 schrieb Kuehling, Felix: From: Kent Russell GTT size is currently limited to

Re: [PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-04-30 Thread Christian König
Am 30.04.19 um 01:16 schrieb Kuehling, Felix: On 2019-04-29 8:34 a.m., Christian König wrote: Am 28.04.19 um 09:44 schrieb Kuehling, Felix: From: Kent Russell GTT size is currently limited to the minimum of VRAM size or 3/4 of system memory. This severely limits the quanitity of system

Re: [PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-04-29 Thread Kuehling, Felix
On 2019-04-29 8:34 a.m., Christian König wrote: > Am 28.04.19 um 09:44 schrieb Kuehling, Felix: >> From: Kent Russell >> >> GTT size is currently limited to the minimum of VRAM size or 3/4 of >> system memory. This severely limits the quanitity of system memory >> that can be used by ROCm

Re: [PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-04-29 Thread Christian König
Am 28.04.19 um 09:44 schrieb Kuehling, Felix: From: Kent Russell GTT size is currently limited to the minimum of VRAM size or 3/4 of system memory. This severely limits the quanitity of system memory that can be used by ROCm application. Increase GTT size to the maximum of VRAM size or system

[PATCH 27/27] drm/amdgpu: Fix GTT size calculation

2019-04-28 Thread Kuehling, Felix
From: Kent Russell GTT size is currently limited to the minimum of VRAM size or 3/4 of system memory. This severely limits the quanitity of system memory that can be used by ROCm application. Increase GTT size to the maximum of VRAM size or system memory size. Signed-off-by: Kent Russell