[Mesa-dev] [Bug 97102] [dri][swr] stack overflow / infinite loop with GALLIUM_DRIVER=swr

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 12 21:13:03 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=97102

--- Comment #11 from Bruce Cherniak <bruce.cherniak at intel.com> ---
As Tim suggests, pruning empty nodes is probably the best solution for the
crash.

For performance, however, I'm not sure how many cores to expose in your case. 
cpuinfo shows that there are 4 threads across 2 cores, which we detect as 2
cores, with 2 hyperthreads.  Due to the way OpenSWR loads the processor, we
have found that not using the hyperthreads as OpenSWR workers yields the best
performance.  This may or may not be the case with your processor.

Something you can try is to set the environment variable
KNOB_MAX_THREADS_PER_CORE=0.  This will allow OpenSWR to use all 4 threads.

Please report back on how this affects performance.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170112/6b6fb7b9/attachment.html>


More information about the mesa-dev mailing list