[Mesa-dev] [PATCH 12/14] swr: build on FreeBSD/DragonFlyBSD
Chuck Atkins
chuck.atkins at kitware.com
Thu Jan 18 20:51:27 UTC 2018
Hi Emil, Greg,
> > (Needs CPU topology detection to actually work)
>
Does it? Or does it just need the topology detection for the current
"default" behavior for thread placement? The default behavior for swr is
to use the cpu topology info to place one thread per core and pin it to
that core. However, if you instead set the env var
KNOB_MAX_WORKER_THREADS=N, it will use a thread pool of N threads with no
regard to CPU topology (this is actually the mode I typically use it in
actually for HPC environments where we run multiple processes per node).
IMHO it might be better to drop the patch, until its actually working.
> There's little point in building it if one cannot use it.
>
I would suggest instead of going through the hoops to determine topology,
simply disable or ignore the topology settings on FreeBSD and just use the
floating thread-pool configuration exclusively.
- Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180118/076e6fa8/attachment-0001.html>
More information about the mesa-dev
mailing list