-
Notifications
You must be signed in to change notification settings - Fork 66
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
Dynamic allocation / ballooning memory? #76
Comments
That's a great idea to implement free page reporting, and that's part of recent versions of Virtio and VMWare balloon devices. I'll look into that (At last a good virtio device with no direct HW replacements, lol). There are also other good memory saving techniques in RVVM: KSM (Page merging, could also reclaim free pages in some cases) and transparent caches (Guest caches may be reclaimed by host). Be aware however that explicit ballooning on host demand (Initial usecase of Virtio Balloon device) isn't that great of a concept: You force the guest to use less memory, and it most likely will start swapping / will OOM. It is much better to have large amount of virtual memory (zram/swap) on the host - from efficiency standpoint. Otherwise you'll just make pressure on the guest and make it suffer. |
which is what makes it capable of returning unused paged back to the os eg, its current memory usage without baloon would be its eg
|
this may be useful a detailed overview of traditional mem balloon and virtio mem balloon / virtio-pmem / virtio-mem ect (what it is, what it does, how they work, ect) also details free page hinting and many other features related to guest<->host memory management some parts can be very detailed and others can lack detail for simplification virtio related #149 might also be related to #147 |
Another obvious idea: implement support for minimum and maximum memory and dynamic allocation / ballooning.
The text was updated successfully, but these errors were encountered: