In cgroup v1, we can read memory.max_usage_in_bytes to get the maximum memory usage during program runtime. But I didn't find similar function in cgroup v2.
Can cgroup v2 provide the same function? Or can we only do it by reading memory.current frequently (say every 10ms)?
English is not my native language; please excuse typing errors.
memory.current?/sys/fs/cgroup/memory/memory.max_usage_in_bytesto determine max memory consumption at the end of the jobs.. Would be nice if this could be added back