Re: Showing /sys/fs/cgroup/memory/memory.stat very slow on some machines

From: Bruce Merry
Date: Thu Jul 26 2018 - 02:41:38 EST

On 26 July 2018 at 02:55, Singh, Balbir <bsingharora@xxxxxxxxx> wrote:
> Do you by any chance have use_hierarch=1? memcg_stat_show should just rely on counters inside the memory cgroup and the the LRU sizes for each node.

Yes, /sys/fs/cgroup/memory/memory.use_hierarchy is 1. I assume systemd
is doing that.

Bruce Merry
Senior Science Processing Developer
SKA South Africa