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

Starting multiple devices simultaneously results in memory peak #8

Open
maggie44 opened this issue Oct 24, 2022 · 0 comments
Open

Starting multiple devices simultaneously results in memory peak #8

maggie44 opened this issue Oct 24, 2022 · 0 comments

Comments

@maggie44
Copy link
Contributor

When launching many devices at once, the simultaneous launch creates a memory peak.

'BV maintains two trees of pages, one stable, one unstable. Volatile pages aren't scanned for merging, so during bootup, all of these machines consume approximately N times the allocated memory space. After things cool down, KSM starts working. We could vastly increase the number of machines that can run on a single host by delaying each launch by a reasonable amount of time to allow KSM to merge pages for each new host without becoming overloaded. Maybe a minute or so, depending on boot speed and whatnot'.

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

1 participant