Re:Docker at Spotify
by ldng on Thursday January 09, 2014 @10:27AM
(#7030948)
Aren't cgroups be more then a hitting ? Or do you mean that by default does not setup strict enough cgroups ?
[ Parent
| on HN ]
Re:Docker at Spotify
by ermintrude on Thursday January 09, 2014 @11:35AM
(#7031408)
It seems cpu.shares allow a proportional amount of CPU to be allocated, but LXC may use up to 100% of all idle CPUs. You can't specify a hard-limit of "only use 1GHz when I have a 2GHz CPU" apparently (according to here: http://comments.gmane.org/gmane.linux.kernel.containers.lxc....). So I guess that could mean that if the containers are using 100% of all CPUs, there wouldn't be resources left e.g. for monitoring on the host? Anyone got any experience with this?