James Fehlig changed bug 1214845
What Removed Added
CC   mkoutny@suse.com

Comment # 11 on bug 1214845 from James Fehlig
(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: