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

Skip instance_type selection if type is already set #262

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

konstantinbest
Copy link
Contributor

The current solution for figuring out the best instance_type is not scalable for the disaster recovery case because we are parsing a 70 MB big json file in parallel for every VM. We are currently working on a different solution to prefill the instance_type for the disaster recovery case. We'll keep the functionality in igvm for now to be able to build VMs in AWS without the need of a prefill.

# 70 MB big json file in parallel for every VM. We are currently working
# on a different solution to prefill the instance_type for the disaster
# recovery case. We'll keep the functionality in igvm for now to be able
# to build VMs in AWS without the need of a prefill.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is exactly the problem here? Is it loading the json file into Python structures or parsing those structures?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The memory footprint of loading the file is too big. Building 10 machines in parallel that way, the server allocates more then 2GiB of memory and we want to be able to build at least 50 VMs in parallel on one server.

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.

2 participants