CA-423173: XAPI underestimates low memory emergency pool size #6855
+2
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The only Xen command-line related to this is
low_mem_virq_limit, which is 64MiB.A new quicktest has shown that we are sometimes off by ~10MiB (between
Host.compute_free_memoryand actual free memory as measured by a call to Xenctrl physinfo) or more, and get failures booting VMs even afterassert_can_boot_heresaid yes. Sometimes the error messages can be quite ugly, internal xenguest/xenopsd errors, instead of HOST_NOT_ENOUGH_FREE_MEMORY.After this change (together with #6854) the new quicktest doesn't fail anymore.
PR to feature branch because this will need testing together with all the other NUMA changes, it may expose latent bugs elsewhere.
The new testcase will get its own PR because it is quite large.