ThreadPinning.jl icon indicating copy to clipboard operation
ThreadPinning.jl copied to clipboard

How to pin GC threads? (Julia >= 1.10)

Open carstenbauer opened this issue 1 year ago • 0 comments

We do have a basic API for pinning threads loosely to, e.g., NUMA domains now (issue https://github.com/carstenbauer/ThreadPinning.jl/issues/67, PR https://github.com/carstenbauer/ThreadPinning.jl/pull/71).

How to access/pin GC threads? Assuming we can't @tspawnat code on them (correct?) we likely need a low-level API in the Julia runtime, right? Similar to https://github.com/xianyi/OpenBLAS/blob/4d0b7fbec04c95c90291938a5974f00673e10e68/driver/others/blas_server.c#L341-L369 perhaps?

(cc @vchuravy)

carstenbauer avatar Jul 04 '23 19:07 carstenbauer