/srv/irclogs.ubuntu.com/2017/03/08/#ubuntu-kernel.txt

xnoxwhy do we not enable swap accounting by default?12:22
xnox# CONFIG_MEMCG_SWAP_ENABLED is not set12:22
rtgxnox, it can be enabled on the kernel command line12:25
rtgswapaccount=112:26
xnoxrtg, sure, i learned that from all the docker guides. But given that we enable all the cgroups by default, shouldn't we enable swap accounting in the memory cgroup? as far as I understand without swap accounting, containers and/or systemd units can have run-away swap usage.12:27
xnoxwhilst being under the RAM memory limits.12:27
rtgxnox, I don't remember specifically, but the first line of the kernel help text is "Memory Resource Controller Swap Extension comes with its price in12:28
rtg          a bigger memory consumption."12:28
xnoxah, that's counter productive, isn't it =)12:28
rtgother then that, I don't have any particular knowledge12:29
=== ddstreet_away is now known as ddstreet
=== JanC_ is now known as JanC

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!