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

Recommend a factory config #596

Open
annawoodard opened this issue Jun 7, 2017 · 1 comment
Open

Recommend a factory config #596

annawoodard opened this issue Jun 7, 2017 · 1 comment

Comments

@annawoodard
Copy link
Contributor

We have a lot of fancy resource monitoring now so that if a user's initial guess is wrong, we update categories accordingly. But if the user's initial factory configuration is wrong, they still have to look at their plotting page or logs and manually translate that information into an optimal factory configuration. We could add a command such as:

lobster factory config.py factory.json

That would open up factory.json and update cores, memory, and disk with the optimal values based on the best guesses from the resource monitor, with a simple algo for trying to get the 'lowest common denominator' of resources across categories (although eventually we may want to talk to the cctools team about the possibility of having multiple core/memory/disk combinations in a single factory to optimize packing). We could allow the user to pass a cores argument so that they could have a higher-core config version for the ND pool (where we're running Parrot, and caching matters more) vs the T3 pool.

@matz-e
Copy link
Member

matz-e commented Jun 13, 2017

Totally in! We could even do that on the fly? I think that the cores option would be a must-be. I think we still want to minimize the amount of workers to not overload communication with the master, even when running on our T3.

How about providing a few options to the user to choose from? It could be max resources adjusted for cores, or a mix with proportional allotment, i.e., lowest common denominator adjusted for cores with proportional adjustment according to expected tasks per category? Display them and have the user choose from 1-n, as they still have the best idea what will fit on the cluster?

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