Re: [PATCH] [RFC]drm/ttm: fix scheduling balance

2018-01-25 Thread Thomas Hellstrom
Hi, On 01/25/2018 06:30 PM, Christian König wrote: Am 25.01.2018 um 17:47 schrieb Thomas Hellstrom: On 01/25/2018 03:57 PM, Thomas Hellstrom wrote: On 01/25/2018 10:59 AM, Chunming Zhou wrote: there is a scheduling balance issue about get node like: a. process A allocates full memory and use

Re: [PATCH] [RFC]drm/ttm: fix scheduling balance

2018-01-25 Thread Christian König
Am 25.01.2018 um 17:47 schrieb Thomas Hellstrom: On 01/25/2018 03:57 PM, Thomas Hellstrom wrote: On 01/25/2018 10:59 AM, Chunming Zhou wrote: there is a scheduling balance issue about get node like: a. process A allocates full memory and use it for submission. b. process B tries to allocates me

Re: [PATCH] [RFC]drm/ttm: fix scheduling balance

2018-01-25 Thread Thomas Hellstrom
On 01/25/2018 03:57 PM, Thomas Hellstrom wrote: On 01/25/2018 10:59 AM, Chunming Zhou wrote: there is a scheduling balance issue about get node like: a. process A allocates full memory and use it for submission. b. process B tries to allocates memory, will wait for process A BO idle in eviction

Re: [PATCH] [RFC]drm/ttm: fix scheduling balance

2018-01-25 Thread Thomas Hellstrom
On 01/25/2018 10:59 AM, Chunming Zhou wrote: there is a scheduling balance issue about get node like: a. process A allocates full memory and use it for submission. b. process B tries to allocates memory, will wait for process A BO idle in eviction. c. process A completes the job, process B evict

Re: [PATCH] [RFC]drm/ttm: fix scheduling balance

2018-01-25 Thread Christian König
Am 25.01.2018 um 10:59 schrieb Chunming Zhou: there is a scheduling balance issue about get node like: a. process A allocates full memory and use it for submission. b. process B tries to allocates memory, will wait for process A BO idle in eviction. c. process A completes the job, process B evic

[PATCH] [RFC]drm/ttm: fix scheduling balance

2018-01-25 Thread Chunming Zhou
there is a scheduling balance issue about get node like: a. process A allocates full memory and use it for submission. b. process B tries to allocates memory, will wait for process A BO idle in eviction. c. process A completes the job, process B eviction will put process A BO node, but in the mean