-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Correctly calculate free memory in the system #3
Labels
Milestone
Comments
marmarek
added
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
C: core
P: major
Priority: major. Between "default" and "critical" in severity.
labels
Mar 8, 2015
Modified by joanna on 9 Apr 2010 23:40 UTC |
Comment by joanna on 10 Apr 2010 12:52 UTC |
Comment by joanna on 10 Apr 2010 13:02 UTC yum update qubes-core-dom0 |
This was referenced Mar 8, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reported by wikimaster on 6 Apr 2010 16:59 UTC
Currently
qubes.py
prevents starting a VM if the memory available for Dom0 was to go below a defined limit (700MB). On some systems, when Dom0 becomes short on memory (<500MB), and Dom0 starts using the swap file, the overall system performance drops down dramatically. This is most likely caused by the reduced filesystem caching, and is very apparent on systems with fast SSD drives, enabled full disk encryption, and _without_ the AES instruction in the CPU (in which case CPU is heavily loaded doing the crypto).The
QubesVM.start()
method calculates the memory that will be left to Dom0 after the start of a new VM using this simple method:... and if
dom0_mem_new
is too small it raises an exception, whichqvm-run
handles and displays a message to the user that she should stop some running VMs before continuing.However when the users stops a VM, Xen doesn't return the memory back to Dom0. This, in turn, makes it impossible for the user to start any new VM, without rebooting the system.
The proper solution should account for this "hidden" memory that has been freed when a user stopped a VM, and is available to other domains, but has not be returned to Dom0.
Migrated-From: https://wiki.qubes-os.org/ticket/3
The text was updated successfully, but these errors were encountered: