[Engine-devel] What BlockMigrationOnSwapUsagePercentage
Mark Wu
wudxw at linux.vnet.ibm.com
Thu Jun 14 13:59:57 UTC 2012
Hi guys
I got the following error message when I tried to run a VM:
"VM's swap percentage is above the threshold. (check your configuration
parameters for Host Swap Percentage)."
After increasing the parameter BlockMigrationOnSwapUsagePercentage, the
problem disappeared.
But I don't understand the logic here:
IsVMSwapValueLegal
....
return ((swap_total - swap_free - mem_available) * 100 /
physical_mem_mb) <= Config
.<Integer>
GetValue(ConfigValues.BlockMigrationOnSwapUsagePercentage);
So anyone can help me explain it? Thanks a lot!
Mark.
More information about the Engine-devel
mailing list