FS#35681 - [linux] Can't read/write memory.memsw.* cgroup files
Attached to Project:
Arch Linux
Opened by Garrett Smith (gar1t) - Thursday, 06 June 2013, 18:33 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 06 June 2013, 21:08 GMT
Opened by Garrett Smith (gar1t) - Thursday, 06 June 2013, 18:33 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 06 June 2013, 21:08 GMT
|
Details
It's not possible to configure memory swap limits for
cgroups as of 3.9.4-1.
This outlines the issue: http://lkml.indiana.edu/hypermail/linux/kernel/1206.3/01303.html The fix is to enable CONFIG_MEMCG_SWAP_ENABLED, which is currently not enabled: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/config.x86_64?h=packages/linux#n152 |
This task depends upon
Comment by Thomas Bächler (brain0) -
Thursday, 06 June 2013, 21:08 GMT
Enabling swap accounting has a high price. If you need it, enable
it using the 'swapaccount=1' command line option - the reasoning
behind this is detailed in the help of the
CONFIG_MEMCG_SWAP_ENABLED ("Memory Resource Controller Swap
Extension enabled by default") option.