https://bugzilla.suse.com/show_bug.cgi?id=1214845 https://bugzilla.suse.com/show_bug.cgi?id=1214845#c11 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mkoutny@suse.com --- Comment #11 from James Fehlig <jfehlig@suse.com> --- (In reply to Chris from comment #9)
How can I check if the memory controller is available? It is only available if I leave the DefaultMemoryAccounting to yes? What about the performance penalties?
For lxc, the memory controller needs to be available in /sys/fs/cgroup/machine.slice/. You can check the 'cgroup.controllers' file for controllers available at any point in the cgroup hierarchy. E.g. # cat /sys/fs/cgroup/machine.slice/cgroup.controllers memory pids I'm not familiar enough with cgroups to comment on performance penalties associated with DefaultMemoryAccounting=yes. I can only say there are penalties as per the comment in /usr/lib/systemd/system.conf.d/__20-defaults-SUSE.conf. Perhaps Michal can shed some light. -- You are receiving this mail because: You are on the CC list for the bug.