[Mesa-dev] [PATCH 00/20] RadeonSI: Optimized shader variants and other improvements

Jan Ziak 0xe2.0x9a.0x9b at gmail.com
Thu Nov 17 11:09:01 UTC 2016


Marek Olsak wrote:
> I've just realized I might have to limit the compilation of optimized shader variants to only a limited number of threads, so that apps aren't slowed down by this.

As a temporary fix before using a thread pool, the threads can have a
lower priority:

$ man setpriority

setpriority(which, who, min(getpriority(...)+5, 19));

Jan


More information about the mesa-dev mailing list