aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-11 08:59:54 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-11 08:59:54 +0000
commitb501c6cfa8a14a5440a776defd323174f19f3c61 (patch)
treef9e82a0103df561fc2c13a61948016663b66b8ea /extras
parente898e6e23eb3e3c4969d965a05be149ecbc60534 (diff)
downloadxen-b501c6cfa8a14a5440a776defd323174f19f3c61.tar.gz
xen-b501c6cfa8a14a5440a776defd323174f19f3c61.tar.bz2
xen-b501c6cfa8a14a5440a776defd323174f19f3c61.zip
tools: improve NUMA guest placement when ballooning
the "guest to a single NUMA node" constrain algorithm does not work well when we do ballooning. Ballooning and NUMA don't play together anyway, as Dom0 and thus ballooning is not NUMA aware, I am working on this but it will not be ready for the Xen 4.0 release window. The usual ballooning situation will result in an empty candidate list, as no node has enough free memory to host the guest. In this case the code will simply pick the first node: again and again, because all nodes without enough memory will be ultimately penalized with the same maxint value (regardless of the actual load). The attached patch will change this to use a relative penalty in case of not-enough memory, so that low-load low-memory nodes will be used at one point. A half loaded node has shown to be a good value, as an unbalanced system is much worse than non-local memory access for guests. Regardless of that you should restrict the Dom0 on a NUMA system to a reasonable memory size, so that ballooning is not necessary most of the time. In this case the guest's memory will be NUMA local. Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions