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

speed up node cleanup for big clusters #123

Closed
wants to merge 3 commits into from

Conversation

robbyt
Copy link
Contributor

@robbyt robbyt commented Jul 19, 2012

When working with cluster sizes > 200 nodes, the known_hosts and /etc/hosts cleanup is extremely slow. I'm currently working with a cluster of 400 nodes, and removing a single node takes almost 45mns when starcluster is run from a m1.large instance.

With this change, the remove node takes 4mns on my 400 node cluster, with the same end results.

@nkrumm
Copy link

nkrumm commented Oct 29, 2013

Reviving this from the graveyard, as I now am also running into this problem. @robbyt, have you made any further progress on this, noted any bugs, breaking changes with current codebase, etc? It would be great if a similar approach could be used for adding the nodes as well... I may implement this later this week. Thanks!

@robbyt
Copy link
Contributor Author

robbyt commented Nov 1, 2013

Hi @nkrumm - this patch is very old and might not be needed for newer versions of Starcluster.

The Starcluster code for handling /etc/hosts used to be very slow- @jtriley would know more about the current state of the /etc/hosts code in Startcluster.

@alexbw
Copy link

alexbw commented Jul 15, 2014

+1

@robbyt robbyt closed this Jan 18, 2024
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

Successfully merging this pull request may close these issues.

3 participants