commit | 8fa8a6193c3e100aa5add311f6ea38bf37fed4f0 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Oct 31 00:04:23 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Oct 31 00:28:13 2012 +0400 |
tree | 4210626417fb88212f55d31cac4389960b131fe0 | |
parent | 8cf2db4a2ad78bd3d4fed82a273fa36aaf90931a [diff] |
etc/init.d/vz* stop: add pre-stop stage (1) Before stopping/suspending all CTs, set the same value for their cpuunits for them to have equal abilities to stop. Before this patch, we were setting cpuunits for CTs one by one, and high cpuunits value for some CTs that stop later might cause a slowdown. (2) Unset cpulimit only before stopping CT (doesn't make sense to do before suspending). Signed-off-by: Kir Kolyshkin <kir@openvz.org>