Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinning GC threads #73

Closed
carstenbauer opened this issue Jul 4, 2023 · 2 comments
Closed

Pinning GC threads #73

carstenbauer opened this issue Jul 4, 2023 · 2 comments

Comments

@carstenbauer
Copy link
Owner

carstenbauer commented Jul 4, 2023

We do have a basic API for pinning threads loosely to, e.g., NUMA domains now (issue #67, PR #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
Copy link
Owner Author

carstenbauer commented Jul 12, 2024

The new API will be in Julia 1.11: JuliaLang/julia#53402

See the related issue #95

@carstenbauer carstenbauer changed the title How to pin GC threads? (Julia >= 1.10) Pinning GC threads Jul 12, 2024
@carstenbauer
Copy link
Owner Author

Beta support has landed on the main branch. However, it doesn't seem possible to pin the last GC thread somehow. We'll have to figure this out later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant