[systemd-devel] implies "MemoryAccounting=true"
Gao feng
gaofeng at cn.fujitsu.com
Thu Aug 29 20:03:26 PDT 2013
On 08/28/2013 07:45 PM, Zbigniew Jędrzejewski-Szmek wrote:
> On Mon, Aug 26, 2013 at 11:19:54AM +0800, Gao feng wrote:
>> Hi
>>
>> The SYSTEMD.CGROUP(5) said if MemoryLimit=bytes is set for unit, it
>> implies MemeoryAccounting=true for this unit.
>>
>> But seems systemd didn't implement this hint. CPUShares & BlockIO have
>> the same problem, this is a shortage? patch needed?
> Hm, without looking at code actually, I thought that this
> is basically a limitation/requirement of the cgroup controller:
> if a memory share is assigned, memory accounting will be performed
> by the kernelfor it to work.
>
seems you are right, thanks!
More information about the systemd-devel
mailing list