George Shuklin
2012-Jul-07 03:03 UTC
[Pkg-xen-devel] Bug#675052: Problem with dynamic memory
Good day. Continue to research that issue. Current state: PV guest, static_min=500MiB, static_max=1GiB, dynamic=800MiB, domid=2 manually create /local/domain/2/control/feature_balloon. Do xe vm-memory-target-set uuid=... target=650MiB squeezed debug: 20120707T03:00:57Z Request for squeezed/balance-memory/3c46cc6a-c1df-deab-1aed-0b0ad939961b 20120707T03:00:57Z listdir /squeezed/rpc/request/balance-memory/3c46cc6a-c1df-deab-1aed-0b0ad939961b [430.86] change_host_free_memory required_mem = 9216 KiB [430.86] total_range = 0 gamma = 1.000000 gamma' = inf [430.86] Total additional memory over dynamic_min = 22547476 KiB; will set gamma = 1.00 (leaving unallocated 0 KiB) [430.86] Maximum possible free memory if all active domains balloon down to dynamic_min = 22556692 [430.86] current host free mem = 22556692 KiB (aiming for 9216 KiB);; all domain targets reached; however about to adjust targets; allocation phase [430.86] F22556692 S0 R0 T25156584; 0 T1641472 A1641472 M0 Bxx; 2 T614400 A614400 M614400 Bx^ [430.86] Xenctrl.domain_setmaxmem domid=2 max=665600 (was=614400) [431.87] total_range = 0 gamma = 1.000000 gamma' = inf [431.87] Total additional memory over dynamic_min = 22496276 KiB; will set gamma = 1.00 (leaving unallocated 0 KiB) [431.87] Maximum possible free memory if all active domains balloon down to dynamic_min = 22505492 [431.87] current host free mem = 22505492 KiB (aiming for 9216 KiB); cannot allocate enough; all domain targets reached; allocation phase [431.87] F22505492 S0 R0 T25156584; 0 T1641472 A1641472 M0 Bxx; 2 T665600 A665600 M665600 Bxx [431.87] Failed to free 9216 KiB of memory: operation impossible within current dynamic_min limits of balloonable domains [431.87] balance memory caught: Squeeze.Cannot_free_this_much_memory(_, _) I've not completely understand last lines. Host contains more than enough memory: xentop shows 22505492k free for host memory. dom0_mem is about 1.5GiB.
Apparently Analagous Threads
- "Operation not permitted" error when using "xe vm-start"
- xe CLI: Error code: MEMORY_CONSTRAINT_VIOLATION - trial XenServer 6.0.2 image has a bug
- Bug#675052: xcp-xapi: xe vm-memory-target-set does not write target to xenstore
- [XCP] Strange bug this avaible memory for guests
- crash : 2.7.0 after installing it (PR#12143)