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

Number of cpus needs better management #194

Closed
ajstewart opened this issue Jul 14, 2020 · 4 comments
Closed

Number of cpus needs better management #194

ajstewart opened this issue Jul 14, 2020 · 4 comments
Assignees
Labels
discussion topic to discuss openly enhancement New feature or request

Comments

@ajstewart
Copy link
Contributor

Currently the number of cpus in the parallelised parts is somewhat arbitrary, it would be good to have control in the user config, or in the non user settings to manage concurrent jobs.

@ajstewart ajstewart added the enhancement New feature or request label Jul 14, 2020
@ajstewart ajstewart added the discussion topic to discuss openly label Jul 14, 2020
@srggrs
Copy link
Contributor

srggrs commented Jul 15, 2020

Not sure why we need this. Anyhow the number of CPUs is set always the total logical cores -1. Why you would like to control this?

@ajstewart
Copy link
Contributor Author

It's usually nice to have some control over it. E.g. running it locally maybe I don't want it to use all cores so it would be good to have an easy user option to set the number. I agree if you have a dedicated machine then you can get away with the n - 1.

To me it seems standard to include some sort of ncpu option to the user.

@ajstewart
Copy link
Contributor Author

I haven't tested it in this case but in the past I've had diminishing returns with machines that have hyper threading enabled as well, so sometimes it's more efficient to use less.

@ddobie
Copy link
Contributor

ddobie commented Oct 17, 2024

Closing as outdated - #750 is more up-to-date.

@ddobie ddobie closed this as completed Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion topic to discuss openly enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants