carstenbauer / ThreadPinning.jl

Readily pin Julia threads to CPU-threads
https://carstenbauer.github.io/ThreadPinning.jl/
MIT License
106 stars 7 forks source link

High-level API for pinning threads loosly to a NUMA domain #67

Closed vchuravy closed 1 year ago

vchuravy commented 1 year ago

In light of the GC threads we might want the option to pin threads loosly to a NUMA domain.

From Carsten:

one can already set the affinity domain accordingly with TP.jl for regular Julia threads. (maybe an even higher-level API similar to pinthreads(:numa) would be good for this, i.e. something like pinthreadsloosely(:numa)