xnox | why do we not enable swap accounting by default? | 12:22 |
---|---|---|
xnox | # CONFIG_MEMCG_SWAP_ENABLED is not set | 12:22 |
rtg | xnox, it can be enabled on the kernel command line | 12:25 |
rtg | swapaccount=1 | 12:26 |
xnox | rtg, 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 |
xnox | whilst being under the RAM memory limits. | 12:27 |
rtg | xnox, I don't remember specifically, but the first line of the kernel help text is "Memory Resource Controller Swap Extension comes with its price in | 12:28 |
rtg | a bigger memory consumption." | 12:28 |
xnox | ah, that's counter productive, isn't it =) | 12:28 |
rtg | other then that, I don't have any particular knowledge | 12: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!