| Summary: | Enabling CONFIG_MEMCG | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Erwan VELU <erwanaliasr1> |
| Component: | RPM Packages | Assignee: | Thomas Backlund <tmb> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | dag |
| Version: | 4 | ||
| Target Milestone: | Mageia 4 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | kernel-desktop-3.12.8-2.mga4-1-1.mga4 | CVE: | |
| Status comment: | |||
|
Description
Erwan VELU
2014-02-06 11:34:02 CET
Erwan VELU
2014-02-06 11:52:17 CET
Target Milestone:
--- =>
Mageia 4
Erwan VELU
2014-02-06 11:52:26 CET
Hardware:
i586 =>
All Please find the new checkconfig with the CONFIG_MEMCG [root@localhost edeploy-lxc]# lxc-checkconfig --- Namespaces --- Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled User namespace: enabled Network namespace: enabled Multiple /dev/pts instances: enabled --- Control groups --- Cgroup: enabled Cgroup clone_children flag: enabled Cgroup device: enabled Cgroup sched: enabled Cgroup cpu account: enabled Cgroup memory controller: enabled Cgroup cpuset: enabled --- Misc --- Veth pair device: enabled Macvlan: enabled Vlan: enabled File capabilities: enabled My diff looks like : --- /boot/config-3.12.8-desktop-2.mga4 2014-01-24 14:58:28.000000000 +0100 +++ /boot/config-3.12.8-2.mga4custom 2014-02-06 12:10:03.487924034 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 3.12.8-desktop-2.mga4 Kernel Configuration +# Linux/x86 3.12.8-2.mga4custom Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y @@ -150,7 +150,10 @@ CONFIG_PROC_PID_CPUSET=y CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y -# CONFIG_MEMCG is not set +CONFIG_MEMCG=y +CONFIG_MEMCG_SWAP=y +CONFIG_MEMCG_SWAP_ENABLED=y +CONFIG_MEMCG_KMEM=y # CONFIG_CGROUP_HUGETLB is not set # CONFIG_CGROUP_PERF is not set CONFIG_CGROUP_SCHED=y @@ -168,6 +171,7 @@ CONFIG_NET_NS=y CONFIG_UIDGID_STRICT_TYPE_CHECKS=y CONFIG_SCHED_AUTOGROUP=y +CONFIG_MM_OWNER=y # CONFIG_SYSFS_DEPRECATED is not set CONFIG_RELAY=y CONFIG_BLK_DEV_INITRD=y
Manuel Hiebel
2014-02-06 16:36:31 CET
Assignee:
bugsquad =>
tmb The trouble with enabling MEMCG is that it adds memory and fork/exit overhead... I'm not sure we want that... atleast on desktop kernels... maybe only for server x86_64 kernel ... enabled is -server kernels in kernel-3.12.13-1.mga4/5 currently building Status:
NEW =>
RESOLVED Thanks a lot. Excuse me for returning to this, but is the overhead really significant? I am runnuing a MGA5 here and really getting fed up with firefox starving out my 6GB of memory. Using a cgroup for firefox would solve the problem , but not wo. MEMCG. CC:
(none) =>
dag |