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

Multi-threading #28

Open
tischi opened this issue Oct 22, 2022 · 1 comment
Open

Multi-threading #28

tischi opened this issue Oct 22, 2022 · 1 comment

Comments

@tischi
Copy link

tischi commented Oct 22, 2022

Usually I over-commit with 16 threads for BDV rendering and fetching of the sources.
My mac only has 4 workers.

But for the kdTree based sources I am unsure now, because there it actually needs to compute something. I cannot separate this out, there is only one number of threads for the rendering.

My feeling is to just use Runtime.getRuntime().availableProcessors() - 1 for everything now even if it may be a bit slower, because I am afraid things may hang if there are too many threads?!

What do you think?

@constantinpape
Copy link
Contributor

Can you check beforehand if we have spot sources and oversubscribe if we don't have any?

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

2 participants